Overview
Backup management integrates multiple disaster recovery technologies such as incremental backup and full backup that are suitable for multiple business scenarios. You can implement local backup and remote backup based on your business needs.
Backup Service is a separate feature module. To use this service, purchase both the Base License and the Plus License of Backup Service. The Plus License cannot be used independently.
Typical Backup Scenarios
Note: If
you have the Tenant Management Plus license at the same time, the project
members (project managers, project admins, and general project members) can
perform local backup for VM instances and volumes in the project.- Local Backup
A local ImageStore image storage can act as the Local Backup Server to store scheduled backup data of the local VM instances, volumes, and management node databases. Meanwhile, the seamless switchover between the primary local backup server and the secondary local backup server is supported, which effectively ensures your business continuity.
If your local data is mistakenly deleted, or data in the local primary storage is damaged, you can recover the backup data from the local backup server, as shown in Local Backup Scenario-1
Figure 1. Local Backup Scenario-1 
If you encounter a disaster in your local data center, you can rely totally on your local backup server to rebuild your data center and recover your business, as shown in Local Backup Scenario-2.
Figure 2. Local Backup Scenario-2 
- Remote Backup
A storage server in a remote data center can act as the Remote Backup Server to store the scheduled backup data of the local VM instances, volumes, and databases. The backup data needs to be synchronized to the remote backup server from the local backup server.
If your local data is mistakenly deleted, or data in the local primary storage is damaged, you can recover the backup data from the remote backup server, as shown in Remote Backup Scenario-1
Figure 3. Remote Backup Scenario-1 
If you encounter a disaster in your data center, you can rely totally on your remote backup server to rebuild your data center and recover your business, as shown in Remote Backup Scenario-2.
Figure 4. Remote Backup Scenario-2 
- Public Cloud Backup
The storage server in the Public Cloud can act as the Public Cloud Backup Server to store the scheduled backup data of the local VM instances, volumes, and databases. The backup data can be synchronized to the Public Cloud backup server from the local backup server.
If your local data is mistakenly deleted, or data in the local primary storage is damaged, you can recover the backup data from the Public Cloud backup server, as shown in Public Cloud Backup Scenario-1.
Figure 5. Public Cloud Backup Scenario-1 
If you encounter a disaster in your data center, you can rely totally on your Public Cloud backup server to rebuild your data center and recover your business, as shown in Public Cloud Backup Scenario-2.
Figure 6. Public Cloud Backup Scenario-2 
Preparations
- Before you can use Backup Service, you need to install ZStack Cloud as the admin and deploy resources necessary for VM instances.
- In addition, you need to purchase the Plus License of Backup Service as the admin.
Quick Start
Backup management module integrates multiple disaster recovery scenarios such as local backup, remote backup, and Public Cloud backup. You can choose different backup methods that are suitable to your business needs.
Local Backup
- Backup:
- Backup the data of the local VM instances/volumes/databases to a specified local backup server as scheduled.
- If you specify two local backup servers, the failover mechanism is supported.
- For backup jobs of local VM instances/volumes, you can configure incremental backup and full backup according to your business needs.
- Recover:
- If your local data is mistakenly deleted, or data in the local primary storage is damaged, you can recover the backup data from the local backup server.
- If you encounter a disaster in your local data center, you can rely totally on your local backup server to rebuild your data center and recover your business.
- Backup Practice:
- Add one or more local backup servers to the Cloud. To add a local backup server, see Local Backup Server.
- Create backup jobs of local VM instances/volumes/databases. To create a backup job, see Backup Job.
- Manage local backup data. For more information, see Local Backup Data.
- Recover Practice:
- Recover the backup data of local VM instances/volumes/databases from the local backup server. To recover local backup data, see Local Backup Data.
- Check the recovered resources.
For detailed information of the local backup practice, see Local Backup Practice.
Remote Backup
- Backup:
- Backup the data of the local VM instances/volumes/databases to a specified remote backup server as scheduled.
- The backup data needs to be synchronized to the remote backup server from the local backup server.
- For backup jobs of local VM instances/volumes, you can configure incremental backup and full backup according to your business needs.
- Recover:
- If your local data is mistakenly deleted, or data in the local primary storage is damaged, you can recover the backup data from the remote backup server.
- If you encounter a disaster in your local data center, you can rely totally on your remote backup server to rebuild your data center and recover your business.
- Before recovering the data of VM instances/volumes, you need to synchronize the data from the remote backup server to local.
- You can directly recover the backup data of databases to local.
- Backup Practice:
- Add a remote backup server to the Cloud. To add a remote backup server, see Remote Backup Server.
- Add one or more local backup servers to the Cloud. To add a local backup server, see Local Backup Server.
- Create backup jobs of local VM instances/volumes/databases. To create a backup job, see Backup Job.
- Manage remote backup data. Form more information, see Remote Backup Data.
- Recover Practice:
- Recover the backup data of local VM instances/volumes/databases from the remote backup server. To recover the remote backup data, see Remote Backup Data.
- Check the recovered resources.
For detailed information of the remote backup practice, see Remote Backup Practice.
Public Cloud Backup
- Backup:
- Backup the data of the local VM instances/volumes/databases to a specified Public Cloud backup server as scheduled.
- The backup data needs to be synchronized to the Public Cloud backup server from the local backup server.
- For backup jobs of local VM instances/volumes, you can configure incremental backup and full backup according to your business needs.
- Recover:
- If your local data is mistakenly deleted, or data in the local primary storage is damaged, you can recover the backup data from the Public Cloud backup server.
- If you encounter a disaster in your local data center, you can rely totally on your Public Cloud backup server to rebuild your data center and recover your business.
- Before recovering the data of VM instances/volumes, you need to synchronize the data from the Public Cloud backup server to local.
- You can directly recover the backup data of databases to local.
- Backup Practice:
- Add a Public Cloud backup server to the Cloud. To add a Public Cloud backup server, see Remote Backup Server.
- Add one or more local backup servers to the Cloud. To add a local backup server, see Local Backup Server.
- Create backup jobs of local VM instances/volumes/databases. To create a backup job, see Backup Job.
- Manage Public Cloud backup data. For more information, see Remote Backup Data.
- Recover Practice:
- Recover the backup data of local VM instances/volumes/databases from the Public Cloud backup server. To recover Public Cloud backup data, see Remote Backup Data.
- Check the recovered resources.
For detailed information of Public Cloud backup practice, see Public Cloud Backup Practice.
Backup Job
You can create backup jobs to back up VM instances, volumes, and databases on your local data center to specified local storage servers and sync the backup data to specified remote backup servers or backup servers on the public cloud.
The following describes how to create backup jobs for local VM instances and volumes and the management node database.
Overview
The backup job overview visually displays the backup job overview, resource overview, and backup job statistics of core resources on the Cloud.
On the main menu of ZStack Cloud, choose . On the Backup Job page, the Overview tab is displayed by default.

