create-snapshot

Creates a snapshot of the disks for a virtual system.

This command creates a snapshot of the disk images for a virtual system, which can be later reverted to using the revert-snapshot command. The system must be specified with the --host flag followed by a full hostname.

Each snapshot has a unique ID, set with the --id flag - for example, something like before-upgrade. You must also supply the --percent flag, followed by a number between 1 and 100. This determines what percentage of the host's disk space is used by the snapshot logical volumes. The size is a tradeoff between disk usage and the number of changes that the snapshot can store - setting the percent too low can result in a snapshot that eventually becomes unusable.

Example usage

  cloudmin create-snapshot --host kvmsnap.home --percent 10 --id snaptest
  Creating snapshot for kvmsnap.home ..
  .. done

Command Line Help

Creates a snapshot of the disks for a virtual system.

cloudmin create-snapshot --host hostname
                         --id snapshot-id
                         --percent N