-
Step-1 # log is as root via a ssh-console
-
Step-2 # Note down / take a screenshot of the.zvol used by.the.vm (computer symbol)
hoover above the name
-
Step-3 # List the. zvols available in the dataset
root@lion[/1# cd /dev/Cheetah/Virtual-Machines/xvz
root@lion[../Cheetah/Virtual-Machines/xyz]# Is
xyz-rfg1ef xyz-rfg1ef_xyz_01_xyz_xyz20230328b_xyz
- Step-4 # Create, a snapshot of the dataset used by, the.vm (select the, name found above)
root@lion[./Cheetah/Virtual-Machines/xyz]# zfs snapshot Cheetah/Virtual-Machines/xyz/xyz-rfg1ef_xyz_01_xyz_xyz20230328b_xyz@backup20230424a
- Step-5: # Create.a copy based on the snapshot in the choosen destination dataset
root@lion[../Cheetah/Virtual-Machines/xyz]# zfs send-v Cheetah/Virtual-Machines/xvz/xyz-rfg1ef_xyz_01_xyz_xyz20230328b_xyz@backup20230424a I zfs receive -ev Olifant/BackUp-VMs/xvz
- Step-6 # Have a look at the result
root@lion[.../Cheetah/Virtual-Machines/xyz]# zfs list I grep xyz
Cheetah/Virtual-Machines/xvz 130G 1.35T96K /mnt/Cheetah/Virtual-Machines/xyz Cheetah/Virtual-Machines/xyz/xyz-rfg1ef 106G 1.45T4.37G Cheetah/Virtual-Machines/xvz/xyz-rfg1ef_xyz_01_xyz_xyz20230328b_xyz 23.5G 1.35T 25.5G 25.5G 9.04T96K /mnt/Olifant/BackUp-VMs/xyz Olifant/BackUp-VMs/xyz Olifant/BackUp-VMs/xyz/xyz_backup20230424a 25.5G9.04T25.5G
- Step-7 # Give the zvol a decent name
zfs rename Olifant/BackUp-VMs/xvz/xyz-rfg1ef_xyz_01_xyz_xyz20230328b_xyz Olifant/BackUp-VMs/xvz/xyz_backup20230424a
- Step-8 # Check the result.
cd /dev/Olifant/BackUp-VMs/xyz root@lion[/dev/Olifant/BackUp-VMs/xvz]# Is xyz_backup20230424a
- Step-9 # Delete the, snapshot
zfs.destroy Cheetah/Virtual-Machines/xyz/xyz-rfg1ef_xyz_01_xyz_xyz20230328b_xyz@backup20230424a