Hi --
Disclaimer: I migrated two servers to ZFS very recently, thus I do consider myself a newbie regarding ZFS.
I did read a lot about snapshots and backups in this forum, in Oracle's admin guide, and elsewhere, but I'm still puzzled about statements like "make a snapshot and use that snapshot as starting point for making a backup".
Well, I do understand what "zfs send" and "zfs receive" is for, and that I may use this functionality for backups. But I did fail miserably in using snapshots[1] as starting points for tarballs[2]. Ok, that can be explained by the fact that snapshots only show modified/removed files, and that ZFS snapshots seem to differ from snapshots in UFS filesystems.
Now my questions:
1) Do I need to clone my snapshots and use those for tarballs?
2) If so, is there an easy way to tar ZFS clones in a recursive manner?
3) If no, what do I misunderstand regarding snapshots/clones?
Thanks in advance.
[1] zfs set snapdir=visible mypool/mydir
[2] I'd like to stick with tarballs for the time being, until I'm much more familiar with ZFS and confident to stick with it.
Disclaimer: I migrated two servers to ZFS very recently, thus I do consider myself a newbie regarding ZFS.
I did read a lot about snapshots and backups in this forum, in Oracle's admin guide, and elsewhere, but I'm still puzzled about statements like "make a snapshot and use that snapshot as starting point for making a backup".
Well, I do understand what "zfs send" and "zfs receive" is for, and that I may use this functionality for backups. But I did fail miserably in using snapshots[1] as starting points for tarballs[2]. Ok, that can be explained by the fact that snapshots only show modified/removed files, and that ZFS snapshots seem to differ from snapshots in UFS filesystems.
Now my questions:
1) Do I need to clone my snapshots and use those for tarballs?
2) If so, is there an easy way to tar ZFS clones in a recursive manner?
3) If no, what do I misunderstand regarding snapshots/clones?
Thanks in advance.
[1] zfs set snapdir=visible mypool/mydir
[2] I'd like to stick with tarballs for the time being, until I'm much more familiar with ZFS and confident to stick with it.