Skip to main content

CloudStack B&R-Based Backup

When CloudStack Backup and Recovery (B&R) is configured, CMP uses CloudStack B&R APIs to manage VM backups. The customer schedules, runs, and restores from the VM in CMP — no agents and no manual backup setup on the customer side.

Not enabled by default

Backup is disabled at onboarding. The provider must choose this model and complete CloudStack B&R prerequisites first. See Backup — provider decision.

Which backend am I on?
You are here if…Otherwise use…
Enable Provider Backup = Yes in Cloud Provider SetupAutomated Volume Snapshot as Backup when Enable Provider Backup = No
CloudStack B&R is configured with a provider plugin
Not Veeam VSPC

CloudStack B&R can use the Veeam Backup & Replication plugin at the CloudStack level. That is orchestrator-integrated VM backup in CMP — not the standalone Veeam VSPC orchestrator.

See Backup and Recovery.


Concepts​

What CloudStack B&R is​

CloudStack 4.14 introduced a Backup and Recovery framework; it is production-ready from 4.20+. The framework:

  • Exposes standard backup APIs in CloudStack (create, schedule, restore, list, and so on)
  • Delegates actual backup storage to a provider plugin (Veeam, Networker, NAS, and others)
  • Supports SLA/policy-based backups and adhoc / user-scheduled backups

Official reference: About Backup And Recovery

How CMP fits in​

Customer (CMP VM screen)
|
v
CMP → CloudStack B&R APIs
|
v
Provider plugin (operator configured)
|
v
Backup storage (Veeam / Networker / NAS / …)
  • The cloud operator installs and configures the plugin in CloudStack and imports backup offerings.
  • CMP maps customer actions to CloudStack API calls — same customer experience as other VM features.
  • The customer does not log into Veeam or Networker to configure jobs for CloudStack VMs on this path.

Snapshot-as-backup vs B&R-based — at a glance​

Automated Volume Snapshot as BackupCloudStack B&R-Based Backup
CMP settingEnable Provider Backup = NoEnable Provider Backup = Yes
Under the hoodScheduled CloudStack snapshots (no backup engine in CMP)CloudStack B&R + provider plugin
Typical ACS versionPre-4.20 or no plugin4.20+ with plugin configured
Customer in CMPSchedule / backup / restore on VMSchedule / backup / restore on VM

Supported backup providers​

Provider plugins are configured in CloudStack by the operator — not in CMP.

ProviderHypervisorCloudStack docs
Veeam Backup and ReplicationVMwareVeeam plugin
DELL EMC NetworkerKVMNetworker plugin
NAS B&RKVM (4.20+)NAS plugin

Switching to CloudStack B&R-Based Backup​

Application-wide setting

Switching backends means changing Enable Provider Backup in Cloud Provider Setup for the CloudStack connection. That applies to all VMs on that connection — you cannot run Automated Volume Snapshot as Backup and CloudStack B&R-Based Backup side by side in CMP.

Before you switch​

  • Understand the difference between Automated Volume Snapshot as Backup and CloudStack B&R-Based Backup
  • Ensure the backup provider plugin is installed and configured in CloudStack
  • Test backup and restore on a non-production VM first
  1. Plan the cutover — all VMs on this CloudStack connection will use the new backend after the change
  2. Disable Automated Volume Snapshot as Backup on VMs that still have it (this deletes CMP-managed snapshots)
  3. Configure the CloudStack backup provider and import backup offerings (B&R path)
  4. Set Enable Provider Backup to Yes in Cloud Provider Setup
  5. Enable CloudStack B&R-Based Backup on VMs via CMP or CloudStack admin UI
  6. Verify backup jobs run successfully and test restore on a non-production VM

Restoring a Backup​

Restoring a backup recovers the VM's disk from the selected backup point.

Prerequisites: VM Must Be in a Stopped State​

Prerequisite: Stop the VM Before Restoring

The virtual machine must be in a STOPPED state before initiating a backup restore.

  • Stopping the VM before restore is a manual process.
  • Starting the VM after the restore completes is also a manual process.

CMP does not automatically power off or restart the virtual machine during a restore operation to protect against unexpected downtime or data corruption. The administrator or user must manage the VM power state manually.

Step-by-Step Restore Workflow​

  1. Stop the Virtual Machine (Manual):

    • Navigate to the Virtual Machine Overview page.
    • Use the power control icons or the Power Management tab to gracefully stop the VM.
    • Confirm that the VM status displays as Stopped.
  2. Navigate to the Backups Tab:

    • In the VM overview tabs, open the Backups tab.
    • Locate the target backup point in the backups list.
  3. Initiate Restore:

    • Click the actions menu on the desired backup row and choose Restore Backup.
    • A confirmation dialog appears reminding you:

      "The virtual machine must be in a STOPPED state before reverting a snapshot."

    Confirmation dialog to restore backup Figure: Restore Backup confirmation modal reminding the user that the VM must be stopped.

    • Click the red Restore Backup button to confirm.
  4. Monitor in Activity Logs:

    • CMP invokes CloudStack B&R restore APIs with the underlying provider plugin.
    • Go to the Activity logs tab to track the operation (VIRTUAL_MACHINE_BACKUP.RESTORE).

    Activity logs showing backup restore history Figure: Activity logs tracking the restore lifecycle: VM stopped, backup restored (VIRTUAL_MACHINE_BACKUP.RESTORE), and VM started.

  5. Start the Virtual Machine (Manual):

    • After the restore operation successfully completes, return to the VM Overview or Power Management tab.
    • Manually Start the virtual machine.

Validation and Error Handling (Running VM)​

If a restore is attempted while the VM is not in a stopped state:

  1. Modal Notice: The restore modal explicitly states: "The virtual machine must be in a STOPPED state before reverting a snapshot."

  2. Error Banner: If submitted while the VM is running, CMP immediately halts the operation and displays an error message at the top of the screen:

    "Existing VM should be stopped before being restored from backup"

    Error notification when restoring a running VM Figure: CMP validation error notification when attempting to restore a backup while the VM is running.

  3. Activity Log: The failed attempt is logged under the VM's Activity logs as Failed to restore vm backup (VIRTUAL_MACHINE_BACKUP.RESTORE). The VM's disk remains untouched.


Admin setup and billing​

TopicPage
Packages, physical vs virtual billingVM Backup packages
Enable Provider BackupCloud Provider Setup
CloudStack B&R configurationCloudStack — Backup and Recovery

Was this page helpful?
Found something that could be improved?