Open dag opened 6 years ago
Try this: https://github.com/wesbarnett/snap-sync
Or this: proposed to merge with snap-sync. Thus reached a working status to handle remote snapper ... https://github.com/rzerres/snap-sync/wip-dash-v2
A backup command in snapper
is desirable. snapper
has the ability to, if set proper privileges, not require root
privileges. That is an important feature. And having all functionalities together in a single tool would be more appropriate.
I have to agree with @rickysarraf that it would be great to have users be able to backup snapshots without requiring root
privileges using Snapper.
+1 be able to save backup elsewhere is crucial
I also would like to give my +1 to this. Projects such as https://github.com/baod-rate/snap-sync seem to be abandoned and most recommendations points to btrbk. But it feels a bit unnecessary to use both Snapper AND btrbk as the projects overlap quite a bit.
From an outsider looking in Snapper seems to have everything except the ability to send snapshots to other disks.
+1 I'd like to request snapshot sync to other drives also (e.g. automatic send/receive). I tried snap-sync - it is clearly abandoned and does NOT work at all (encountered multiple issues). Without a possibility to sync/backup snapshots to other drives, if a drive fails - all data is gone. Thank you!
So I realize snapper isn't meant to be a backup tool, but there's a lot of overlap and it already has a bunch of infrastructure in place that would be needed for such a tool. I've been looking at existing solutions for btrfs incremental backups and I keep thinking it would be much easier if I could just do it with snapper, which I already know and have already set up. Would you consider supporting a few features to make it easier to use snapper also for backups? I'm imagining something like this (straw man proposal):
DEST
could also be a configuration variable (under a different name), with a systemd timer creating and sending backups dailyBACKUP_LIMIT_BACKEDUP
could default to zero because you don't need to keep backed up snapshots around and you're better of using timeline if you want local snapshots for keepsBACKUP_LIMIT
defaults to non-zero (say, 10), so you can create multiple backup "checkpoints" between sendsbackedup
is wrong if it isn't meant to be set by the user, but I don't know how easy it would be to add a new field to snapshots so thinking in terms of the userdata field was natural to me. Alternatively, it's a good thing because the user might want to use the backup cleanup logic without using snapper send-backups.