Virtual Machine Backup
The backup service in ZSphere is based on periodic scheduled backups. To perform backups, configure a backup plan first. For more information, see Create a Backup Plan.
During backup plan execution, the backup mode, backup chain length, backup data retention policy, and backup QoS depend on the configured backup policy. For more information, see Backup Policy.
When a full or incremental backup is created for a VM with VM encryption or disk encryption enabled, the corresponding backup data remains encrypted. Before creating encrypted backup data, make sure that the default key provider is connected and available.
After backups are generated, you can use backup data to recover virtual machines. For more information, see Data Recovery.
Backup Policy
Backup Policy
- Default incremental backup
You only need to customize the incremental backup policy. The full backup policy is configured by the system. After 63 incremental backups are performed, the system automatically performs one full backup, and the maximum backup chain length is 64.
- Custom incremental backup
You need to customize both the incremental backup policy and the full backup policy. By customizing the full backup policy, you can shorten the full backup interval. More full backups shorten the backup chain and reduce the amount of backup data to merge during recovery.
- For incremental backup policies, ZSphere provides multiple options, including monthly, weekly, daily, hourly, and minutely backups.
- For full backup policies, ZSphere supports monthly and weekly backups.
- Monthly backup: If the execution time is set to 00:00 on the 1st day of every month, the backup starts at 00:00:00 on the first day of each month.
- Weekly backup: If the execution time is set to Sunday Tuesday 00:00, the backup starts at 00:00:00 every Sunday and Tuesday.
- Daily backup: If the execution time is set to 00:30, the backup starts at 00:30:00 every day.
The backup plan starts at the start time and performs backups based on the configured backup cycle and execution time.
Retention Policy
- Local retention policy:
- Retain by quantity: Retain at least the latest local incremental backup data and the latest local full backup data.
- Retain by time: Retain local backup data for at least the latest 1 day.
- Remote retention policy:
- Permanent retention: Remote backup data is not automatically cleaned up.
- Retain by quantity: Retain at least the latest remote incremental backup data and the latest remote full backup data.
- Retain by time: Retain remote backup data for at least the latest 1 day.
Create a Backup Plan
Before you begin
- Make sure the platform has sufficient authorized backup quota.
- Make sure the virtual machines to be backed up are in the running or paused state and are not associated with any other backup plans.
- If the data storage where a virtual machine resides is ZHPS distributed storage, the virtual machine cannot be associated with a backup plan.
Procedure
What to do next
After backups are generated, you can use backup data to recover virtual machines. For more information, see Data Recovery.
View Backup Plans and Data
During backup plan execution, you can view the execution status of backup plans to monitor backup activity in real time. For more information, see View Backup Plan Executions.
During backup plan execution, backup data is generated. You can view backup data for protected resources. For more information, see View VM Backup Data.
View Backup Plan Executions
View the Latest Backup Result
- In the navigation pane, choose .
- In the list, view the latest backup result from Latest Backup Job Result.
Check Backup Execution Status of Protected Resources
If you start a large backup plan that involves multiple virtual machines, you can view the backup result of each virtual machine to identify which virtual machines succeeded, failed, or are waiting to be backed up.
- In the navigation pane, choose .
- On the Backup Plan page, click the backup plan name to go to the details page.
- On the backup plan details page, click Backup Resources.
- On the Backup Resources tab, view the backup execution status of all protected resources in the backup plan.
View Backup Job Details in a Backup Plan
You can view details of each backup job, including the backup object, backup mode, number of backup resources, total backup capacity, backup job result, backup duration, start and completion time, and backup details.
- In the navigation pane, choose .
- On the Backup Plan page, click the virtual machine backup plan name to go to the details page.
- On the backup plan details page, click Backup Job.
- On the Backup Job tab, select the backup job that you want to view, and then click View Backup Details.
- In the Backup Job Details dialog, view details of the backup job.
View VM Backup Data
Backup plan execution generates a series of backup data records, which are stored in the specified backup storage. ZSphere provides a unified entry for viewing backup data of protected resources so that important protected workloads are not missed.
Procedure
Run a Backup Now
Use manual backup if you want to create an additional backup restore point for one or more virtual machines in a backup plan, do not want to create a new backup plan or modify an existing one, or have associated a backup plan with the VMs to be protected but backup data has not yet been generated based on the scheduled time.
Procedure
Create an On-Demand Backup
In addition to backing up a VM by adding it to a backup plan, you can create an on-demand backup for the VM.
Before you begin
- If the data storage where the VM resides is ZHPS distributed storage, backup creation is not supported.
- If the VM has an RDM disk attached, you cannot create an on-demand backup. To create a backup, detach the RDM disk first.
- If the VM has a shared disk attached, the shared disk is not backed up.