Job Overview
Job overview displays backup job number and state on a card.
- Total jobs: The total number of backup jobs on the Cloud, as well as the number of VM instance, volume, and database backup jobs.
- State: The state of backup jobs. Green indicates enabled, while red indicates disabled.
Resource Overview
Resource overview displays the backup and protection information about available VM instances/volumes on the Cloud.
- VM Instance:
- Backup Job: The number of VM instances that have backup jobs on the Cloud.
- CDP Task: The number of VM instances that have CDP tasks on the Cloud.
- No Task: The number of VM instances that have no backup jobs or CDP tasks on the Cloud.
-
Volume:
- Backup Job: The number of volumes that have backup jobs on the Cloud.
- Other: The number of volumes attached by VM instances with CDP tasks or backup jobs on the Cloud.
- No Task: The number of volumes that have no backup jobs or CDP tasks on the Cloud.
Backup Job Statistics
Backup job statistics displays the execution of backup jobs in a line chart with time period as the horizontal axis and job number as the vertical axis.
- Blue: The number of executed backup jobs within the selected time period.
- Green: The number of succeeded backup jobs within the selected time period.
- Yellow: The number of partially succeeded backup jobs within the selected time period. You can view the specific backup job result in the job details.
- Red: The number of failed backup jobs within the selected time period.
- Grey: The number of backup jobs that are scheduled to implement within the selected time period.
Note:
- The time filter applies to both the line chart (backup job statistics) and list (backup record).
- Allows you to view the execution of a backup job on the current date in hover.
Backup Record
Backup record displays the execution record of all backup jobs within the current time period, including execution time, name, backup resource, resources, backup mode, backup capacity, task result and time consumed. You can view the job details of a backup job.

