Remove all snapshots of a dataset:

zfs destroy -rvn dataset_or_vol_name@%

List all snapshots:

zfs list -t snapshot

Copy dataset recursively

zfs snapshot -r tank/dataset@fullbackup
zfs send -R tank/dataset@fullbackup | pv | zfs receive -vFdu myBackupPool
zfs destroy -r tank/dataset@fullbackup
  • faq/zfs.txt
  • Last modified: 7 months ago
  • by Dr Serge Victor