psy0rz / zfs_autobackup

ZFS autobackup is used to periodicly backup ZFS filesystems to other locations. Easy to use and very reliable.
https://github.com/psy0rz/zfs_autobackup
GNU General Public License v3.0
606 stars 63 forks source link

support bookmarks #23

Open psy0rz opened 4 years ago

mariusvw commented 4 years ago

Explain bookmarks? :)

wxcafe commented 4 years ago

:+1: and more than support them, I'd say it'd be great to transform snapshots that should be deleted on one side but not on the other into bookmarks instead of deleting them until they are deleted on the other side too. I.e., if I have a dataset A going from pool1 to pool2 with --keep-source 10 and --keep-target 1h1d,1d1w,1w2m,1m3y, once there are 10 snapshots on pool1 instead of deleting the first one convert it into a snapshot until it is deleted on pool2 too

psy0rz commented 3 years ago

Explain bookmarks? :)

A bookmark allows us delete the common snapshot on the source, while still being able to make the next incremental backup.

e.g. You only need a bookmark to send an incremental backup, not a full snapshot. This saves data on the source side. Also this makes --keep-source=0 actual usefull without breaking backups :)

psy0rz commented 1 month ago

Working on this right now. Will be in v3.4