Additional Information
- The backup job overview displays static data that will be updated every time you enter the page.
- Allows you to set an event alarm for a backup job, which triggers an alarm when a backup job fails.
Create a Backup Job
On the main menu of ZStack Cloud, choose . Then the Backup Job page appears. On the page, choose . Then, the Create Backup Job page appears.
- Backup jobs for local VM instances and data volumes
- Backup jobs for the management node database
Create Backup Job for Local VM Instance and Data Volume
- Set basic information.
- Name: Enter a name for the backup
job.
The name must be 1 to 128 characters in length and can contain Chinese characters, letters, digits, spaces, hyphens (-), underscores (_), periods (.), parenthesis (), colons (:), and plus signs (+) and cannot begin or end with spaces.
- Description: Optional. Enter a description for the backup job.
- Local Backup Server:
Specify one or two local backup servers.
Note:
- You can specify up to two local backup servers for a backup job.
- Before you can specify a local backup server, you need to add the server to ZStack Cloud Private Cloud. You can add multiple local backup servers. For more information, see Add a Local Backup Server.
- If you specify two local backup
servers, the primary and secondary roles are
determined by the order in which the servers are
added. By default, the first server added to the
Cloud is the primary backup server and the second is
the secondary backup server. If the primary local
backup server fails, failover between the primary and
secondary servers is supported.
- When the primary backup server works as expected, data is backed up on the primary backup server.
- If the primary backup server is disabled, removed, or disconnected, data is backed up on the secondary backup server.
- When the primary backup server resumes working as expected, data backup is auto-switched to the primary backup server.
- Sync to Remote Backup
Server: Choose whether to sync local backup data
to a remote backup server. A remote backup server can be a
server that is in another data center or from a public cloud. By
default, the switch is turned off.
Note: Before you can sync
backup data to a remote backup server, you need to add a
remote backup server to the Cloud. Note that you can add
only one remote backup server to the Cloud. For more
information, see Add a Remote Backup Server. - Remote Backup Server: Select a remote backup server if you want to sync data to a remote server.
- Set QoS: Optional.
You can set network QoS and disk QoS for the backup job.
- Downstream Bandwidth: Set the maximum downstream bandwidth. Unit: Kbps, Mbps, and Gbps. Valid values: 8 Kbps to 30 Gbps. If you do not specify the downstream bandwidth, this bandwidth is unlimited.
- Upstream Bandwidth: Set the maximum upstream bandwidth. Unit: Kbps, Mbps, and Gbps. Valid values: 8 Kbps to 30 Gbps. If you do not specify the upstream bandwidth, this bandwidth is unlimited.
- Disk Read Speed: Set the maximum read speed. Unit: MB/s and GB/s. Valid values: 1MB/s to 100GB/s. If you do not specify the disk read speed, this speed is unlimited.
- Disk Write Speed: Set the maximum write speed. Unit: MB/s and GB/s. Valid values: 1MB/s to 100GB/s. If you do not specify the disk write speed, this speed is unlimited.
Note: We recommend that you set a QoS
based on your physical network environments and the
concurrent number of implemented backup jobs.
Figure 9. Set Basic Information 
- Name: Enter a name for the backup
job.
- Select backup resource.
Select local VM instances or data volumes that you need to back up.
- Backup Resource: Select the type of
resource that you need to back up. You can select VM
Instance or Data Volume.
- If you select VM Instance, set the following
parameters:
- VM Instance: Select one
or more VM instances that you need to back
up.
Note: You can only back up running VM
instances. - Back up Volume: You can
back up all volumes that are attached to the
selected VM instances. By default, this switch is
turned on.
Note: You cannot back up shared volumes
that are attached to a VM instance.
- VM Instance: Select one
or more VM instances that you need to back
up.
- If you select Data Volume, set the following
parameter:Data Volume: Select one or more volumes that you need to back up.
Note: You can only back up volumes that are
attached to running VM instances.
- If you select VM Instance, set the following
parameters:
Figure 10. Select Backup Resource 
- Backup Resource: Select the type of
resource that you need to back up. You can select VM
Instance or Data Volume.
- Set backup policy.You can create a backup job in one of the following three backup modes:
- Incremental Backup + Default Full Backup:
- You only need to customize the incremental backup policy, and the full backup policy is set by default by system.
- The Cloud performs incremental backup based on the custom incremental backup policy.
- After the incremental backup is executed 63 times or a customized number of times, the Cloud will implement a full backup, which will delete the incremental backup records without affecting the data security.
- Incremental Backup + Custom Full Backup:
- You need to customize the incremental backup policy and the full backup policy.
- The Cloud performs incremental backup and full backup based on the custom incremental backup policy and full backup policy.
- After the incremental backup is executed 63 times or a customized number of times, the Cloud will implement a full backup, which will delete the incremental backup records without affecting the data security.
- Full Backup Policy:
- You need to customize the full backup policy.
- The Cloud performs full backup based on the custom full backup policy.
On the displayed page, set the following parameters:- Backup Mode: Select a backup mode for a
backup job, including Incremental Backup + Default Full
Backup, Incremental Backup + Custom Full
Backup.
- Incremental Backup + Default Full Backup:
- Incremental Backup
Policy: Customize an incremental
backup policy.
- Backup Cycle: Select a
backup cycle. Options: Backup by Month,
Backup by Week, Backup by Day,
Backup by Hour, and Backup by
Minute.If you select Backup by Month, Backup by Week, or Backup by Day, you can set the backup execution time and schedule the effective time of the backup job to the accuracy of a second.
- Execution Time:
- If you select Backup by Month and set
the execution time to 00:00:00 of the first day of
each month, the incremental backup job is executed
at 00:00:00 of the first day of each
month.
Note: If you set the execution time to the
31th day of each month, the incremental backup job
is executed only in the month that has 31
days. - If you select Backup by Week and set the execution time to 00:00:00 of Sunday and Tuesday of each week, the incremental backup job is executed at 00:00:00 of Sunday and Tuesday of each week.
- If you select Backup by Day and set the execution time to 00:30:00, the incremental backup job is executed at 00:30:00 of each day.
- If you select Backup by Month and set
the execution time to 00:00:00 of the first day of
each month, the incremental backup job is executed
at 00:00:00 of the first day of each
month.
- Schedule Effective
Time: Choose whether to schedule the
time when the backup job takes effect.
If you specify data backup by month, week, or day, you can schedule the time when the backup job takes effect. After the backup job takes effect, data backup is executed based on the specified cycle and time.
- Execution Time:
If you select Backup by Hour or Backup by Minute, you can set a finer-grained incremental backup cycle.- Start Time to
Implement:
- If you choose to back up data every 6 hours and set the start time to 2020-12-30 00:00:00, incremental backup is implemented starting from 00:00:00, Dec 30, 2020 at an interval of 6 hours.
- If you choose to back up data every 30 minutes and the start time to 2020-12-30 00:00:00, incremental backup is implemented starting from 00:00:00, Dec 30, 2020 at an interval of 30 minutes.
Note: The minimum backup interval is 15
minutes.
- Backup Cycle: Select a
backup cycle. Options: Backup by Month,
Backup by Week, Backup by Day,
Backup by Hour, and Backup by
Minute.
- Incremental Backup
Policy: Customize an incremental
backup policy.
- Incremental Backup + Custom Full Backup:
-
- Incremental Backup
Policy: Customize an incremental
backup policy.
- Backup Cycle: Select a
backup cycle. Options: Backup by Month,
Backup by Week, Backup by Day,
Backup by Hour, and Backup by
Minute.If you select Backup by Month, Backup by Week, or Backup by Day, you can set the backup execution time and schedule the effective time of the backup job to the accuracy of a second.
- Execution Time:
- If you select Backup by Month and set
the execution time to 00:00:00 of the first day of
each month, the incremental backup job is executed
at 00:00:00 of the first day of each
month.
Note: If you set the execution time to the
31th day of each month, the incremental backup job
is executed only in the month that has 31
days. - If you select Backup by Week and set the execution time to 00:00:00 of Sunday and Tuesday of each week, the incremental backup job is executed at 00:00:00 of Sunday and Tuesday of each week.
- If you select Backup by Day and set the execution time to 00:30:00, the incremental backup job is executed at 00:30:00 of each day.
- If you select Backup by Month and set
the execution time to 00:00:00 of the first day of
each month, the incremental backup job is executed
at 00:00:00 of the first day of each
month.
- Schedule Effective
Time: Choose whether to schedule the
time when the backup job takes effect.
If you specify data backup by month, week, or day, you can schedule the time when the backup job takes effect. After the backup job takes effect, data backup is executed based on the specified cycle and time.
- Execution Time:
If you select Backup by Hour or Backup by Minute, you can set a finer-grained incremental backup cycle.- Start Time to
Implement:
- If you choose to back up data every 6 hours and set the start time to 2020-12-30 00:00:00, incremental backup is implemented starting from 00:00:00, Dec 30, 2020 at an interval of 6 hours.
- If you choose to back up data every 30 minutes and the start time to 2020-12-30 00:00:00, incremental backup is implemented starting from 00:00:00, Dec 30, 2020 at an interval of 30 minutes.
Note: The minimum backup interval is 15
minutes.
- Backup Cycle: Select a
backup cycle. Options: Backup by Month,
Backup by Week, Backup by Day,
Backup by Hour, and Backup by
Minute.
- Incremental Backup
Policy: Customize an incremental
backup policy.
- Full Backup
Policy: Customize a full backup
policy.
- Backup Cycle: Select a
backup cycle. Options: Backup by Month and
Backup by Week.If you select Backup by Month or Backup by Week, you can set the backup execution time and schedule the effective time of the backup job to the accuracy of a second.
- Execution Time: Set the
time when the backup job is implemented.
- If you select Backup by Month and set
the execution time to 00:00:00 of the first day of
each month, the full backup job is executed at
00:00:00 of the first day of each month.
Note: If
you set the execution time to the 31th day of each
month, the full backup job is executed only in the
month that has 31 days. - If you select Backup by Week and set the execution time to 00:00:00 of Sunday and Tuesday of each week, the full backup job is executed at 00:00:00 of Sunday and Tuesday of each week.
- If you select Backup by Month and set
the execution time to 00:00:00 of the first day of
each month, the full backup job is executed at
00:00:00 of the first day of each month.
- Schedule Effective
Time: Choose whether to schedule the
time when the backup job takes effect.
You can schedule the time at which the backup job takes effect. After the backup job takes effect, data backup is executed based on the specified cycle and time.
- Execution Time: Set the
time when the backup job is implemented.
- Backup Cycle: Select a
backup cycle. Options: Backup by Month and
Backup by Week.
-
- Full Backup Policy:
- Full Backup
Policy: Customize a full backup
policy.
- Backup Cycle: Select a
backup cycle. Options: Backup by Month and
Backup by Week.If you select Backup by Month or Backup by Week, you can set the backup execution time and schedule the effective time of the backup job to the accuracy of a second.
- Execution Time: Set the
time when the backup job is implemented.
- If you select Backup by Month and set
the execution time to 00:00:00 of the first day of
each month, the full backup job is executed at
00:00:00 of the first day of each month.
Note: If
you set the execution time to the 31th day of each
month, the full backup job is executed only in the
month that has 31 days. - If you select Backup by Week and set the execution time to 00:00:00 of Sunday and Tuesday of each week, the full backup job is executed at 00:00:00 of Sunday and Tuesday of each week.
- If you select Backup by Month and set
the execution time to 00:00:00 of the first day of
each month, the full backup job is executed at
00:00:00 of the first day of each month.
- Schedule Effective
Time: Choose whether to schedule the
time when the backup job takes effect.
You can schedule the time at which the backup job takes effect. After the backup job takes effect, data backup is executed based on the specified cycle and time.
- Execution Time: Set the
time when the backup job is implemented.
- Backup Cycle: Select a
backup cycle. Options: Backup by Month and
Backup by Week.
- Full Backup
Policy: Customize a full backup
policy.
- Incremental Backup + Default Full Backup:
- Backup Immediately: Choose whether to back up data immediately after the backup job is created. By default, this option is not selected.
- Local Retention Policy: Set the policy
how the local backup data is reserved. The data can be reserved
by count or by time (day/week/month).
- If by count, a minimum of 1 local backup can be reserved.
- If by time, a minimum of 1 day of local backup can be reserved.
- Remote Retention Policy: Set the policy
how the remote backup data is reserved. The data can be reserved
permanently, by count, or by time (day/week/month).
- If permanently, the remote backup data will not be cleared automatically.
- If by count, a minimum of 1 remote backup can be reserved.
- If by time, a minimum of 1 day of remote backup can be reserved.
Figure 11. Set Backup Policy 
- Incremental Backup + Default Full Backup:
- Preview.
Preview the backup job. You can click the Edit icon to modify the job.
Figure 12. Preview 
Create Backup Job for Management Node Database
On the main menu of ZStack Cloud, choose . Then the Backup Job page appears. On the page, choose . Then the Create Backup Job page appears.
- Name: Enter a name for the backup job.
- Description: Optional. Enter a description for the backup job.
- Backup Resource: The management node database is displayed
- Local Backup Server:
Specify one or two local backup servers.
Note:
- You can specify up to two local backup servers for a backup job.
- Before you can specify a local backup server, you need to add the server to ZStack Cloud Private Cloud. You can add multiple local backup servers. For more information, see Add a Local Backup Server.
- If you specify two local backup
servers, the primary and secondary roles are
determined by the order in which the servers are
added. By default, the first server added to the
Cloud is the primary backup server and the second is
the secondary backup server. If the primary local
backup server fails, failover between the primary and
secondary servers is supported.
- When the primary backup server works as expected, data is backed up on the primary backup server.
- If the primary backup server is disabled, removed, or disconnected, data is backed up on the secondary backup server.
- When the primary backup server resumes working as expected, data backup is auto-switched to the primary backup server.
- Sync to Remote Backup
Server: Choose whether to sync local backup data
to a remote backup server. A remote backup server can be a
server that is in another data center or from a public cloud. By
default, the switch is turned off.
Note: Before you can sync
backup data to a remote backup server, you need to add a
remote backup server to the Cloud. Note that you can add
only one remote backup server to the Cloud. For more
information, see Add a Remote Backup Server. - Remote Backup Server: Select a remote backup server if you want to sync data to a remote server.
- Backup Policy: Set the backup policy for the backup
job.
- Backup Cycle: Select a backup cycle.
Options: Backup by Week, Backup by Day, and
Backup by Hour.If you select Backup by Week, Backup by Day, you can set the backup execution time of the full backup job to the accuracy of a second.
- Execution Time: Set the time when
the backup job is implemented.
- If you select Backup by Week and set the execution time to 00:00:00 of Sunday and Tuesday of each week, the full backup job is executed at 00:00:00 of Sunday and Tuesday of each week.
- If you select Backup by Day and set the execution time to 00:30:00, the full backup job is executed at 00:30:00 of each day.
If you select Backup by Hour, you can set finer-grained full backup job cycle to the accuracy of a second.
- Interval:
- Backup by the hour, with an interval of 2 hours. The full backup job is executed at an interval of 2 hours.
Note:
- The minimum interval between backup jobs is 1 hour.
- If you select Backup by Hour, you can back up on the hour from the moment the backup task is created.
- Execution Time: Set the time when
the backup job is implemented.
- Backup Cycle: Select a backup cycle.
Options: Backup by Week, Backup by Day, and
Backup by Hour.
- Data Retention Policy: Specify how the local backup
data and remote backup data is reserved.
- Local Retention Policy: Set the retention
policy for local backup data. Options: by count and by time
(day/week/month).
- If by count, a minimum of 1 local backup can be reserved.
- If by time, a minimum of 1 day of local backup can be reserved.
- Remote Retention Policy: Set the retention
policy for remote backup data. Options: permanent, by count, and by
time (day/week/month).
- If permanent, the remote backup data will not be cleared automatically.
- If by count, a minimum of 1 remote backup can be reserved.
- If by time, a minimum of 1 day of remote backup can be reserved.
- Local Retention Policy: Set the retention
policy for local backup data. Options: by count and by time
(day/week/month).

