4 ms·
A major factor why I wouldn't want to use Kopia (I looked into it) ist that it is opinionated with regards to how your system is set up (old-school unix FS layo
by btschaegg 4y ago
A major factor why I wouldn't want to use Kopia (I looked into it) ist that it is opinionated with regards to how your system is set up (old-school unix FS layouts in a "pets, not cattle" way). It assumes the location of config files and does not allow you to change the backup path that's stored in a snapshot's metadata.
That's bad if you want to use it
1) on NixOS (I don't want backup configs laying around in `~/.config`). As Indy famously said: "That belongs in a Nix expression!"
Edit: On a second note: Why have mandatory config files at all? I don't have an issue with having the option or it being the default, but for my use case being able to specify the whole repository config via arguments sounds considerably more sane.
2) with ZFS snapshots (yes, I'm backing up `/path/to/dataset/.zfs/snapshot/<timestamp>/foo/bar`, but that should not be its path in the metadata!)
OTOH, it seems to have the upside that you can apparently alter snapshots after the fact more easily (e.g. if you find out you shouldn't have backed up that gigantic VM image you just moved somewhere temporarily). I leave the decision on whether this is a footgun or not to you.
And to be clear: The ZFS snaphot thing is also a pain with Restic, too. You can hack around it somewhat better with something like systemd-nspawn, but it really shouldn't be that hard.
- XorNot 4y agoZFS snapshot thing was also a huge pain with bup back in the day. I remember doing some work to add in a path graft system for it but it never got merged. Backup tool authors never seem to support this use case.
- Freaky 4y agoThis is why I made https://github.com/Freaky/zfsnapr https://github.com/Freaky/zfsnapr Instead of working out how to teach my backup tools about snapshots, I just mount them in a subtree and use that as a chroot env.
- cyounkins 4y agoFor ZFS snapshots with restic I don't use the timed snapshots and instead create a new specially named one. There's a code snippet at https://medium.com/@cyounkins/correct-backups-require-filesystem-snapshots-23062e2e7a15 https://medium.com/@cyounkins/correct-backups-require-filesy...
- proactivesvcs 4y agoFYI removing data from backup repositories (e.g. deleting files from a backup) is currently in the master branch of restic and will likely be in the next release.