Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to create backups from command line using existing profiles #556

Merged
merged 30 commits into from
Dec 16, 2020
Merged

Add ability to create backups from command line using existing profiles #556

merged 30 commits into from
Dec 16, 2020

Conversation

samuel-w
Copy link
Contributor

@samuel-w samuel-w commented Jul 26, 2020

Syntax:

  --create PROFILE [PROFILE ...]
                        Create a backup in the background using the given profile(s). Vorta must already be running for this to work.

It requires an existing instance of Vorta to be running in the background.

We should not add autocomplete support, since this is meant for use in scripts, not from the command line directly (also it takes extra work and more libraries).

Fixes #364 and sorta kinda #233 and maybe also #438

@m3nu m3nu self-assigned this Aug 10, 2020
@m3nu m3nu removed their assignment Aug 30, 2020
@codecov-io
Copy link

codecov-io commented Nov 21, 2020

Codecov Report

Merging #556 (05579b2) into master (19b4946) will decrease coverage by 0.50%.
The diff coverage is 26.82%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #556      +/-   ##
==========================================
- Coverage   74.48%   73.98%   -0.51%     
==========================================
  Files          53       53              
  Lines        3422     3456      +34     
==========================================
+ Hits         2549     2557       +8     
- Misses        873      899      +26     
Impacted Files Coverage Δ
src/vorta/__main__.py 0.00% <0.00%> (ø)
src/vorta/borg/create.py 48.93% <0.00%> (-0.53%) ⬇️
src/vorta/application.py 57.77% <26.31%> (-11.16%) ⬇️
src/vorta/utils.py 60.86% <100.00%> (+0.21%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19b4946...05579b2. Read the comment docs.

src/vorta/application.py Outdated Show resolved Hide resolved
@m3nu m3nu self-assigned this Dec 15, 2020
@m3nu m3nu merged commit a4b49e7 into borgbase:master Dec 16, 2020
@samuel-w samuel-w deleted the CLICreate branch December 16, 2020 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run commands from the CLI (single app)
3 participants