Volumes are extra disks from your own private cloud (OpenStack or CloudStack). They appear in the Volumes card on a server's page.
- Add volume: enter a name, a size in GB and, if offered, a storage type. The volume is created in the server's location and attached as soon as it's ready, usually within a minute. Then partition, format and mount it inside the server.
- Grow: enter a bigger size. Volumes can only grow. Afterwards, extend the filesystem inside the server.
- Detach: unmount the volume inside the server first. The volume and its data are kept under Free volumes in this location.
- Attach a free volume to this server again, or Delete it, which permanently removes its data.
The boot disk can't be detached or deleted; it's removed with the server. Owners, Admins and Developers can change volumes; everyone else can see them. Every change is in the audit log.
Snapshots#
A snapshot is a point-in-time copy of one of the server's disks, the boot disk included. Your cloud keeps it apart from the disk, so it survives when the disk changes. Snapshots are in the Volume snapshots card, under Volumes.
- Take snapshot: choose the volume and a name. The snapshot shows as ready within a few minutes. You can take it while the server runs; for a database, stop writes or the server first so the copy is consistent.
- Make volume: creates a new volume with the snapshot's contents, in the server's location. It appears under Free volumes in this location: attach it, mount it, and copy back what you need. The original disk isn't touched.
- Delete: removes the snapshot for good.
Snapshots use storage in your cloud, which may charge for it.
Automatic snapshots#
Under Automatic snapshots, choose a volume, Every day or Every week (and the day), the hour in your time zone, and how many to keep. Each volume has its own schedule; saving again for the same volume replaces it.
- Snapshots the schedule takes are named
scheduled-and the date. When there are more than you keep, the oldest are deleted. - Snapshots taken by hand are never deleted by the schedule.
- If a run fails, for example because the volume was detached, the reason is shown next to the schedule and in the audit log. The next run is tried at the next due hour.
- Turn off stops the schedule. Snapshots already taken are kept.
| Cloud | What a snapshot is |
|---|---|
| OpenStack | A block-storage (Cinder) snapshot of the volume. |
| CloudStack | A volume snapshot, copied to the cloud's secondary storage. |
To back up the whole server in one go instead, use Backups.