...
| Warning |
|---|
When creating backups or snapshots of VMs and volumes, it is highly recommended that the following command are run outside from said VMs and volumes. Doing so from within may cause corrupted backups or snapshots. |
Backup VMs and volumes
Instance SnapshotsAnchor InstanceSnapshots InstanceSnapshots
| InstanceSnapshots | |
| InstanceSnapshots |
To take a snapshot of a instance for later recovery or replication, one must create an image based on the current VM. The list of VMs/servers than can be used for the snapshot can be found with:
...
| Info |
|---|
It is recommended, though not mandatory, to shut off the server before making a snapshot of it, to make sure all the data has been flushed to disk. |
Volume SnapshotsAnchor VolumeSnapshots VolumeSnapshots
| VolumeSnapshots | |
| VolumeSnapshots |
To create a snapshot of a volume
...
| Code Block |
|---|
openstack volume snapshot show <snapshot_name> |
Volume BackupsAnchor VolumeBackups VolumeBackups
| VolumeBackups | |
| VolumeBackups |
To create a backup of a volume run:
...
These is a list of common configurations of VMs and volumes in the cloud and the recommened procedure to backing them up
Single VM
WIPTo backup a single VM, it is recommended to create an image snapshot of the instance, as shown above. It is also possible to back up the root disk of the VM as a volume, using either a snapshot or full backup, but not recommended.
Single VM and attached volume(s)
...