# zfs backup tank/dana@111505 > /dev/rmt/0 # zfs backup pool/fs@snap | gzip > backupfile.gz
# zfs backup tank/gozer@111105 > /dev/rmt/0 . . . # zfs restore tank/gozer2@today < /dev/rmt/0 # zfs rename tank/gozer tank/gozer.old # zfs rename tank/gozer2 tank/gozer
# zfs rollback tank/dana@111505 cannot rollback to 'tank/dana@111505': more recent snapshots exist use '-r' to force deletion of the following snapshots: tank/dana@now # zfs rollback -r tank/dana@111505 # zfs restore tank/dana < /dev/rmt/0
# zfs backup tank/neo@today | ssh newsys zfs restore sandbox/restfs@today
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。