selfjungle Just another WordPress weblog

16Feb/150

zfs backup to file

#create snapshot
zfs snapshot POOL/FS@DESCRIPTION
#list snapshots
zfs list -t snapshot
#save
zfs send SNAPSHOT | xz --threads=12 --verbose > FILE.img.xz
#restore
xz --threads=12 --decompress --verbose  FILE.img.xz -c | zfs receive POOL/NEW_FS
Tagged as: Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

 

No trackbacks yet.