Virtuozzo

Storware Backup & Recovery supports backup for Virtuozzo Hybrid Infrastructure:
  • Disk image transfer - for KVM hypervisors with VMs using QCOW2
  • Volumes storage:
    • supports incremental backup
    • disk images are transferred directly from API (no Proxy VM required)

Libvirt Backup Strategy

Storware Backup & Recovery supports Virtuozzo environments that use KVM hypervisors and VMs running on QCOW2 or RAW files. Storware Backup & Recovery communicates with Virtuozzo APIs such as Nova and Glance to collect metadata and for the import of the restored process. However, the actual backup is done over SSH directly from the hypervisor. The process is exactly the same as in Deployment in the KVM/Xen environment. Storware Backup & Recovery Node can be installed anywhere - it just needs to have access to the Virtuozzo APIs and hypervisor SSH via a network. Both full and incremental backups are supported.

Backup Process

  • direct access to the hypervisor over SSH
  • crash-consistent snapshot taken directly using virsh (QCOW2/RAW file)
  • optional application consistency using pre/post snapshot command execution • QCOW2/RAW-file data exported over SSH (optionally with netcat)
  • metadata exported from Virtuozzo APIs (nova, glance, cinder)
  • the last snapshot kept on the hypervisor for the next incremental backup (if at least one schedule assigned to the VM has backup type set to incremental)
  • restore recreates files/volumes according to their backend (same transfer mechanism as used in backup) and then defines VM on the hypervisor

Nova volumes

Storware Backup & Recovery is able to backup nova volumes using libvirt strategy. In the hypervisor manager settings there is an option Download image from glance. When this option is enabled the original image from glance is downloaded. If it is disabled, then the image is not downloaded, however the nova volume created from it is backed up.

Adding hypervisor managers

When creating the hypervisor manager, provide the following data in the fields:
URL - Keystone API URL, e.g. https://YOUR_VIRTUOZZO_IP_MGMT:5000/v3
Authentication domain:
  • name - name of domain
  • domainId - optional domain id
  • user - Virtuozzo user.
  • password - password for that user.
  • default project name - name of default project in domain.
Download image from a glance - allows Storware Backup & Recovery to use images from a glance.
When you index the hypervisor manager, make sure you provide the correct SSH credentials for each hypervisor that appeared on the Hypervisors tab. You can also use SSH public key authentication.
Note: When restoring the instances, make sure that the provided user is a member of the target tenant.

Virtuozzo Access Keys

During Inventory Synchronization, Storware Backup & Recovery scans all Keypairs (to which a user has access) and stores them as Access Keys. When restoring an instance, the user can specify the Access Key.
Note: If the access key selected for restore is no longer present in the Virtuozzo environment, it will be restored.

Virtuozzo Flavor

During Inventory Synchronization, Storware Backup & Recovery scans all Flavors and saves their configuration. When restoring an instance, the user can specify the flavor.
Note: If the flavor selected for restore is no longer present in the Virtuozzo environment, it will be restored with the same configuration and availability as the original flavor.

Limitations

  • Storware Backup & Recovery does not backup and restores keypairs that user used in Storware Backup & Recovery doesn't have access to. The restored instance will have no keypairs assigned. In such a case, the keypairs have to be backed up and restored manually under the same name before restoring the instance.
  • Only QCOW2/RAW files are supported as the backend.