Managing Snapshots

A snapshot is a point-in-time version of a volume. As an administrator, use the the cinder snapshot-manage command to manage and unmanage snapshots.

The arguments to be passed are:

  • VOLUME_ID—The ID of a volume that is the parent of the snapshot, and managed by the Block Storage service.
  • IDENTIFIER—Name, ID, or other identifier for an existing snapshot.

  • --id-type—Type of back-end device the identifier provided. Is typically source-name or source-id. Defaults to source-name.
  • --name—Name of the snapshot. Defaults to None.
  • --description—Description of the snapshot. Defaults to None.
  • --metadata—Metadata key-value pairs. Defaults to None.

Note
You cannot snapshot a volume with NFS.

To manage a snapshot:

Run the snapshot-manage command, including the parameters to provide the name or ID of the snapshot to unmanage.

 $ cinder snapshot-manage <VOLUME_ID> <SNAPSHOT_ID>

To unmanage a snapshot:

Run the snapshot-unmanage command, including the parameters to provide the name or ID of the snapshot to unmanage.

$ cinder snapshot-unmanage <SNAPSHOT_ID>