3 ms·
Yeah, I just tried that and it works with restic, at least in my quick tests of it: slept the computer with restic in mid-scan, and it was ok resuming on wake a
by ckcheng 6y ago
Yeah, I just tried that and it works with restic, at least in my quick tests of it: slept the computer with restic in mid-scan, and it was ok resuming on wake a few minutes later.
A simple crontab entry to run restic every hour should work. I tested it running every minute and that worked fine.
If there's a chance that the laptop would sleep and stop restic in a mid-backup that was started by cron, then this[1] suggestion would probably be sufficient to work around that:
[1]: https://news.ycombinator.com/item?id=25552894 https://news.ycombinator.com/item?id=25552894
What I'm not sure about is whether restic would resume backing up a large file from where it left off if interrupted, or if it must re-backup the entire file.