-
Notifications
You must be signed in to change notification settings - Fork 142
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
ionice+nice for backups on linux #285
Comments
What's |
Quoting from the GitHub:
So (an attempt is made such that) the disk cache is maintained while performing e.g. backup tasks to minimise impact on performance. |
So we are talking about this: https://github.com/Feh/nocache borg already has that fadvise-dontneed functionality built-in. |
Oh that's fantastic. So only ionice/nice, or is that also built in? |
ionice is not built in (there is only some bw limiting for ssh: repos). but guess ionice is system-specific (while fadvise is cross-platform). |
Why has this been closed? Is there a way to use Vorta for scheduling regular backups with lowest ioniceness and niceness? I haven't found an option in Vorta 0.8.9. While I can set the niceness and ioniceness for borg from the terminal, these option have to be prefixed to borg create. The Vorta GUI only seems to allow postfixing. |
Nice is only supported by Linux. |
Maybe #379 can allow passing borg commands to other commands. |
The closest thing I could spot there was the suggestion for borg arguments, which I don't think would allow for setting niceness and ioniceness. Anything specific you were thinking of from that issue? |
Is your feature request related to a problem? Please describe.
I want to issue run borg with a specified (io)niceness and nocache e.g.:
nocace ionice -n 7 nice borg [...]
Describe the solution you'd like
Have a option to specify commands to prepend to the borg command.
Related/other issues
#96 #272 #274 all ask for adding additional commands/arguments to borg commands, but they all seem targeted to appending, instead of 'prepending'.
The text was updated successfully, but these errors were encountered: