Restore and Back Up

<p>This article describes how to back up and restore.</p> <p><strong><span style="font-size:18px">Prerequisites</span></strong></p> <p>There is backup data. For more information about automatic backup, see <a href="http://pinganyun.com/ssr/help/database/mongodb/Manual.Backup_and_Restore.Automated_Backup" target="_blank">Automatic Backup</a>. For more information about manual backup, see <a href="http://pinganyun.com/ssr/help/database/mongodb/Manual.Backup_and_Restore.Manual_Backup" target="_blank">Manual Backup</a>.</p> <p><strong><span style="font-size:18px">Usage Guidelines</span></strong></p> <p>1. The data is restored in the new temporary recovery instance in Ping An Cloud DDS.</p> <p>&nbsp; &nbsp; &bull; The region where the new temporary recovery instance is located is the same as that of general instance. Extra fees will not be charged.</p> <p>&nbsp; &nbsp; &bull; A maximum of seven days of new DDS instance can be kept. After seven days, Ping An Cloud will release temporary recovery instance.</p> <p>2. The computing specification of new temporary recovery instance is the smallest. The storage specification is the same as that of the general instance in performing the restoration.</p> <p>3. After a temporary recovery instance is created successfully, computing specification and storage specification will not be changed.</p> <p>4. Each general instance creates a maximum of three temporary recovery instances everyday. If you need to restore the fourth temporary recovery instance, release temporary recovery instance you created before.</p> <p>5. Temporary recovery instances will automatically create a user. The username is temp_root and has read/write permissions.</p> <p><strong><span style="font-size:18px">Procedures</span></strong></p> <p>1. Log in to <a href="http://pinganyun.com/console/mongodb/overview" target="_blank">DDS Management Console</a>.</p> <p>2. In the left navigation pane, click <strong>DDS Cluster</strong> to enter the <strong>DBPaaS for DDS</strong> page.</p> <p>3. Select the target region.</p> <p>4. Click <strong>Manage</strong> in the <strong>Operations</strong> column of the target instance, and select the <strong>Backup </strong>page.</p> <p>5. On the <strong>Information</strong> tab, click <strong>Restore</strong> in the <strong>Operations</strong> column of the target backup to enter the <strong>Restore backup</strong> page.</p> <p>6. Restore backup according to the following information.</p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="background-color:#ededed; vertical-align:top; width:137px"> <p><strong>Configuration item</strong></p> </td> <td style="background-color:#ededed; vertical-align:top; width:647px"> <p><strong>Description</strong></p> </td> </tr> <tr> <td style="vertical-align:top; width:137px"> <p>Method for Restoring</p> </td> <td style="vertical-align:top; width:647px"> <p>Backup data supports the restoring method of <strong>By backup set</strong> and <strong>Bytime:</strong></p> <p>&bull; <strong>By backup set:</strong> You can restore database information at backup time.</p> <p>&bull; <strong>By time:</strong> You can restore the database information from the first backup to any point in time between the first two hours of the current time.</p> <p>For example, you created a general instance at 00:00 on May 1, 2019 and current time is 12:00 on May 5, 2019. During this period, there are two manual backups. The time is 14:00 on May 2, 2019 and 20:00 on May 3, 2019 respectively. If you restore data according to the following method:</p> <p>&bull; <strong>By backup set:</strong> You can restore database according to the backup time. For example, you can restore database information at 14:00 on May 2, 2019 or 20:00 on May 3, 2019.</p> <p>&bull; <strong>By time:</strong> You can restore database information of any time from 14:00 on May 2, 2019 to 10:00 on May 5, 2019.</p> <p><!--[if gte mso 9]><xml> <o:OLEObject Type="Embed" ProgID="PBrush" ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1659855571"> </o:OLEObject> </xml><![endif]--></p> </td> </tr> <tr> <td style="vertical-align:top; width:137px"> <p>Restoring Point in Time</p> </td> <td style="vertical-align:top; width:647px"> <p>When <strong>Restore method</strong> is based on <strong>By time</strong>, you shall configure the item to set backup restoration time.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508102209-139119049eaa.png" style="height:20px; margin:0px; width:80px" />: You shall set any point in time between the first two hours of the current time.</p> </td> </tr> <tr> <td style="vertical-align:top; width:137px"> <p>Set temporary user password</p> </td> <td style="vertical-align:top; width:647px"> <p>Log in to password of temporary recovery instance.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508102209-139119049eaa.png" style="height:20px; margin:0px; width:80px" />: Ping An Cloud DDS will restore the data on new temporary recovery instance.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508102248-14d87df393ed.png" style="height:29px; margin:0px; width:65px" />:</p> <p>1. The password is a string of 8 to 32 characters</p> <p>2. It must be a combination of uppercase letters, lowercase letters, digits, and special characters (^ . -_).</p> </td> </tr> </tbody> </table> <p>7. Click Confirm to enter the <strong>Restoring</strong> page.</p> <p>8. Click <strong>GOT IT</strong>. On the <strong>DBPaaS for DDS</strong> page, you can view that the <strong>Status</strong> of temporary recovery instance is <strong>Backup Creating</strong>.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508102325-1eadede2979d.png" style="height:199px; width:830px" /></p> <p><strong><span style="font-size:18px">Result</span></strong></p> <p>On the <strong>DBPaaS for DDS</strong> page, you can view the<strong> Status</strong> of temporary recovery instance is <strong>Running</strong>.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508102354-1f49c63090cb.png" style="height:204px; width:830px" /></p> <p><strong><span style="font-size:18px">Subsequent Operation</span></strong></p> <p><span style="font-size:16px"><strong>View Basic Information of Temporary Recovery Instance</strong></span></p> <p>Click <strong>Manage</strong> in the <strong>Operations</strong> column of the target instance, and select <strong>Information</strong> tab to view <strong>Instance Name, Domain Name</strong>, <strong>Port</strong>, <strong>Recovery source,</strong> and <strong>Restore till expiry date</strong> of temporary recovery instances.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508102423-1040f2509e30.png" style="height:192px; width:830px" /></p> <p><span style="font-size:16px"><strong>Create Whitelist</strong></span></p> <p>The region of temporary recovery instance is the same as that of general instance. To create a whitelist of temporary recovery instance, see <a href="http://pinganyun.com/ssr/help/database/mongodb/Manual.Security_Management.Create_Whitelist" target="_blank">Create a Whitelist</a>, and to delete a whitelist of temporary recovery instance, see <a href="http://pinganyun.com/ssr/help/database/mongodb/Manual.Security_Management.Delete_Whitelist" target="_blank">Delete a Whitelist</a>.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508102444-1666253493d9.png" style="height:126px; width:830px" /></p> <p><span style="font-size:16px"><strong>Modify Account Password</strong></span></p> <p>When you restore the backup, Ping An Cloud DDS will create a user with temp_root account for each temporary recovery instance. You can click the <strong>Manage</strong> of the <strong>Operation</strong>s column of the target temporary recovery instance, select the<strong> Account Management</strong> tab, and click the <strong>Modify Password</strong> of the <strong>Operation</strong>s column of the target account to modify the password.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508102248-14d87df393ed.png" style="height:29px; margin:0px; width:65px" />:</p> <p>1. The password is a string of 8 to 32 characters</p> <p>2. It must be a combination of uppercase letters, lowercase letters, digits, and special characters (^ . -_).</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508102517-1df2555d9704.png" style="height:126px; width:830px" /></p> <p><span style="font-size:16px"><strong>Release Temporary Recovery Instances</strong></span></p> <p>Before temporary recovery instance expires, you can click <strong>Release</strong> in the <strong>Operation</strong>s column of the target temporary recovery instance to manually release the instance. For more information, see <a href="https://pinganyun.com/ssr/help/database/mongodb/Manual.Instance_Management.Release_Instance" target="_blank">Release an Instance</a>.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202508102541-1cb67f6e9b9d.png" style="height:203px; width:830px" /></p>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products