Skip to content

Backup and Restore OpenStack Volumes and Snapshots with Storware

Storware Backup and Recovery offers a comprehensive solution for protecting your OpenStack environment.

Here’s a step-by-step guide to get you started with backups and recovery:

Prerequisites:

  • OpenStack environment using KVM hypervisor and VMs with QCOW2 or RAW files.
  • Storware Backup and Recovery software.

Deployment:

1. Install Storware Backup and Recovery Node: The Storware node can be installed on a separate machine. Ensure it has access to OpenStack APIs and hypervisor SSH.
2. OpenStack API Integration: Configure Storware to communicate with OpenStack APIs like Nova and Glance for metadata collection and VM restore processes.

Backup Configuration:

1. OpenStack UI Plugin (Optional): Install the Storware OpenStack UI plugin to manage backups directly from the OpenStack dashboard. This simplifies backup creation, scheduling, and restores.

2. Backup Schedules: Define backup schedules for your VMs. Storware supports both full and incremental backups.

3. Backup Options:

  • Libvirt strategy
  • Disk attachment strategy
  • Ceph RBD storage backend

All three strategies support full and incremental backups.

Libvirt strategy works with KVM hypervisors and VMs using QCOW2 or RAW files. It directly accesses the hypervisor over SSH to take crash-consistent snapshots. Optionally, application consistency can be achieved through pre/post snapshot command execution. Data is then exported over SSH.

Disk attachment strategy is used for OpenStack environments that use Cinder with changed block tracking. It uses a proxy VM to attach disks to the OpenStack instances. Snapshots are captured using the Cinder API. Incremental backups are supported. Data is read from the attached disks on the proxy VM.

Ceph RBD storage backend

Storware Backup & Recovery also supports deployments with Ceph RBD as a storage backend. Storware Backup & Recovery communicates directly with Ceph monitors using RBD export/RBD-NBD when used with the Libvirt strategy or – when used with the Disk-attachment method – only during incremental backups (snapshot difference).

Libvirt strategy

Disk attachment strategy

Retention Policies: Set retention policies to manage how long backups are stored.

Backup Process:

1. Storware interacts with OpenStack APIs to gather VM metadata.
2. Crash-consistent snapshots are taken directly on the hypervisor using tools like virsh or RBD snapshots.
3. (Optional) Pre-snapshot scripts run for application consistency.
4. VM data is exported using the chosen method (SSH or RBD).
5. Metadata is exported from OpenStack APIs.
6. Incremental backups leverage the previous snapshot for faster backups.

Recovery Process:

1. Select the desired VM backup from the Storware interface.
2. Choose the recovery point (specific backup version).
3. Storware recreates VM files and volumes based on the backup data.
4. The VM is defined on the hypervisor.
5. Disks are attached (either directly or using Cinder).
6. (Optional) Post-restore scripts can be run for application-specific recovery steps.

Additional Notes:

  • Storware supports both full VM restores and individual file/folder recovery.
  • The OpenStack UI plugin provides a user-friendly interface for managing backups within the OpenStack environment.
  • Refer to Storware documentation for detailed configuration steps and advanced options -> https://storware.gitbook.io/backup-and-recovery

By following these steps and consulting the Storware documentation, you can leverage Storware Backup and Recovery to safeguard your OpenStack VMs and ensure a quick recovery process in case of data loss or system failures.

About Storware
Storware is a backup software producer with over 10 years of experience in the backup world. Storware Backup and Recovery is an enterprise-grade, agent-less solution that caters to various data environments. It supports virtual machines, containers, storage providers, Microsoft 365, and applications running on-premises or in the cloud. Thanks to its small footprint, seamless integration into your existing IT infrastructure, storage, or enterprise backup providers is effortless.

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

×

Hello!

Click one of our contacts below to chat on WhatsApp

×