-
Notifications
You must be signed in to change notification settings - Fork 140
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
FR: More descriptive message when there are no sources. #1463
Comments
Sounds like a good pre-run check. Like checking for an available Borg version. |
I would like to work on this issue, may you guide me about it, so I could get started? |
Go ahead! You could add this as pre-run check in |
This check should run for |
Good call, it seems like there are a few more steps to reproduce this. You will have to add a second profile and add sources to it. Then try to make a backup with the profile that doesn't have any sources configured. |
Fixes #1463. This makes the code count the database rows for the current profile only. Previously one could run a backup without any sources when one had sources configured in a different profile. * src/vorta/borg/create.py (BorgCreateJob.prepare)
Fixes borgbase#1463. This makes the code count the database rows for the current profile only. Previously one could run a backup without any sources when one had sources configured in a different profile. * src/vorta/borg/create.py (BorgCreateJob.prepare)
When the user didn't configure any sources, the message
borg: error: Need at least one PATH argument
.Instead vorta should show something a long the lines of
Select sources to backup first
The text was updated successfully, but these errors were encountered: