Hyper-V Failover Cluster Backup (Beta)

CloudBerry Backup VM edition supports Microsoft Hyper-V Failover Cluster backup and restore. Microsoft Failover Clustering is a cooperative system component that enables applications and services to increase their availability. Hyper-v Failover Cluster is a Microsoft Failover Cluster built with Hyper-V machines.

CloudBerry Backup Virtual Machine Edition supports only local Failover Cluster backup, thus the software instance must be installed on the Hyper-V host with a Failover Cluster to be backed up

The following requirements apply to Hyper-V backup:

Component Requirement
Operating System Windows Server 2008 R2/2012/2012 R2/2016/2019 with Hyper-V role
MSP360 (CloudBerry) Backup VM Edition

This chapter cover the following topics:

Create Backup Plan

To create a new Hyper-V backup plan, click the Hyper-V action in the horizontal menu bar and select Hyper-V Backup. To use legacy Hyper-V backup, select Hyper-V Backup (Legacy).

The Create Hyper-V Backup Plan Wizard starts.

Learn Backup Wizard steps:

  1. Select Backup Storage
  2. Plan Name
  3. Connect to a Hyper-V Cluster
  4. Select Virtual Machines
  5. Select Virtual Disks
  6. Compression and Encryption Options
  7. Consistency Check and Restore Verification
  8. Schedule
  9. Retention Policy
  10. Pre / Post Actions
  11. Notifications and Logging
  12. Summary

Step 1: Select Backup Storage

Select a storage account for the backup plan from the list of available backup storages. If no storage is available, click Add new Storage Account. You can select any of the supported backup storages. Check whether you have enough free storage capacity for backup. Once you selected backup storage, click Next.

| Top | Next Step

Step 2: Plan Name

Specify the name for the backup plan.

Click Next.

| Previous Step | Top | Next Step |

Step 3: Connect to a Hyper-V Cluster

Specify connection settings to back up a Hyper-V Cluster and local Hyper-V host.

Select Back up the Hyper-V cluster and local Hyper-V host Consider the Back up the local Hyper-V host only option is intended for virtual machines of the Hyper-V server backup. It is not recommended to use this option in case you want to back up the Hyper-V failover cluster. Provide administrative account credentials with Hyper-V role enabled and check whether you want to keep this password in the backup plan configuration.

| Previous Step | Top | Next Step |

Step 4 (Optional): Select Virtual Machines

In case you are planning to back up specified virtual machines, select virtual machines for the backup plan.

The following options are available:

  • Back up all Virtual Machines. Select this option to include all virtual machines of the Hyper-V cluster in the backup plan
  • Back up only running Virtual Machines
  • Back up selected Virtual Machines.

Consider that clustered virtual machines are marked by specific icons.

Note that if you switch the backup option from the Back up selected Virtual Machines to any other, the previously made selection is kept for the case if you change your mind and select back the Back up selected Virtual Machines option, but the selected option will be applied regardless of the virtual machine selection

Select Back up current Hyper-V checkpoint only check box to back up the latest checkpoint only. Otherwise, all existing checkpoints for the selected virtual machines will be backed up.

Click Next.

| Previous Step | Top | [Next Step]/cloudberry-backup/backup/hyper-v-vm-cluster-backup/hyper-v-cluster-backup-nbf(#5) |

Step 5 (Optional): Select Virtual Disks

In case you selected the Back up selected Virtual Machines option on the previous step, you can select disks on these machines.

  • To back up all virtual machine disks, select the Back up all disks option.
  • To select particular VM disks for the backup plan, select the Back up selected disks only option. Use the tree to expand or collapse virtual machine disks or volumes.

Click Next.

| Previous Step | Top | Next Step |

Step 6: Compression and Encryption Options

Specify compression and encryption options for the backup plan.

The following options are available:

  • Select Enable compression check box to compress backup source contents for optimal backup storage space usage
  • To protect your backup contents with encryption, select Enable encryption check box. MSP360 (CloudBerry) Backup supports AES encryption of 128, 192 and 256 bit key length. Select the appropriate key length in Algorithm drop-down menu
  • Specify the encryption password in the Password field, then confirm the password in the Confirm field. To display password, select Display password check box

Note that the encryption password will NOT be stored in the backup plan configuration for security reasons. Keep this password in a safe place to be able to restore the backup contents afterward

Click Next.

| [Previous Step]/cloudberry-backup/backup/hyper-v-vm-cluster-backup/hyper-v-cluster-backup-nbf#5) | Top | Next Step |

Step 7: Consistency Check and Restore Verification

Specify the full consistency check and restore verification options.

To learn more about consistency checks, refer to the Consistency Checks chapter

Select the restore verification running options:

  • Do not Run Restore Verification. Select this option to run restore verification manually
  • Run for Full only. Select this option to run restore verification for full backups only. You can manage a schedule for full and incremental backups on the Schedule step of the Backup Wizard
  • Run for Incremental only. Select this option to run restore verification for incremental backups only. You can manage a schedule for full and incremental backups on the Schedule step of the Backup Wizard
  • Run for Full and Incremental. Select this option to run restore verification for both backup types.

To learn more about restore verification, refer to the Restore Verification for Image-Based Backup chapter

Click Next.

| Previous Step | Top | Next Step |

Step 8: Schedule

Specify the backup plan schedule settings.

The following options are available:

  • If you intend to run the backup plan manually, select No schedule option
  • If you intend the backup plan to run on a particular date and time, select the Specific date option, then specify the date and time you want your backup plan to be run
  • If you want the backup plan to run on a constant periodic basis, select the Recurring (Incremental) option
  • To stop the backup plan in case if it continues suspiciously long, select Stop the plan if it runs for check box, then specify the backup plan maximum duration

Recurring (Incremental) Schedule

The Schedule Recurring Options dialog help you to configure backup frequency:

  • In the Frequency field, specify the backup schedule.

Click Next.

| Previous Step | Top | Next Step |

Step 9: Retention Policy

Specify the retention policy for the backup plan.

The following options are available:

  • Do not purge. Select this option to keep all your backup runs
  • Keep backup for. Select this option to limit the period while backup contents are kept in the backup storage, then specify the period.

Select whether to enable GFS to create your own (grandfather-father-son) retention policy.

Click Next.

| Previous Step | Top | Next Step |

Step 10: Pre / Post Actions

Customize actions before and/or after the backup plan run.

Custom Scripts

You can execute custom scripts before or after running the backup plan.

  • To specify the script execution before the backup plan starts, select the Pre-backup action check box, then specify the path to the script in the field below. To open a standard Windows dialog box, click the ... button
  • Select the pre-backup script execution options:
    • Exit backup plan if pre-backup action failed. Select this option to cancel the backup plan in case the specified script fails
    • Continue backup plan if pre-backup action failed. Select this option to run the backup plan regardless of the specified script execution results
  • To specify the script execution after the backup plan terminates, select the Post-backup action check box, then specify the path to the script in the field below. To open a standard Windows dialog box, click the ... button
  • Select the post-backup script execution options:
    • Execute post-backup action only if backup plan has been successfully completed. Select this option to execute the post-backup script only in case of a backup plan success
    • Execute post-backup action regardless of the backup result. Select this option to execute the post-backup script in any case

Note that an absolute path to a script is required, i.e. if you specify the path to a script, it should be as follows:

c:\scripts\prebackup-script.bat

In case the absolute path to a script file is not specified, the default directory for script is "C:\Windows\System32"

The following script formats are supported: EXE, COM, BAT, CMD, or PIF

Mind that MSP360 (CloudBerry) Backup supports EXE files have several restrictions: EXE files must not use GUI and must close automatically upon termination.

For example, the following script will not succeed:

cmd.exe /F:ON

In this case, this command must be used with the /C parameter, as shown below:

cmd.exe /F:ON /C

The same restriction applies to applications executed by PowerShell scripts:

PowerShell.exe Start-Process cmd.exe exit

It is highly recommended to perform a test run for the created backup plan to ensure that MSP360 (CloudBerry) Backup properly executes specified scripts

Backup Plan Chains

In case you need to run another backup or restore plan once the backup plan is finished, use the Backup Chain feature. To create a backup chain, select the Backup chain check box, then select a backup or restore plan to be chained.

  • Execute the specified backup plan only if backup plan has been successfully completed. Select this option to execute the chained backup plan only in case of a backup plan success
  • Execute the specified backup plan regardless of the backup result. Select this option to execute the chained backup plan in any case
  • In case you chained a backup plan, you can enable the full backup for it regardless of the contents in the backup storage. To do this, select the Force full backup for the chained plan.

To learn more about the full backup type, refer to the Full Backup chapter

Click Next.

| Previous Step | Top | Next Step

Step 11: Notifications and Logging

Specify notification and logging settings.

  • To receive the notification after the backup plan completion, select the I want to receive notification email check box.
    • Select When backup fails or finished with warnings option if you want to receive the notification message in case of the backup plan failure or in case of some warnings
    • Select In all cases option if you want to receive the notification message in any case.
  • In the fields Email, Use name, Email subject specify the notification email details. You can specify one or more email recipients. Separate them by semicolon or comma, the recipient name (one for all of them). The email subject can also contain any of the following variables:
    • %COMPUTER_NAME%. Displays the instance name on which the backup plan was executed
    • %RESULT%. Displays the result of the backup plan. Possible values: Success, Finished with warnings, Failed
    • %PLAN_NAME%. Displays the name of the backup plan.
  • If you want to use your own SMPT server for notification emails, select the Use custom SMTP server for email notifications check box, then specify the settings for the SMTP server
  • If you want the backup plan record to be added to Windows Event Log, select on Add entry to Windows Event Log when backup completes check box
    • Select When backup fails or finished with warnings option if you want to receive the notification message in case of the backup plan failure or warnings
    • Select In all cases option if you want the entry to be put in Windows Event Log in any case.

Click Next.

| Previous Step | Top | Next Step |

Step 12: Summary

Review the configuration of the backup plan.

Click Next to proceed to the last wizard page.

Select the Run backup now check box to run the backup plan immediately.

If you want to run the backup plan later, leave the Run backup now check box unselected, then click Finish.

This backup plan will be started automatically on a schedule, or you can start it manually. The backup agent can work in the background, but the machine where the agent is installed should be running. Not necessary to run the CloudBerry Backup to execute the backup job as scheduled.

Edit a Backup Plan

To edit the backup plan, proceed as follows:

  1. Switch to the Backup Plans tab.
  2. Open the plan to edit, expand it, then click Edit.

  1. Follow the Edit Hyper-V Backup Wizard steps to save the backup plan configuration.

Delete a Backup Plan

To delete the backup plan, proceed as follows:

  1. Switch to the Backup Plans tab.
  2. Open the plan to delete, expand it, then click Delete.

  1. Click Yes to confirm the backup plan deletion. This cannot be undone.