Notes
- By default, the value of
incrementalBackup.maxNumis 64. This value indicates that the Cloud will implement a full backup after the incremental backup is executed 63 times. You can also use zstack-cli to modify the value:[root@localhost ~]# zstack-cli admin>>> LogInByAccount accountName=admin password=password //Log into the system.The default username and password combination is admin/password. admin >>>UpdateGlobalConfig category=volumeBackup name=incrementalBackup.maxNum value=10 //Update the maximum times of incremental backup. { "inventory": { "category": "volumeBackup", "defaultValue": "64", "description": "the maximum numbers of continuous incremental backup", "name": "incrementalBackup.maxNum", "value": "10" }, "success": true } - After you set a data retention policy, only records are deleted for data outside the retention policy, which does not affect data security.
- If a full backup and incremental backup are triggered at the same time, the two backups are executed in queue.
- You can check the incremental backup data and full backup data on the Local Backup Data page. If you have selected Sync to Remote Backup Server, you can check the backup data on the remote backup server.
Manage a Backup Job
On the main menu of ZStack Cloud, choose . Then the Backup Job page appears.
| Action | Description |
|---|---|
| Edit Backup Job | Edit the name and description of a backup job. |
| Enable Backup Job | Enable a backup job. |
| Disable Backup Job | Disable a backup job. If you disable a backup job, data backup will not be implemented for the associated resources. In addition, you cannot create new backup jobs for the resources. |
| Set Backup Policy | Update the backup policy of the backup job. You
can edit the backup mode, backup retention policy, incremental
backup policy, and full backup policy. Note: New backup policies do
not affect backup jobs that have been triggered. |
| Set Backup Server | Configure local backup servers and remote backup servers for the backup job. |
| Backup Now | Implementing a backup job right now will generate
a new backup in the backup chain. Note:
|
| Delete Backup Job | Delete a backup job. If you delete a backup job,
data backup is terminated for the associated resources. You can
create new backup jobs for the resources. Note:
|
| Action | Description |
|---|---|
| Edit Backup Job | Edit the name and description of a backup job. |
| Enable Backup Job | Enable a backup job. |
| Disable Backup Job | Disable a backup job. If you disable a backup job, data backup will not be implemented for the associated resources. In addition, you cannot create new backup jobs for the resources. |
| Backup Now | Implementing a backup job right now will generate a new backup in the backup chain. |
| Delete Backup Job | Delete a backup job. If you delete a backup job, data backup is
terminated for the associated resources. You can create new backup
jobs for the resources. Note:
|
Local Backup Data
- You can restore the backup data to your local server or synchronize the data to a remote backup server.
- When you restore a database, refreshing the browser will make the UI display improperly without affecting the restoring process.
- With the Backup Service, you can back up or restore the data stored in the management node database. Note that the operation logs and monitoring information cannot be backed up or restored.
- View the local backup data.
- Restore the local backup data.
- Synchronize the local backup data to a remote backup server.
- Delete the local backup data.
- Scan the database backup.
- Export the backup data of the local database.
View the Local Backup Data
On the main menu of ZStack Cloud, choose . On the Local Backup Data page, you can manage the local backup data.

