Solaris 11 Taking rpool zfs snapshot image (Flar archive):
----------------------------------------------------------------------
Taking snapshot of rpool.
#zfs snapshot -r rpool@Solaris11_3
We can remove swap and core dump dataset from rpool snapshot to maintain the OS image size.
#zfs destroy rpool/swap@Solaris11_3
#zfs destroy rpool/dump@Solaris11_3
Taking image and storing on shared path:
#zfs send -Rv rpool@Solaris11_3 | gzip | ssh root@191.168.28.54 "cat > /Flar/rpool_Solaris11_3_$(hostname)_$(date +%Y%m%d).zfs.gz"
----------------------------------------------------------------------
Taking snapshot of rpool.
#zfs snapshot -r rpool@Solaris11_3
We can remove swap and core dump dataset from rpool snapshot to maintain the OS image size.
#zfs destroy rpool/swap@Solaris11_3
#zfs destroy rpool/dump@Solaris11_3
Taking image and storing on shared path:
#zfs send -Rv rpool@Solaris11_3 | gzip | ssh root@191.168.28.54 "cat > /Flar/rpool_Solaris11_3_$(hostname)_$(date +%Y%m%d).zfs.gz"
No comments:
Post a Comment