I am currently running a RAID-Z (istorage) of 4*2 TB HDDs. There is one filesystem which I need to backup (istorage/storage) to external 3 TB HDD (it will fit). I have found some instructions on FreeNAS community but would like to use bookmarks which were introduced later in FreeBSD ZFS and use weekly snapshots I use currently.
The original instructions were:
Backing up first time
Then every time to increment
As I already have automatic weekly snapshotting set up can I start like (there are snapshots from week 20 to 25 present)
And then two weeks lately do
How can bookmarks help in this scenario?
The original instructions were:
Backing up first time
zfs snapshot -r istorage/storage@backup # create a snapshot zfs send -R istorage/storage@backup | zfs receive -vF backup_hdd # transfer it overThen every time to increment
zfs rename -r istorage/storage@backup istorage/storage@previous_backup # rename the "old" snapshot zfs snapshot istorage/storage@backup # take a new snapshot zfs send -Ri istorage/storage@previous_backup istorage/storage@backup | zfs receive -v backup_hdd # incremental replication zfs destroy -r istorage/storage@previous_backup # get rid of the previous snapshotAs I already have automatic weekly snapshotting set up can I start like (there are snapshots from week 20 to 25 present)
zfs send -R istorage/storage@week25 | zfs receive -vF backup_hddAnd then two weeks lately do
zfs send -RI istorage/storage@week27 | zfs receive -v backup_hdd # incremental replicationHow can bookmarks help in this scenario?