Open RlndVt opened 5 years ago
What's nocache
for exactly?
Quoting from the GitHub:
The nocache tool tries to minimize the effect an application has on the Linux file system cache.[...]
Use case: backup processes that should not interfere with the present state of the cache.
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.
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'.