4 ms·
Can this be used to incrementally backup the whole / (root) directory? Or is this only for non-system folders with data?
by cadence- 5y ago
Can this be used to incrementally backup the whole / (root) directory? Or is this only for non-system folders with data?
- lucb1e 5y ago> Can this be used to incrementally backup the whole / (root) directory? That's how I use it (with --one-file-system), but I haven't tried restoring that. I just check that my data is there (e.g. open some pictures) and call it a day. For me, if I need to reinstall the system anyhow (super rare), I'm also happy to just reinstall the OS, do a bunch of apt installs, restore a few files in /etc perhaps, and put my homedir back. So I can't vouch for whether it will store all special attributes on system files, but I would expect that common things like owner/group/mode are there. Fwiw, I once rsync'd a remote root partition to the current machine and that worked. Would not recommend to depend on this, but it apparently doesn't take much to be able to restore the root and boot from it :). You can also quite easily test this in a VM, if you'd like to make sure it works.