- This page includes three tab pages: VM Instance, Volume, and Database. Each tab page displays the backup data generated based on the backup jobs.
- The backup data is displayed as a folder by resource or database.
- Under each resource or database folder, the backup data of the resource or database is arranged in order based on the latest creation date.
Restore the Local Backup Data
You can restore the local backup data of the local VM instances, volumes, or databases to your local server.
- Restore a local VM instance
On the Local Backup Data page, select the backup data of a VM instance and choose Restore from the Actions column. Then, the Recover Backup Data page is displayed.
On the displayed page, set the following parameters:- Recovery Policy: Select a recovery
policy.The following two policies are available:
- New Resource:If you choose this policy, set the following parameters:
- Name: Set a name for the VM instance.
- Description: Optional. Enter a description for the VM instance.
- Instance Offering: Select an instance offering for the VM instance.
- Network Configuration: Select a network for the VM instance.
- Recover Volume Data:
Choose whether to recover the volume data.
Note: If
the selected backup data is the whole backup data
of the VM instance, you can restore the VM
instance with its volumes to the local server.
This helps ensure the data consistency.
- Advanced Settings:
- Primary Storage:
Optional. Specify a primary storage for the root
volumes of the VM instance.
Note:
When you restore the backup data of a VM instance that uses a SharedBlock primary storage, you need to choose a provisioning method, including thin provisioning and thick provisioning.- Thin provisioning: Allocates storage spaces to VM instances according to the actual usage to achieve higher storage utilization.
- Thick provisioning: Pre-allocates the required storage space, providing sufficient storage capacity to VM instances and ensures the storage performance.
- Host: Optional. Specify a host on which the VM instance is started.
- Primary Storage:
Optional. Specify a primary storage for the root
volumes of the VM instance.
Figure 15. New Resource 
- Overwrite Original Resource:If you choose this policy, set the following parameters:
- Name: The name of the original resource is displayed.
- Description: The description (if any) of the original resource is displayed.
- Recover Volume Data: Choose whether to recover the volume data.
Figure 16. Overwrite Original Resource 
Note:
- Before you can overwrite the original resource, stop the VM instance first.
- If the selected backup data is the whole backup data of the VM instance, you can restore the VM instance with its volumes to the local server. This helps ensure the data consistency.
- New Resource:
- Recovery Policy: Select a recovery
policy.
- Restore a volume
On the Local Backup Data page, select the backup data of a volume and choose Restore from the Actions column. Then, the Recover Backup Data page is displayed.
On the displayed page, set the following parameters:- Recovery Policy: Select a recovery
policy.The following two policies are available:
- New Resource:If you choose this policy, set the following parameters:
- Name: Set a name for the volume.
- Description: Optional. Enter a description for the volume.
- VM Instance: Select a
VM instance to which the volume is to be attached.
Note:
When you restore the backup data of a volume that uses a SharedBlock primary storage, you need to choose a provisioning method, including thin provisioning and thick provisioning.- Thin provisioning: Allocates storage spaces to volumes according to the actual usage to achieve higher storage utilization.
- Thick provisioning: Pre-allocates the required storage space, providing sufficient storage capacity to volumes and ensures the storage performance.
- Primary Storage: The primary storage used by the VM instance is displayed.
- VirtIO SCSI: Choose
whether to create VirtIO SCSI data volumes. By
default, this checkbox is not selected.
Note: If
you are using a LocalStorage primary storage, we
recommend that you do not use VirtIO SCSI data
volumes.
Figure 17. New Resource 
- Overwrite Original Resource:If you choose this policy, you do not need to make any settings.
- Name: The name of the original resource is displayed.
- Description: The description (if any) of the original resource is displayed.
Figure 18. Overwrite Original Resource 
- New Resource:
- Recovery Policy: Select a recovery
policy.
- Restore a database
- Assume that the original ZStack Cloud
Private Cloud exists and you want to restore the
database from the local backup data to overwrite the original one.
- Make sure that the global setting
Database Recovery from Backup Data is enabled.
On the main menu of ZStack Cloud, choose and set Database Recovery from Backup Data to true. This allows you to restore a database from the backup data.
- On the Database tab page, select the specified backup data and choose Restore from the Actions column.
- In the displayed Recover Database dialog
box, enter the root password. The initial password is
zstack.mysql.password.
Figure 19. Recover Database 
Note:
- Restoring the database restarts the management node, during which time the management interface cannot be used.
- This process usually takes a few minutes without affecting your business resources.
- If you deleted a resource (such as a VM instance or volume) after the backup point, the deleted resource will become invalid and its data cannot be restored. You can clean up the invalid data manually.
- The system restores the database.
Figure 20. Restoring Database 
- The database is restored successfully. You
can click Relogin to log in to the Cloud
again.
Figure 21. Database Restored Successfully 
Note: After the database is restored, all resources of the
Cloud are back to the original state before the backup. You
can click Scan Backup Data in the
local backup server page to obtain the actual backup data
information.
- Make sure that the global setting
Database Recovery from Backup Data is enabled.
- Assume that the original ZStack Cloud
Private Cloud does not exist and you want to restore
the database from the local backup data to build a new Cloud.
- Log in to the system. Then, the
Welcome to use our Cloud page is
displayed. Choose .
Figure 22. Restore Backup Data 
- Prepare the server.On the Prepare Server page, set the following parameters:
- Backup Server IP: Enter the IP address of the local backup server.
- URL: Enter the URL of the
storage mounted to the local backup server. For
example, /mnt/xxx_ds.
Note: The
backup data of the database is stored in the
storage of the URL. - SSH Port: Enter the SSH port. Default: 22.
- User Name: Enter the user name. Default: root.
- Password: Enter the password.
Figure 23. Prepare Server 
- Prepare backup data.On the Prepare Backup Data page, set the following parameters:
- Database Backup Data: Select the backup data of the database to restore.
Figure 24. Prepare Backup Data 
Note:
- The system will detect the number of the licensed hosts (CPU cores). You need to select the appropriate database backup data to restore. You can also update the license to increase the licensed quota to avoid the management node start failure due to insufficient licensed quota.
- In the displayed Recover
Database dialog box, enter the root password. The
initial password is zstack.mysql.password.
Figure 25. Restore Database 
Note:
- Restoring the database restarts the management node, during which time the management interface cannot be used.
- This process usually takes a few minutes without affecting your business resources.
- If you deleted a resource (such as a VM instance or volume) after the backup point, the deleted resource will become invalid and its data cannot be restored. You can clean up the invalid data manually.
- The system restores the database.
Figure 26. Restoring Database 
- The database is restored successfully. You
can click Relogin to log in to the Cloud
again.
Figure 27. Database Restored Successfully 
Note: After the database is
restored, all resources of the Cloud are back to the
original state before the backup. You can click
Scan Backup Data in the local
backup server page to obtain the actual backup data
information.
Note:
- If the management node fails to start due to insufficient licensed quota, a pop up window will be displayed, prompting you to increase the licensed quota and then restore the database.
- Here are some notices on the business recovery in a
newly-built data center:
- If the network topology and storage architecture of the new data center are the same as those of the original one, the business will be recovered after all hardware resources (such as hosts and primary storages) are successfully reconnected.
- If the network topology and storage architecture of the new data center are different from those of the original one, you can recover your business by adding a new host and rebuilding a network topology.
- Log in to the system. Then, the
Welcome to use our Cloud page is
displayed. Choose .
- Assume that the original ZStack Cloud
Private Cloud exists and you want to restore the
database from the local backup data to overwrite the original one.
Synchronize Local Backup Data to a Remote Server
Note: Before you can synchronize data to a remote server, add
a remote backup server to ZStack Cloud
Private Cloud. Note that you can add only one remote backup
server. For information about how to add a remote backup server, see Remote Backup Server.Delete Local Backup Data
Note: By default, only the local backup data is deleted. To delete the
backup data in the remote backup server, select Delete Also Data on Remote
Backup Server.Scan Database Backup
Note: For a newly added local backup server, you can manually scan the
database backup to ensure that the records of the local backup data of the
database in the local backup server are consistent with the local
records.Export Backup Data of a Local Database

Local Backup Server
On the main menu of ZStack Cloud, choose . On the Local Backup Server page, click Add Local Backup Server. Then, the Add Local Backup Server page is displayed.
- Use an existing image storage.
- Add a new server.
Use an Existing Image Storage
- Zone: By default, the current zone is displayed.
- Addition Method: Select Existing Image Storage.
- Image Storage: Add an image storage. Only ImageStore
image storage are supported.
Note: Make sure that the image storage uses an
operating system consistent with that of the management
node. - Backup Network: Enter the backup
network CIDR.
Note:
- If you deployed a network dedicated to local backup, you can add the network to the Cloud directly.
- In local backup scenarios, this backup network is used for VM, volume, and database backing up and recovery, CDP task creation, and CDP data recovery.
- Using a dedicated network can avoid network congestions and improve the transmission efficiency.
- Backup Data: Optional. Choose whether to scan the
existing backup data.
Note: Deleted backup data cannot be restored by this
operation.

