Hi Everybody.
I would like to pull a backup of my dataset to tape. The idea is to take daily snapshots and keep them for 2 weeks. Every weekend the Friday-night snapshot will be written to Tape/LTO.
Unfortunately, I have a pretty basic LTO software that can only do incremental backups of the same share. Therefore, I'm looking for a way to automate weekly sharing of a snapshot, and reusing the share name.
I'm not really sure how this works within ZFS/FreeNas. In my (ongoing) research I found that it might be best to clone the snapshot and share the clone. In that case, I guess I need a cronjob for a shell script with a loop that goes something like:
1) remove last weeks share, and the clone to release the snapshot for automatic snapshot deletion (next week).
2) clone the last snapshot
3) recreate a share for it
Am I over complicating things?
Thank you all!
I would like to pull a backup of my dataset to tape. The idea is to take daily snapshots and keep them for 2 weeks. Every weekend the Friday-night snapshot will be written to Tape/LTO.
Unfortunately, I have a pretty basic LTO software that can only do incremental backups of the same share. Therefore, I'm looking for a way to automate weekly sharing of a snapshot, and reusing the share name.
I'm not really sure how this works within ZFS/FreeNas. In my (ongoing) research I found that it might be best to clone the snapshot and share the clone. In that case, I guess I need a cronjob for a shell script with a loop that goes something like:
1) remove last weeks share, and the clone to release the snapshot for automatic snapshot deletion (next week).
2) clone the last snapshot
3) recreate a share for it
Am I over complicating things?
Thank you all!