cytopia / linux-timemachine

Rsync-based OSX-like time machine for Linux, MacOS and BSD for atomic and resumable local and remote backups

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make use of ionice/nice to allow less invasive backups

mzpqnxow opened this issue · comments

commented

@cytopia It would be nice to have a default and/or an option to ionice/nice the backup operation to reduce lag on the system during a backup. It is a pretty simple thing to add, I can PR it if you want, maybe you prefer to put it in?

commented

No pun intended re: 'it would be nice' :)

commented

One way to implement this without invoking nice/ionice in the linux-timemachine itself is using the method described here

I'm not sure what a good default would be, if there even is such a thing...

Not sure if this will be compatible with BSD/MacOS. I am also trying to keep the script as small as possible to avoid potential bugs, as backing up should be trustworthy.

@mzpqnxow I will close this as the behaviour on BSD and MacOS is not clear and it would make the code too complex. If you think this is a really needed feature, please let me know and I will re-open this issue and see if more people wish to see this happening.

commented

@cytopia I agree with you, I hadn't considered compatibility