Add a New Server
- Zone: By default, the current zone is displayed.
- Addition Method: Select Add Server to add a new server.
- Name: Enter a name for the local
backup server.
The name must be 1 to 128 characters in length and can contain Chinese characters, letters, digits, spaces, hyphens (-), underscores (_), periods (.), parenthesis (), colons (:), and plus signs (+) and cannot begin or end with spaces.
- Description: Optional. Enter a description for the local backup server.
- Backup Server IP: Enter the IP
address of the local backup server.
Note:
- You need to prepare a new storage server in the local data center as a local backup server.
- Make sure that the backup server uses an operating system consistent with that of the management node.
- Mount Path: Enter the path to which the storage is mounted, for example, /mnt/xxx_ds.
- SSH Port: Enter the SSH port. Default: 22.
- User Name: Enter the user name. Default: root.
- Password: Enter the password.
- Backup Network: Enter the backup
network CIDR.
Note:
- If you deployed a network dedicated to local backup, you can add the network to the Cloud directly.
- In local backup scenarios, this backup network is used for VM, volume, and database backing up and recovery, CDP task creation, and CDP data recovery.
- Using a dedicated network can avoid network congestions and improve the transmission efficiency.
- Backup Data: Choose whether to
scan the existing backup data.
Note: Deleted backup data cannot be restored
by this operation.

Manage a Local Backup Server
On the main menu of ZStack Cloud, choose . Then, the Local Backup Server page is displayed.
| Action | Description |
|---|---|
| Add Local Backup Server | Use an existing image storage (ImageStore only) as the local backup server or add a new server as the local backup server. |
| Enable Local Backup Server | Enable a disabled local backup server. |
| Disable Local Backup Server | Disable an enabled local backup server. Note:
|
| Reconnect Local Backup Server | Reconnecting a local backup server will update the records of the backup data on the local backup server. |
| Scan Backup Data | Scan the existing backup data in the local backup
server and display the backup data records on the Cloud
platform. Note: Deleted backup data cannot be restored by the
scan action. |
| Cleanup Data | Clean up the invalid backup data and expired temporary data that have been completely deleted from the local backup server to free up the storage space. |
| Update Password | Change the password of a local backup server. |
| Delete Local Backup Server | Delete a local backup server. Note: Deleting a
local backup server will stop the backup jobs and CDP tasks on the server. Please exercise
caution. |
Remote Backup Server
On the main menu of ZStack Cloud, choose . On the Remote Backup Server page, click Add Remote Backup Server. Then, the Add Remote Backup Server page is displayed.
- Add a remote backup server.
- Add an Alibaba Cloud backup server.
Add a remote backup server
- Name: Enter a name for the remote backup server. The name must be 1 to 128 characters in length and can contain Chinese characters, letters, digits, spaces, hyphens (-), underscores (_), periods (.), parenthesis (), colons (:), and plus signs (+) and cannot begin or end with spaces.
- Description: Optional. Enter a description for the remote backup server.
- Type: select Remote Backup here.
- Zone: Select the zone to which the remote backup server is mounted.
- Backup Server IP: Enter the IP address of the remote
backup server.
Note:
- You need to prepare a new storage server in the remote data center as a remote backup server.
- Make sure that the backup server uses an operating system consistent with that of the management node of ZStack Cloud.
- Mount Path: Enter the path to which the storage is mounted, for example, /mnt/remote_ds.
- SSH Port: Enter the SSH port. Default: 22.
- User Name: Enter the user name. Default: root.
- Password: Enter the password.

Add an Alibaba Cloud backup server
- Name: Enter a name for the Alibaba Cloud backup
server.
The name must be 1 to 128 characters in length and can contain Chinese characters, letters, digits, spaces, hyphens (-), underscores (_), periods (.), parenthesis (), colons (:), and plus signs (+) and cannot begin or end with spaces.
- Description: Optional. Enter a description for the remote backup server.
- Type: select Alibaba Cloud Backup here.
- Zone: Select the zone to which the Alibaba Cloud backup server is mounted.
- Backup Server IP: Enter the IP address of the Alibaba
Cloud backup server.
Note:
You need to prepare a new storage server in the Alibaba Cloud as a remote backup server. Method:- Download the standard backup service image from the official website of ZStack Cloud.
- Create an ECS instance based on the standard image. Note that a public IP address is required.
- Purchase the NAS storage in the Alibaba Cloud console.
- Mount the NAS storage to the ECS instance.
- Enter the public IP address of the ECS instance as the IP address of the Alibaba Cloud backup server.
- Mount Path: Enter the path to which the NAS storage is mounted, for example, /mnt/remote_ds.
- SSH Port: Enter the SSH port. Default: 22.
- User Name: Enter the user name. Default: root.
- Password: Enter the password.

