Phriction College of Engineering CSE Robotics Research Lab PR2 Snapshotting & Restoring History Version 1 vs 2
Version 1 vs 2
Version 1 vs 2
Content Changes
Content Changes
We will use `virsh` to create snapshots of the VMs and their disks.
We will use `virsh` to create snapshots of the VMs and their disks.
We'll need some blank file to store our XML data, and then store the XML data from a VM:
```touch [backup-name].xml
sudo virsh dumpxml > [backup-name].xml```
Now we'll make our snapshot:
`sudo virsh snapshot-create-as --domain [vm-name] --name [backup-name]`
We will use `virsh` to create snapshots of the VMs and their disks.
We'll need some blank file to store our XML data, and then store the XML data from a VM:
```touch [backup-name].xml
sudo virsh dumpxml > [backup-name].xml```
Now we'll make our snapshot:
`sudo virsh snapshot-create-as --domain [vm-name] --name [backup-name]`