You can also snapshot a volume to act as a backup or template for creating new volumes.
Web Interface
1. | Click the drop-down menu on the right-hand side (in |
2. | Give it a name and press |
Command-Line
Find the ID of the volume with:
$ openstack volume list +--------------------------------------+----------------+-----------+------+-----------------------------------+ | ID | Name | Status | Size | Attached to | +--------------------------------------+----------------+-----------+------+-----------------------------------+ | 03a5bb45-6c28-406d-8cd7-7fac5b63bdeb | cli-new-volume | available | 8 | | +--------------------------------------+----------------+-----------+------+-----------------------------------+
Run
openstack volume snapshot create --volume <volume-id> <name>
$ openstack volume snapshot create --volume 8e20dbdd-16ee-40e9-84ed-971c12104b98 testing-v-snapshot +-------------+--------------------------------------+ | Field | Value | +-------------+--------------------------------------+ | created_at | 2021-12-02T14:34:48.718892 | | description | None | | id | 76d51455-a5cd-478d-a93f-6e49b4108575 | | name | testing-v-snapshot | | properties | | | size | 3 | | status | creating | | updated_at | None | | volume_id | 8e20dbdd-16ee-40e9-84ed-971c12104b98 | +-------------+--------------------------------------+