Backup and Recovery Planning

The cinder-backup service creates point-in-time copies of Cinder volumes that can be restored later. This protects against accidental deletion, data corruption, and bad application writes.

Ceph replication (2× by default; 3× where supported) protects against disk and host failure, but it does not protect against logical errors. If a volume is deleted or its data is corrupted, the corruption is replicated to all copies immediately. Backup is your defense against that class of failure.

Do You Need Volume-Level Backup?

  • Production workloads with persistent data: yes. Boot-from-volume instances and data volumes need a recovery path beyond replication.

  • Stateless or ephemeral workloads: typically no. If VMs are disposable and data lives elsewhere, backup adds cost without benefit.

Backup Backend Options

Cinder Backup Backends

Backend

Characteristics

Planning Impact

Ceph pool (default)

Integrated with platform Ceph. Supports incremental backups.

Backup capacity is additional to primary Cinder capacity. Size your Ceph cluster accordingly.

NFS target

External NFS share for backup storage.

Offloads backup capacity from the Ceph cluster. Requires network connectivity and sufficient share space.

You can configure both backends simultaneously using the multi-backend driver, routing backups by volume type.

Capacity and Recovery Targets

Backup storage is additional to primary Cinder capacity. A full backup of every volume doubles your raw storage requirement. Plan accordingly:

  • Incremental backups reduce storage consumption and accelerate backup operations.

  • How often you back up determines how much data you could lose in a failure (hourly backups = at most one hour of data lost).

  • How fast you can restore depends on backup storage performance and volume size. Faster storage means shorter recovery time.

Note

Do not exceed 85% Ceph utilization even after accounting for backup pools. If backup shares the same Ceph cluster as Cinder, include both primary and backup capacity in your sizing calculations.

Rook-Ceph Backup Considerations

If you use the default StarlingX Rook-Ceph cluster for your Cinder volumes, be aware that the Backup and Restore playbooks capture system configuration, databases, and metadata only. They do not back up the raw data blocks stored in the Ceph pools (Cinder volumes, Glance images, or Ceph-backed Nova ephemeral disks).

On restore, existing Ceph data is preserved in place by default (wipe_ceph_osds=false) but is not recreated from the backup, so it is not protected against loss or corruption of the Ceph cluster itself. If the Ceph OSDs are wiped, that data is lost. Use volume-level cinder-backup (see Backup Backend Options). For full protection, use an off-box backup target for data you must be able to recover, and account for this in your disaster recovery plan.

Note

Off-box means a backup target that does not reside on the same StarlingX Rook-Ceph cluster (ideally on separate hardware or an external system), so the backup survives a failure or rebuild of that cluster. Examples include an external NFS target for cinder-backup, or copying backup archives to storage outside the StarlingX deployment.

NetApp Backup Considerations

If you are using NetApp as your Cinder backend, be aware that NetApp-backed volumes are not automatically included in the StarlingX OpenStack Backup and Restore playbooks. You will need to manage backup separately using array-side snapshots, NetApp SnapMirror, or Kubernetes volume snapshots. Account for this in your disaster recovery plan. See NetApp External Storage Planning.

For cinder-backup configuration procedures, see Configure the NFS Backend on Cinder-Backup.