My workstation was broken and neglected for a few weeks and some of the the filesystems on my NAS rolled out of the similar-snapshot window. I’ve heard that bookmarks could help ameliorate this condition, but that’s something I’ve never explored. Can someone explain if this could have helped?
I know the question says sanoid, but I’ll answer using syncoid. There are things in syncoid that would have helped in your situation. Please ignore this if you are not using syncoid together with sanoid.
For syncoid, if you use the --create-bookmark together with --no-sync-snap, whenever it syncs, it creates a bookmark of the newest snapshot. This way, any snapshots created after the bookmark can be incrementally synced.
Alternatively if you don’t care too much about the space savings of bookmarks, you can use the --use-hold flag in syncoid. This will prevent your latest synced snapshot from being deleted. The --use-hold flag will release previous holds after it creates a new hold.
1 Like
Those are good things to try, thanks.