Remote Backup Data
The remote backup data is the data of the local VM instances, volumes, and databases backed up in the remote backup server. You can manage the remote backup data on the Backup Data tab page of the Remote Backup Server details page.
- View the remote backup data.
- Synchronize the remote backup data to a local server.
- Delete the remote backup data.
- Restore the remote backup data.
- Scan the database backup.
- Export the backup data of the remote database.
View the Remote Backup Data
On the main menu of ZStack Cloud, choose . Then, the Remote Backup Server page is displayed. Click on the name of a remote backup server to expand its details page. On the Backup Data tab page, you can manage the remote backup data.
Synchronize the Remote Backup Data to a Local Server
Note:
- If you added only one local backup server, the remote backup data will be synchronized to this local backup server.
- If you added multiple local backup servers, you need specify a local backup server and then synchronize the remote backup data to the local server.
Delete Remote Backup Data
Note: Deleting the remote backup data also deletes the local records
of the remote backup data. The actual data is not affected.Restore the Remote Backup Data
- Before you can restore the remote backup data to a local server, synchronize the remote data of the local VM instances and volumes to the local backup server.
- The remote backup data of the database is directly restored to the local server.
- Restore a local VM instance
- On the Backup Data tab page of the Remote Backup Server details page, select the remote backup data of a VM instance and choose Sync to Local from the Actions column.
- Click on the backup data to expand its details page and choose Restore from the Actions column. Then, the Recover Backup Data page is displayed.
- On the Recover Backup Data page, set the following
parameters:
- Recovery Policy: Select a recovery
policy.The following two policies are available:
- New Resource:If you choose this policy, set the following parameters:
- Name: Set a name for the VM instance.
- Description: Optional. Enter a description for the VM instance.
- Instance Offering: Select an instance offering for the VM instance.
- Network Configuration: Select a network for the VM instance.
- Recover Volume Data:
Choose whether to recover the volume data.
Note: If
the selected backup data is the whole backup data
of the VM instance, you can restore the VM
instance with its volumes to the local server.
This helps ensure the data consistency.
- Advanced Settings:
- Primary Storage:
Optional. Specify a primary storage for the root
volumes of the VM instance.
Note:
When you restore the backup data of a VM instance that uses a SharedBlock primary storage, you need to choose a provisioning method, including thin provisioning and thick provisioning.- Thin provisioning: Allocates storage spaces to VM instances according to the actual usage to achieve higher storage utilization.
- Thick provisioning: Pre-allocates the required storage space, providing sufficient storage capacity to VM instances and ensures the storage performance.
- Host: Optional. Specify a host on which the VM instance is started.
- Primary Storage:
Optional. Specify a primary storage for the root
volumes of the VM instance.
Figure 33. New Resource 
- Overwrite Original Resource:If you choose this policy, set the following parameters:
- Name: The name of the original resource is displayed.
- Description: The description (if any) of the original resource is displayed.
- Recover Volume Data: Choose whether to recover the volume data.
Figure 34. Overwrite Original Resource 
Note:
- Before you can overwrite the original resource, stop the VM instance first.
- If the selected backup data is the whole backup data of the VM instance, you can restore the VM instance with its volumes to the local server. This helps ensure the data consistency.
- New Resource:
- Recovery Policy: Select a recovery
policy.
- Restore a volume
- On the Backup Data tab page of the Remote Backup Server details page, select the remote backup data of a VM instance, and choose Sync to Local from the Actions column.
- Click on the backup data to expand its details page, and choose
Restore from the
Actions column. Then, the Recover
Backup Data page is displayed. On the displayed page, set
the following parameters:
- Recovery Policy: Select a recovery
policy.The following two policies are available:
- New Resource:If you choose this policy, set the following parameters:
- Name: Set a name for the volume.
- Description: Optional. Enter a description for the volume.
- VM Instance: Select a
VM instance to which the volume is to be attached.
Note:
When you restore the backup data of a volume that uses a SharedBlock primary storage, you need to choose a provisioning method, including thin provisioning and thick provisioning.- Thin provisioning: Allocates storage spaces to volumes according to the actual usage to achieve higher storage utilization.
- Thick provisioning: Pre-allocates the required storage space, providing sufficient storage capacity to volumes and ensures the storage performance.
- Primary Storage: The primary storage used by the VM instance is displayed.
- VirtIO SCSI: Choose
whether to create VirtIO SCSI data volumes. By
default, this checkbox is not selected.
Note: If
you are using a LocalStorage primary storage, we
recommend that you do not use VirtIO SCSI data
volumes.
Figure 35. New Resource 
- Overwrite Original Resource:If you choose this policy, you do not need to make any settings.
- Name: The name of the original resource is displayed.
- Description: The description (if any) of the original resource is displayed.
Figure 36. Overwrite Original Resource 
- New Resource:
- Recovery Policy: Select a recovery
policy.
- Restore a database
- Assume that the original ZStack Cloud
Private Cloud exists and you want to restore the
database from the remote backup data to overwrite the original one.
- Make sure that the global setting
Database Recovery from Backup Data is enabled.
On the main menu of ZStack Cloud, choose and set Database Recovery from Backup Data to true. This allows you to restore a database from the backup data.
- On the Backup Data tab page of the
Remote Backup Server details page,
select the remote backup data of a database, and choose
Restore from the
Actions column. In the displayed
Recover Database dialog box, enter the
root password. The initial password is
zstack.mysql.password.
Figure 37. Recover Database 
Note:
- Restoring the database restarts the management node, during which time the management interface cannot be used.
- This process usually takes a few minutes without affecting your business resources.
- If you deleted a resource (such as a VM instance or volume) after the backup point, the deleted resource will become invalid and its data cannot be restored. You can clean up the invalid data manually.
- The system restores the database.
Figure 38. Restoring Database 
- The database is restored successfully. You
can click Relogin to log in to the Cloud
again.
Figure 39. Database Restored Successfully 
Note: After the database is restored, all resources of the
Cloud are back to the original state before the backup. You
can click Scan Backup Data in the
local backup server page to obtain the actual backup data
information.
- Make sure that the global setting
Database Recovery from Backup Data is enabled.
- Assume that the original ZStack Cloud
Private Cloud does not exist and you want to restore
the database from the remote backup data to build a new Cloud.
- Log in to the system. Then, the
Welcome to use our Cloud page is
displayed. Choose .
Figure 40. Restore Backup Data 
- Prepare the server.On the Prepare Server page, set the following parameters:
- Backup Server IP: Enter the
IP address of the remote backup server.
Note: Make
sure that the backup data of the database in the
remote backup server is intact. - URL: Enter the URL of the
storage mounted to the remote backup server. For
example,
/mnt/remote_ds.
Note: The
backup data of the database is stored in the
storage of the URL. - SSH Port: Enter the SSH port. Default: 22.
- User Name: Enter the user name. Default: root.
- Password: Enter the password.
Figure 41. Prepare Server 
- Backup Server IP: Enter the
IP address of the remote backup server.
- Prepare backup data.On the Prepare Backup Data page, set the following parameters:
- Database Backup Data: Select the backup data of the database to restore.
Figure 42. Prepare Backup Data 
Note:
- The system will detect the number of the licensed hosts (CPU cores). You need to select the appropriate database backup data to restore. You can also update the license to increase the licensed quota to avoid the management node start failure due to insufficient licensed quota.
- In the displayed Recover
Database dialog box, enter the root password. The
initial password is zstack.mysql.password.
Figure 43. Restore Database 
Note:
- Restoring the database restarts the management node, during which time the management interface cannot be used.
- This process usually takes a few minutes without affecting your business resources.
- If you deleted a resource (such as a VM instance or volume) after the backup point, the deleted resource will become invalid and its data cannot be restored. You can clean up the invalid data manually.
- The system restores the database.
Figure 44. Restoring Database 
- The database is restored successfully. You
can click Relogin to log in to the Cloud
again.
Figure 45. Database Restored Successfully 
Note: After the database is restored, all resources of the
Cloud are back to the original state before the backup. You
can click Scan Backup Data in the
local backup server page to obtain the actual backup data
information.
Note:
- If the management node fails to start due to insufficient licensed quota, a pop up window will be displayed, prompting you to increase the licensed quota and then restore the database.
- Here are some notices on the business recovery in a
newly-built data center:
- If the network topology and storage architecture of the new data center are the same as those of the original one, the business will be recovered after all hardware resources (such as hosts and primary storages) are successfully reconnected.
- If the network topology and storage architecture of the new data center are different from those of the original one, you can recover your business by adding a new host and rebuilding a network topology.
- Log in to the system. Then, the
Welcome to use our Cloud page is
displayed. Choose .
- Assume that the original ZStack Cloud
Private Cloud exists and you want to restore the
database from the remote backup data to overwrite the original one.
Scan Database Backup
Note: For a newly added remote backup server, you can manually
scan the database backup to ensure that the records of the remote backup data of
the database in the remote backup server are consistent with the local
records.Typical Practices
This chapter includes scenarios of local backup practice, remote backup practice, and Public Cloud backup practice.
Local Backup Practice
About this task
Assume that you have deployed the latest ZStack Cloud environment on local and purchased both the Base License and the Plus License of Backup Service. Now, you plan to add a local backup server to backup VM instances with non-shared volumes. Assume that the data is backed up to a local backup server, and the service VM instance is mistakenly expunged, causing Web service interruption (http://192.168.1.1) and data loss. After you have recovered the data from the local backup server, the service and data are both back to normal.

| Local Backup Server | Configuration |
|---|---|
| Backup Server IP | 192.168.0.1 |
| Mount Path | /local_ds |
| SSH Port | 22 |
| User Name | root |
| Password | password |
| Backup Network | 192.168.0.0/24 |
- Add a local backup server.
- Create a backup job.
- Check the local backup data and the service state.
- Expunge the VM instance by mistake.
- Recover the backup data of VM instance and volume to local.
- Validate whether the service is recovered.
Procedure
-
Add a local backup server.
On the main menu of ZStack Cloud, choose . On the Local Backup Sever page, click Add Local Backup Sever. Then, the Add Local Backup Sever page is displayed.
On the displayed page, set the following parameters:- Zone: By default, the current zone is displayed.
- Addition Method: In this scenario, select Add Server.
- Name: Enter a name for the local backup server.
- Description: Optional. Enter a description for the local backup server.
- Backup Server IP: Enter the IP address of the
local backup server. In this scenario, enter
192.168.0.1.
Note: Make sure that the backup server uses
an operating system consistent with that of the management
node. - Mount Path: Enter the path to which the storage is mounted. In this scenario, enter /local_ds.
- SSH Port: Enter the SSH port. Default: 22.
- User Name: Enter the user name. Default: root.
- Password: Enter the password of the corresponding user. In this scenario, enter password.
- Backup Network: Optional. Set the backup network. In this scenario, enter 192.168.0.0/24.
- Backup Data: Choose whether to scan the existing backup data. In this scenario, unselect the checkbox.
Figure 47. Add Local Backup Server 
-
Create a backup job.
On the main menu of ZStack Cloud, choose . Then the Backup Job page appears. On the page, choose . Then, the Create Backup Job page is displayed.
To create a backup job, follow these four steps:
-
Check the local backup data and the service state.
-
Expunge the VM instance by mistake.
Assume that you mistakenly expunge the service VM instance causing Web service interruption.
Figure 54. Web Service Interruption 
-
Recover the backup data of VM instance and volume to local.
On the main menu of ZStack Cloud, choose . On the Local Backup Data page, locate the backup data of the mistakenly expunged VM instance and click . Then, the Recover Backup Data page is displayed.
On the displayed page, set the following parameters:- Recover Policy: In this scenario, select New Resource.
- Name: Enter a name for the new resource.
- Description: Optional. Enter a description for the new resource.
- Instance Offering: Select an existing instance offering.
- Network Configuration: Configure the network
resources and network services for the VM instance.
- Network: Select an L3 network for the VM instance. In this scenario, select flat network.
- Make Default: Set one of the networks as the default network of the VM instance.
- Specify IP: Optional. Choose whether to specify an IP address to the VM instance. In this scenario, specify 192.168.1.1.
- Specify MAC Address: Optional. Choose whether to customize a MAC address for the VM instance.
- Security Group: Optional. Associate an existing security group with the VM instance.
- Recover Volume Data: Optional. Choose whether to recover the data of the volume that attached to the VM instance. In this scenario, enable this option.
- Advanced Settings: Optional. Configure advanced policies for recovering backup data. In this scenario, we do not specify advanced settings.
Figure 55. Recover Backup Data 
-
Validate whether the service is recovered.
Use a browser to access to the Web service URL and confirm that the VM instance can normally provide Web service and the data is normal.
Figure 56. Web Service 
What to do next
So far, we have introduced the typical practice of the local backup scenario.
Remote Backup Practice
About this task
Assume that you have deployed the latest ZStack Cloud environment on local and purchased both the Base License and the Plus License of Backup Service. Now, you plan to add a local backup server and a remote backup server to backup a service VM instance with non-shared volumes. The data is backed up to the local backup server and synced to the remote backup server in Zone-1. Assume that you have mistakenly expunged a service VM instance causing Web service interruption (http://192.168.1.1) and data loss. In addition, the local backup server is destroyed, so you have to recover backup data from the remote backup server. After data is recovered, both the service and data are back to normal.

| Local Backup Server | Configuration |
|---|---|
| Backup Server IP | 192.168.0.1 |
| Mount Path | /local_ds |
| SSH Port | 22 |
| User Name | root |
| Password | password |
| Backup Network | 192.168.0.0/24 |
| Remote Backup Server | Configuration |
|---|---|
| Backup Server IP | 172.20.0.1 |
| Mount Path | /remote_ds |
| SSH Port | 22 |
| User Name | root |
| Password | password |
- Add backup servers.
- Create a backup job.
- Check the state of local backup data, remote backup data, and the service.
- Expunge the VM instance by mistake.
- Recover VM instance/volume backup data.
- Validate whether the service is recovered.
Procedure
-
Add backup servers.
-
Create a backup job.
On the main menu of ZStack Cloud, choose . Then the Backup Job page appears. On the page, choose . Then, the Create Backup Job page is displayed.
To create a backup job, follow these four steps:
-
Check the state of local backup data, remote backup data, and the
service.
-
Expunge the VM instance by mistake.
Assume that you mistakenly expunge the service VM instance causing Web service interruption.
Figure 67. Web Service Interruption 
-
Recover VM instance/volume backup data.
-
Recover the backup data of VM instance and volume to local.
On the main menu of ZStack Cloud, choose . On the Local Backup Data page, locate the backup data of the mistakenly expunged VM instance and click . Then, the Recover Backup Data page is displayed.
On the displayed page, set the following parameters:- Recover Policy: In this scenario, select New Resource.
- Name: Enter a name for the new resource.
- Description: Optional. Enter a description for the new resource.
- Instance Offering: Select an existing instance offering.
- Network Configuration: Configure the network
resources and network services for the VM instance.
- Network: Select an L3 network for the VM instance. In this scenario, select flat network.
- Make Default: Set one of the networks as the default network of the VM instance.
- Specify IP: Optional. Choose whether to specify an IP address to the VM instance. In this scenario, specify 192.168.1.1.
- Specify MAC Address: Optional. Choose whether to customize a MAC address for the VM instance.
- Security Group: Optional. Associate an existing security group with the VM instance.
- Recover Volume Data: Optional. Choose whether to recover the data of the volume that attached to the VM instance. In this scenario, enable this option.
- Advanced Settings: Optional. Configure advanced policies for recovering backup data. In this scenario, we do not specify advanced settings.
Figure 69. Recover Backup Data 
-
Validate whether the service is recovered.
Use a browser to access to the Web service URL and confirm that the VM instance can normally provide Web service and the data is normal.
Figure 70. Web Service 
What to do next
So far, we have introduced the typical practice of the remote backup scenario.
Public Cloud Backup Practice
About this task
Assume that you have deployed the latest ZStack Cloud environment on local, purchased both the Base License and the Plus License of Backup Service, and owned an ECS instance on Alibaba Cloud. Now, you plan to add a local backup server and an ECS instance as the Public Cloud backup server. The data is backed up to the local backup server and synced to the Public Cloud backup server in Zone-1. Assume that the VM instance data is mistakenly changed causing Web service data error (http://192.168.1.1). In addition, the local backup server is destroyed, so you have to recover data from the Public Cloud backup server. After data is recovered, both the service and data are back to normal.

| Local Backup Server | Configuration |
|---|---|
| Backup Server IP | 192.168.0.1 |
| Mount Path | /local_ds |
| SSH Port | 22 |
| User Name | root |
| Password | password |
| Backup Network | 192.168.0.0/24 |
| Public Cloud Backup Server | Configuration |
|---|---|
| Backup Server IP | 172.20.0.1 |
| Mount Path | /public_ds |
| SSH Port | 22 |
| User Name | root |
| Password | password |
- Configure an Alibaba Cloud ECS instance as the Public Cloud backup server.
- Add backup servers.
- Create a backup job.
- Check the state of local backup data, Public Cloud backup data, and the service.
- Mistakenly change the original data.
- Recover VM instance backup data.
- Validate whether the service is recovered.
Procedure
-
Configure an Alibaba Cloud ECS instance as a Public Cloud
backup server.
-
Add backup servers.
-
Create a backup job.
On the main menu of ZStack Cloud, choose . Then the Backup Job page appears. On the page, choose . Then, the Create Backup Job page is displayed.
To create a backup job, follow these four steps:
-
Check the state of local backup data, Public Cloud backup
data, and the service.
-
Mistakenly change the original data.
Assume that you have changed the Web data of the service VM instance by mistake and delete the backup data in local backup server, which resulting in abnormal Web display.
Figure 81. Error Data 
-
Recover VM instance backup data.
-
Validate whether the service is recovered.
Use a browser to access to the Web service URL and confirm that the VM instance can normally provide Web service and the data is normal.
Figure 83. Web Service 
What to do next
So far, we have introduced the typical practice of the Public Cloud backup scenario.

















