Restoring and snapshots

Andrea Venturoli ml at
Fri Apr 10 09:30:52 UTC 2020


When I'm doing backups/dumps of ZFS filesystems (with whatever tool), I 
use snapshots.
So, suppose I have the following datasets:

I'll snapshot them and back up

Then I'll get the same directory structure when restoring.
Any idea how to easily remove the .zfs/snap and go back to the original 

I tried writing a few lines of script, but I found out that's not so 
easy (due to directories which must overlap, spaces in file names, etc...).

Any hint?

  bye & Thanks

More information about the freebsd-questions mailing list