Overview
Continuous Data Protection (CDP) provides second-level and fine-grained continuous backups for important business systems in VM instances, allowing users to restore VM data to a specific time state, and retrieve files without restoring the system. ZStack Cloud provides automated solutions on resuming all applications if a hardware or operating system failure occurs.
The Continuous Data Protection (CDP) service is a separate feature module. To use this service, purchase both the Base License and the Plus License of Continuous Data Protection (CDP). The Plus License cannot be used independently.
Concepts
- CDP task: You can create a CDP task to continuously back up your VM data to a specified backup server to achieve continuous data protection and recovery.
- Recovery task: A recovery task helps you quickly restore data by specifying a CDP task and recovery point, and allows you to view the recovery progress and logs in a more friendly way.
- CDP data: The backup data generated from continuous data protection on VM instances is stored in local backup servers.
- Recovery point: A recovery point is a data point generated during continuous data protection. A recovery point corresponds to a data record within the recovery point interval specified by the user.
- Locked recovery point: You can lock or unlock a recovery point as needed. After a recovery point is locked, data of the recovery point will not be automatically cleared or deleted.
How CDP Works
ZStack Cloud provides block-level continuous data protection. You can restore CDP data according to a specified time point.
- CDP backup
After continuous data protection is performed on a VM instance, the CDP server first performs a full copy of the VM data, continuously captures I/O data changes, and timestamps, and saves the I/O data of each change, thereby achieving continuous data backup.
Figure 1. CDP Backup 
- CDP recovery
When data recovery is performed, the CDP server exposes the CDP data as a block device and then restores the I/O data at a specified time to the disk or file system of a primary storage.
Figure 2. CDP recovery 
Advantages
- Simple:
- The software-defined solution we provide is hardware-independent and scalable.
- You can preview the backup files without restoring the system. Supported file formats: pictures (.png, .jpg, .bmp, .gif, etc.), PDF files, and text files (equal to or smaller than 10 MB).
- When you create a CDP task for the first time, the Cloud intelligently recommends the desired capacity required by a CDP task based on an algorithm, helping you to plan the backup space reasonably.
- You can restore data through a wizard-style process.
- Strong:
- Agentless backup: To use the CDP service, you do not need to install agents for your VM instances or couple with other applications. This helps reduce the configuration complexity, lower the VM performance loss, and guarantee the business security.
- Second-level RPO: Provides second-level fine-grained continuous data protection for VM instances.
- Instant recovery: Supports instant recovery with the RTO in seconds, which helps to ensure the business continuity.
- Primary storage support: The CDP service applies to VM instances in different primary storage scenarios, including local storage, NFS, SharedBlock, Ceph, and CBD.
- Flexible:
- Flexible RPO settings: Provides second/minute-level RPO settings.
- Multiple recovery levels: Supports entire recovery and file-level
recovery.
- Entire recovery: You can restore data to the original VM instance or to a newly-created VM instance.
- File-level recovery: You can retrieve files without restoring the system. Both Windows and Linux file system formats are supported.
- Flexible data display and search:
- The CDP data page displays hourly data changes of a VM instance, which provides a reference for backup capacity planning.
- The CDP data page also provides a recovery point calendar, which identifies the dates with recovery points with colors. This helps you locate a recovery point quickly.
- Reliable:
- Unified O&M: You can view the critical CDP information on the CDP overview page, including the CDP task status, recovery task status, backup server usage, and unread CDP alarms.
- You can restore CDP data to the original VM instance by creating a volume for the VM instance. All of the volumes before recovery can be retained and attached to the VM instance again, which ensures the data security to the maximum extent and facilitates post-fault analysis.
- The "Create VM instance" recovery policy allows you to create a new VM instance from the selected recovery point without affecting the original VM instance. You can finish the recovery after you confirm that the data is correct. This helps to meet the recovery drill requirements.
- You can mark and lock recovery points to retain the recovery point data in long term.
- The Cloud provides a list of recovery tasks, allowing you to view the recovery records and progress in a more friendly way.
- The RPO latency policy and alarm help to effectively relieve data transmission pressure of backup servers in heavy I/O scenarios.
Scenarios
- Continuous protection of critical business data
You can use the CDP service to continuously back up and protect critical business data, such as banking system data and financial transaction data, minimizing data loss and ensuring your business continuity.
- Anti-virus and data recovery
In case of virus invasion, such as a ransomware attack, you can use CDP to restore data to any point in time to reduce the loss caused by the virus.
Limits
Currently, if a VM instance has volumes not stored on the Ceph primary storage, you could not clone the VM instance or create snapshots or images for the VM instance during CDP.
Preparations
- Make sure that you have upgraded to the latest version of ZStack Cloud, and installed the Plus License of Continuous
Data Protection (CDP).
Note: We recommend that you use ZStack Cloud 4.8.10 or later versions. - Make sure that you have an existing VM instance with no backup job created.
- Make sure that you have prepared a storage server in local data center as the local backup server, and the storage server is not reused as a host.
- Make sure that you have planned a storage network and a backup network. We recommend that you use at least 10 Gigabit NICs for your backup network.
Quick Start
The Continuous Data Protection (CDP) service allows you to back up and restore VM data in a local backup server, and retrieve files without restoring the system.
- CDP Backup:
- Add a local backup server to ZStack Cloud.
- Create a CDP task for VM instances.
- Manage local CDP data.
- CDP Recovery:
- Restore CDP data of the VM instance to local.
- View the recovery progress.
- View the relevant resource that has been restored to local.
You can refer to the Local CDP Recovery Practice | Restore to the Original VM Instance and Local CDP Recovery Practice | Create a VM Instance chapters for CDP practice details.
CDP Practice
Local CDP Recovery | Restore to the Original VM Instance
About this task
Assume that the user has deployed the latest ZStack Cloud Private Cloud environment and installed the Continuous Data Protection (CDP) module. Now, the user plans to add a local backup server to back up a VM instance. After the data is backed up to the local backup server, important files are lost by mistake during business adjustment. Since the user's business application has hardware authorization, in order to quickly verify the availability of the service, the user needs to restore the data to the original VM instance to check whether the application is normal.
| Local Backup Server | Configuration |
|---|---|
| Backup Server IP | 172.24.246.195 |
| Mount Path | /cdp_store |
| SSH Port | 22 |
| User Name | root |
| Password | password |
| Management Network | 172.24.246.195/16 |
| Backup Network | 192.168.1.0/24 |
- Add a local backup server.
- Create a CDP task.
- View the CDP data of the VM instance, and lock the recovery point.
- View the important file in the locked recovery point.
- Delete the important file to simulate important data loss.
- Find the locked recovery point, and restore data to the original VM instance.
- View the recovery progress and relevant information.
- Verify the restored data.
Procedure
-
Add a 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.
On the displayed page, set the following parameters:- Addition Method: Select Add Server here.
- 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. In this scenario, enter 172.24.246.195.
- Mount Path: Enter the path to which the storage is mounted. In this scenario, enter /cdp_store.
- SSH Port: Enter the SSH port. Default: 22.
- User Name: Enter the user name. In this scenario, enter root.
- Password: Enter the password. In this scenario, enter password.
- Backup Network: Optional. Set the backup network. In this scenario, enter 192.168.1.0/24.
- Backup Data: Choose whether to scan the existing backup data. In this scenario, we do not need to scan the backup data.
Figure 3. Add Local Backup Server 
-
Create a CDP task.
On the main menu of ZStack Cloud, choose . On the CDP Task page, click . Then, the Create CDP Task page is displayed.
To create a CDP task, follow these three steps:- Set the basic information.On the displayed page, set the following parameters:
- Name: Enter a name for the CDP task.
- Description: Optional. Enter a description for the CDP task.
- VM Instance: Select the VM
instance to be protected. In this scenario, select
Business-VM-1.
Note:
- You can create CDP tasks in bulk by choosing multiple VM instances.
- When you choose multiple VM instances, the name of CDP tasks will be followed by -1, -2, -3 and so forth to distinguish these tasks.
- One VM instance corresponds to one CDP task.
- After you create a CDP task for a VM instance, the Cloud performs a full backup for the VM instance.
- Shared volumes (if any) of a VM instance will not be backed up.
- You could not create a CDP task for VM instances with running backup jobs.
- You could not create a CDP task for VM instances with a scheduled snapshot job.
- If a VM instance is in the stopped state, the CDP task created for the VM instance is also in the stopped state and can start with the VM instance.
- You cannot create a CDP task for VM instances that use Vhost or ZBS (Vhost protocol) primary storage.
- Local Backup Server: In this scenario, select the added local backup server.
Figure 4. Set Basic Information 
- Set the policy information.On the displayed page, set the following parameters:
- CDP Protection Policy: Set the
CDP protection policy, including recovery point
interval, recovery point retention policy, backup rate,
and task running policy.
- Recovery Point Interval: Set the interval for generating recovery points. Unit: second, minute. By default, a recovery point is generated at an interval of 3 seconds. In this scenario, use the default value.
- Backup Aggregation Frequency: Set the interval for aggregating full backups. Valid range: 1-7 days, integer. By default, a full backup is aggregated every 7 days. In this scenario, use the default value.
- Recovery Point Retention Policy: Set the retention time and retention interval for recovery points. Up to 3 policies can be set.
- Backup Rate: Optional. You can limit the upstream bandwidth of each volume. Unit: Mbps/Gbps. In this scenario, select No limit.
- Task Running Policy: Set the
desired size and RPO policy for a CDP task.
- Desired Size: Set the
desired size for a CDP task. The CDP task will be
stopped if the desired size is exceeded. In this
scenario, use the suggested size.
Note:
- The desired size must be greater than or equal to the total volume size and smaller than or equal to the total backup server size.
- The Cloud provides a recommended size according
to the following formula:Recommended size = Maximum production data size X Number of full backups X 1.1 + Daily changed data size X Recovery point retention time X 1.5
- Maximum production data size: The maximum data size generated by your VM instance for one full backup. This value cannot exceed the total volume size of your VM instance.
- Number of full backups: Recovery point retention time ÷ Regular backup frequency.
- Daily changed data size: We recommend that you estimate the size of daily changed data based on your actual business scenario. For example, if the data of your VM instance increases by 1 GB per month, you can set the daily changed data size to 35 MB.
- Recovery point retention time: The maximum retention time you set on the UI.
- Maximum production data size X Number of full backups X 1.1: During the data retention period, the CDP task will perform more than one full backup. Some cases, such as VM restart, will also trigger a full backup. Therefore, the actual number of full backups will increase according to a certain proportion. (The coefficient here is 1.1, which can be adjusted according to the actual situation.)
- Daily changed data size X Recovery point retention time X 1.5: The size occupied by snapshot volumes is approximately 1.5 times the actual size of data changes.
- The formula above is for your reference in initial backup capacity planning. We recommend that you pay continuous attention to your backup server size changes, and expand the capacity in a timely manner according to the actual situation.
- RPO Policy: Set the CDP task running policy to deal with data replication latency in heavy I/O scenarios. By default, the CDP task will be stopped if the latency exceeds 10 minutes. After the data replication is synchronized, the CDP task will go back to the running status automatically. In this scenario, use the default value.
- Desired Size: Set the
desired size for a CDP task. The CDP task will be
stopped if the desired size is exceeded. In this
scenario, use the suggested size.
Figure 5. Set Policy Information 
- CDP Protection Policy: Set the
CDP protection policy, including recovery point
interval, recovery point retention policy, backup rate,
and task running policy.
- Preview
View the information about the CDP task. You can edit the information by clicking the Edit icon.
Figure 6. Preview 
- Set the basic information.
-
View the CDP data of the VM instance, and lock the recovery point.
On the main menu of ZStack Cloud, choose . Then, the VM Instance page is displayed.
- View the CDP data of the VM instance.
On the displayed page, find VM-1, and enter its details page. On the CDP Data tab page, view the CDP data of the VM instance.
Figure 7. View CDP Data 
- Lock the recovery point.
Assume that the user plans to make a major business adjustment after 10:00:00, and the data before 10:00:00 needs to be marked.
On the CDP Data tab page, choose one column (10:00:00 - 10:59:59), and click the corresponding arrow icon on the right of the list. Then, the recovery point list is displayed. On the recovery point list, choose one recovery point (10:00:00), and select the corresponding Lock Recovery Point checkbox. Then, enter a description for the locked recovery point.
Figure 8. Lock Recovery Point 
- View the CDP data of the VM instance.
-
View the important file in the locked recovery point.
Assume the name of the important file is importantFile.
On the main menu of ZStack Cloud, choose . Then, the VM Instance page is displayed. Click the VM instance to enter its details page. On the CDP Data tab page, click the arrow icon beside the number of Locked Recovery Point. Then, the Locked Recovery Point List page is displayed. Find the recovery point that you locked before, and click Retrieve File. On the displayed Retrieve File page, enter importantFile in the search box to find it. You can find that the file is contained in the current locked recovery point.
Figure 9. View Important File in Locked Recovery Point 
-
Delete the important file to simulate important data loss.
Assume that the user deleted the importantFile by mistake during business adjustment, and caused important data loss.
Figure 10. Delete File 
-
Find the locked recovery point, and restore data to the original VM
instance.
On the main menu of ZStack Cloud, choose . Then, the VM Instance page is displayed. Click the VM instance to enter its details page. On the CDP Data tab page, click the arrow icon beside the number of Locked Recovery Point. Then, the Locked Recovery List page is displayed.
Figure 11. Locked Recovery Point List 
On the Locked Recovery Point List page, find the 2022-08-01 10:00:00 corresponding locked recovery point to perform data restoration. To restore data, follow these three steps:- Configure Recovery Policy.On the displayed page, set the following parameters:
- CDP Task: Display the CDP task corresponding to current locked recovery point.
- Recovery Point: Display the selected locked recovery point.
- Recovery Task Name: Restoring CDP
data will automatically create a recovery task with a
default task name. You can view the detailed recovery
record in the recovery task list.
Note: Recovery tasks created here
are named in the format of VM Name-Recovery Point
Time, for example,
VM-1-2022-08-01-10:00:00. - Recovery Policy: In this
scenario, select Restore to Original VM
Instance.
Note:
- The Cloud supports two recovery policies: create VM instance and restore to original VM instance.
- After the recovery is performed, the original VM instance will quickly start up for business recovery.
- During the recovery, the original VM instance will be in the Restoring Data state. In this case, the VM instance can normally provide services and you can read data from and write data into this VM instance. However, the VM's own operations are limited to Launch Console only.
- Recovery Method: You can restore
the CDP data to the original VM instance by creating new
volumes or overwriting the current volumes. In this
scenario, select Overwrite Current Volumes.
- Create Volumes:
- This method will create new volumes to replace the current volumes. Data in the current volumes will be retained.
- This method will detach the current volumes. You can view the newly created and detached volumes on the configuration tab page of the VM instance.
- After you confirm that the restored data is reliable, you can manually delete the detached volumes to release the storage space.
- Overwrite Current Volumes:
- This method will overwrite the original data in the VM instance. Please exercise caution.
- This method will keep the snapshots in the current volumes.
- Create Volumes:
- Recovery Rate: Optional. You can limit the upstream bandwidth of each volume in CDP protection. Unit: Mbps/Gbps. In this scenario, select No limit.
Figure 12. Configure Recovery Policy 
- Configure Target VM.
By default, the name and description of the original VM instance are displayed.
Figure 13. Configure Target VM 
- Preview.
View the recovery task that will be created. You can edit the information by clicking the Edit icon.
Figure 14. Preview 
- Configure Recovery Policy.
-
View the recovery progress and relevant information.
On the main menu of ZStack Cloud, choose . Then, the Recovery Task page is displayed. On the Recovery Task main list, you can view the job status, target VM, time consumed, and other information.
Figure 15. View Recovery Progress 
-
Verify the restored data.
Launch the VM console and run the
lscommand to view the file in the directory. You can find that the importantFile already exists in the directory.Figure 16. Data Recovery Succeeded 
What to do next
You can unlock the recovery point after a successful recovery to release storage space. So far, we have introduced the CDP scenario practice of restoring data to the original VM instance.
Local CDP Recovery | Create a VM Instance
About this task
Assume that the user has deployed the latest version of ZStack Cloud Private Cloud environment, and installed the Continuous Data Protection (CDP) module. The user plans to add a local backup server to backup a VM instance. After the data is backed up to the local backup server, important files are lost by mistake during business adjustment. Because not knowing the specific time when the problem occurred, the user is afraid to directly overwrite the original VM instance. Now the user needs to restore the data to a new VM instance to check whether the system is healthy.
| Local Backup Server | Configuration |
|---|---|
| Backup Server IP | 172.24.246.195 |
| Mount Path | /cdp_store |
| SSH Port | 22 |
| User Name | root |
| Password | password |
| Management Network | 172.24.246.195/16 |
| Backup Network | 192.168.1.0/24 |
- Add a local backup server.
- Create a CDP task.
- View the local CDP data of the VM instance and an important file.
- Delete the important file to simulate the loss of the important data.
- Restore to a new VM instance from current recovery point.
- View the recovery progress and relevant information.
- Verify the restored data.
Procedure
-
Add a 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.
On the displayed page, set the following parameters:- Addition Method: Select Add Server here.
- 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. In this scenario, enter 172.24.246.195.
- Mount Path: Enter the path to which the storage is mounted. In this scenario, enter /cdp_store.
- SSH Port: Enter the SSH port. Default: 22.
- User Name: Enter the user name. In this scenario, enter root.
- Password: Enter the password. In this scenario, enter password.
- Backup Network: Optional. Set the backup network. In this scenario, enter 192.168.1.0/24.
- Backup Data: Choose whether to scan the existing backup data. In this scenario, we do not need to scan the backup data.
Figure 17. Add Local Backup Server 
-
Create a CDP task.
On the main menu of ZStack Cloud, choose . On the CDP Task page, click . Then, the Create CDP Task page is displayed.
To create a CDP task, follow these three steps:- Set the basic information.On the displayed page, set the following parameters:
- Name: Enter a name for the CDP task.
- Description: Optional. Enter a description for the CDP task.
- VM Instance: Select the VM
instance to be protected. In this scenario, select
Business-VM-1.
Note:
- You can create CDP tasks in bulk by choosing multiple VM instances.
- When you choose multiple VM instances, the name of CDP tasks will be followed by -1, -2, -3 and so forth to distinguish these tasks.
- One VM instance corresponds to one CDP task.
- After you create a CDP task for a VM instance, the Cloud performs a full backup for the VM instance.
- Shared volumes (if any) of a VM instance will not be backed up.
- You could not create a CDP task for VM instances with running backup jobs.
- You could not create a CDP task for VM instances with a scheduled snapshot job.
- If a VM instance is in the stopped state, the CDP task created for the VM instance is also in the stopped state and can start with the VM instance.
- You cannot create a CDP task for VM instances that use Vhost or ZBS (Vhost protocol) primary storage.
- Local Backup Server: In this scenario, select the added local backup server.
Figure 18. Set Basic Information 
- Set the policy information.On the displayed page, set the following parameters:
- CDP Protection Policy: Set the
CDP protection policy, including recovery point
interval, recovery point retention policy, backup rate,
and task running policy.
- Recovery Point Interval: Set the interval for generating recovery points. Unit: second, minute. By default, a recovery point is generated at an interval of 3 seconds. In this scenario, use the default value.
- Backup Aggregation Frequency: Set the interval for aggregating full backups. Valid range: 1-7 days, integer. By default, a full backup is aggregated every 7 days. In this scenario, use the default value.
- Recovery Point Retention Policy: Set the retention time and retention interval for recovery points. Up to 3 policies can be set.
- Backup Rate: Optional. You can limit the upstream bandwidth of each volume. Unit: Mbps/Gbps. In this scenario, select No limit.
- Task Running Policy: Set the
desired size and RPO policy for a CDP task.
- Desired Size: Set the
desired size for a CDP task. The CDP task will be
stopped if the desired size is exceeded. In this
scenario, use the suggested size.
Note:
- The desired size must be greater than or equal to the total volume size and smaller than or equal to the total backup server size.
- The Cloud provides a recommended size according
to the following formula:Recommended size = Maximum production data size X Number of full backups X 1.1 + Daily changed data size X Recovery point retention time X 1.5
- Maximum production data size: The maximum data size generated by your VM instance for one full backup. This value cannot exceed the total volume size of your VM instance.
- Number of full backups: Recovery point retention time ÷ Regular backup frequency.
- Daily changed data size: We recommend that you estimate the size of daily changed data based on your actual business scenario. For example, if the data of your VM instance increases by 1 GB per month, you can set the daily changed data size to 35 MB.
- Recovery point retention time: The maximum retention time you set on the UI.
- Maximum production data size X Number of full backups X 1.1: During the data retention period, the CDP task will perform more than one full backup. Some cases, such as VM restart, will also trigger a full backup. Therefore, the actual number of full backups will increase according to a certain proportion. (The coefficient here is 1.1, which can be adjusted according to the actual situation.)
- Daily changed data size X Recovery point retention time X 1.5: The size occupied by snapshot volumes is approximately 1.5 times the actual size of data changes.
- The formula above is for your reference in initial backup capacity planning. We recommend that you pay continuous attention to your backup server size changes, and expand the capacity in a timely manner according to the actual situation.
- RPO Policy: Set the CDP task running policy to deal with data replication latency in heavy I/O scenarios. By default, the CDP task will be stopped if the latency exceeds 10 minutes. After the data replication is synchronized, the CDP task will go back to the running status automatically. In this scenario, use the default value.
- Desired Size: Set the
desired size for a CDP task. The CDP task will be
stopped if the desired size is exceeded. In this
scenario, use the suggested size.
Figure 19. Set Policy Information 
- CDP Protection Policy: Set the
CDP protection policy, including recovery point
interval, recovery point retention policy, backup rate,
and task running policy.
- Preview
View the information about the CDP task. You can edit the information by clicking the Edit icon.
Figure 20. Preview 
- Set the basic information.
-
View the local CDP data of the VM instance and an important file.
Assume that the user made an important business adjustment on the day of 2022-08-01, and the user viewed the important data in the system before business adjustment.
On the main menu of ZStack Cloud, choose . Then, the VM Instance page is displayed. On the CDP Data tab page, view the data for any time period on 2022-08-01 (for example, 2022-08-01 10:00:00), and click Retrieve File. On the displayed Retrieve File page, enter importantFile in the search box to find it. You can find that the file is contained in the current recovery point.
Figure 21. View Important File in Recovery Point 
-
Delete the important file to simulate important data loss.
Assume that the user deleted the importantFile by mistake during business adjustment, and caused important data loss.
Figure 22. Delete File 
-
Restore to a new VM instance from current recovery point.
Assume that the user does not know the specific time when the mistake was made, and is afraid to overwrite the original VM instance. So, the user needs to create a new VM instance to verify the restoration.
On the main menu of ZStack Cloud, choose . Then, the VM Instance page is displayed. Click the VM instance to enter its details page. On the CDP Data tab page, select date 2022-08-01, and perform data restoration operation. To restore data, refer to the following three steps:- Configure Recovery Policy.On the displayed page, set the following parameters:
- CDP Task: Display the CDP task corresponding to current locked recovery point.
- Recovery Point: You can select a
recovery point from the recovery point list (including
locked recovery points) or from the locked recovery
point list. In this scenario, select a recovery point
corresponding to a certain time on 2022-08-01.
Note:
- The recovery point list allows you to search for a recovery point by date, hour, and minute/second.
- When you search by hour, you can choose between hours with one hour as the interval.
- When you search by date, the Cloud provides a recovery point calendar, where dates with recovery points are marked in green for quick identification.
- When you search by minute/second, we recommend that you specify a time based on the recovery point interval you set before.
- The locked recovery point list displays all the locked recovery points by default, and allows you to search by date.
- Recovery Task Name: By default,
restoring CDP data creates recovery task, and sets the
default task name. You can view the detail recovery
record in the recovery task list.
Note: Recovery tasks created here
are named in the format of VM Name-Recovery Point
Time, for example,
VM-1-2022-08-01-10:00:00. - Recovery Policy: In this
scenario, select Create VM Instance.
Note:
- This method will create a VM instance from the current recovery point. The original one will not be affected.
- The newly created VM instance will quickly start up for business recovery.
- During the recovery, the newly created VM instance will be in the Restoring Data state. In this case, the VM instance can normally provide services and you can read data from and write data into this VM instance. However, the VM's own operations are limited to Launch Console only.
- Recovery Rate:Optional. You can limit the upstream bandwidth of each volume in CDP protection. Unit: Mbps/Gbps. In this scenario, select No limit.
Figure 23. Configure Recovery Policy 
- Configure Target VM.On the displayed page, set the following parameters:
- Name: Enter a name for the new VM instance. For example, VM-from-CDP.
- Description: Optional. Enter a description for the new VM instance.
- Tag: Optional. Attach a tag for the new VM instance.
- Instance Offering: By default, we recommend that you use the same instance offering as the original VM instance.
- Network Configuration: By default, we recommend that you use the same network configuration as the original VM instance.
- Primary Storage: By default, we
recommend that you use the same primary storage as the
original VM instance.
Note: If the
VM instance has attached a SharedBlock volume, the
provisioning type will set to thick provisioning by
default when recovering data. - Host: By default, we recommend that you use the same host as the original VM instance.
Figure 24. Configure Target VM 
- Preview.
View the recovery task that will be created. You can edit the information by clicking the Edit icon.
Figure 25. Preview 
- Configure Recovery Policy.
-
View the recovery progress and relevant information.
On the main menu of ZStack Cloud, choose . Then, the Recovery Task page is displayed. On the Recovery Task main list, you can view the job status, target VM, time consumed, and other information.
Figure 26. View Recovery Progress 
-
Verify the restored data.
Launch the console of the newly created VM instance (VM-from-CDP). Then, run the
lscommand to view the file in the directory. You can find that the importantFile already exists in the directory.Figure 27. Verify Restored Data 
What to do next
So far, we have introduced the CDP scenario practice of restoring data by creating a new VM instance.
