Restore Backup
<p>This article describes how to restore backup.</p>
<p><span style="font-size:18px"><strong>Prerequisites</strong></span></p>
<p>There is backup data in the instances. For more information, see <a href="http://pinganyun.com/ssr/help/database/RDS/User_Guide_RDS_MySQL.Backup_and_Restore.Automated_Backup" target="_blank">Automatic Backup</a> and <a href="http://pinganyun.com/ssr/help/database/RDS/User_Guide_RDS_MySQL.Backup_and_Restore.Manual_Backup" target="_blank">Manual Backup</a>.</p>
<p><span style="font-size:18px"><strong>Usage Guidelines</strong></span></p>
<p>1. The restored data is stored in a temporary recovery instance newly created by RDS MySQL service of Ping An Cloud:</p>
<p> • The region of the newly created temporary recovery instance is the same as that of a general instance. The temporary recovery instance will not be charged additionally.</p>
<p> • The newly created instance can be stored for a maximum of seven days and will be released after seven days.</p>
<p>2. The newly created temporary recovery instance adopts the minimum computing specifications. Its storage specification is the same as that of the general instance on which the restoring operation is performed.</p>
<p>3. After the temporary recovery instance is successfully created, the computing and storage specifications will not change.</p>
<p>4. Each general instance manages a maximum of three temporary recovery instances. If you need to create the fourth one, release the previously created temporary recovery instances first.</p>
<p>5. The temporary recovery instance will automatically create an account. Its username is temp_root and it has the read/write permission of the instance.</p>
<p><span style="font-size:18px"><strong>Procedures</strong></span></p>
<p>1. Log in to the <a href="http://pinganyun.com/console/rds/overview" target="_blank">RDS Console</a>.</p>
<p>2. In the left navigation pane, click <strong>RDS-MySQL</strong> to enter the <strong>DBPaaS for RDS-MySQL</strong> page.</p>
<p>3. Select the target region.</p>
<p>4. In the <strong>Operations </strong>column of the target instance, click <strong>Manage</strong>. Select <strong>Backup</strong> tab.</p>
<p>5. In the <strong>Information</strong> area, 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 based on the following information.</p>
<table border="1" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="background-color:#ededed; vertical-align:top">
<p><strong>Configuration item</strong></p>
</td>
<td style="background-color:#ededed; vertical-align:top">
<p><strong>Description</strong></p>
</td>
</tr>
<tr>
<td style="vertical-align:top">
<p>Restore method</p>
</td>
<td style="vertical-align:top">
<p>The restore method of backup data includes restoring <strong>by backup set</strong> and <strong>by time</strong>:</p>
<p>• <strong>By backup set</strong>: It can restore the database information at the backup time.</p>
<p>• <strong>By time</strong>: It can restore the database information at any time from the first backup time to two hours earlier than current time.</p>
<p>For example: You created a general instance at 00:00 of May 1, 2019. The current time is 12:00 of May 5, 2019. During this period, two manual backups were performed at 14:00 of May 2, 2019 and 20:00 of May 3, 2019 respectively. If you restore data with the following two methods:</p>
<p>• Restore <strong>by backup set</strong>: You can restore database by backup time. For example, you can restore database information of 14:00 of May 2, 2019 or 20:00 of May 3, 2019.</p>
<p>• Restore <strong>by time</strong>: You can restore database information of any time from 14:00 of May 2, 2019 to 10:00 of May 5, 2019.</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093329-115dc6709dfc.png" style="height:223px; width:650px" /></p>
<p><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="PBrush" ShapeID="_x0000_i1025"
DrawAspect="Content" ObjectID="_1655532967">
</o:OLEObject>
</xml><![endif]--></p>
</td>
</tr>
<tr>
<td style="vertical-align:top">
<p>Restore Time</p>
</td>
<td style="vertical-align:top">
<p>If the restore method is by time, you need to configure this item to set the time for restoring backup.</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093430-1720119b9f84.png" style="height:23px; margin:0px; width:90px" />: It should be set as any time that is two hours earlier than the current time.</p>
</td>
</tr>
<tr>
<td style="vertical-align:top">
<p>Set a temporary user password</p>
</td>
<td style="vertical-align:top">
<p>It refers to login password of temporary recovery instance.</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093430-1720119b9f84.png" style="height:23px; margin:0px; width:90px" />: RDS MySQL service of Ping An Cloud will restore and store data in the newly created temporary recovery instance.</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093359-1a0a8d089d6e.png" style="height:29px; margin:0px; width:65px" />:</p>
<p>1. The length of a password is 8 to 32 characters.</p>
<p>2. It must contain uppercase and lowercase letters, digits, or special characters such as exclamation points (!), at signs (@), dollar signs ($), asterisks (*), parentheses (), underscores (_), and equal signs (=).</p>
</td>
</tr>
</tbody>
</table>
<p>7. Click <strong>Save</strong> to enter the<strong> Restoring</strong> page.</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093524-15e7d5f0982d.png" style="height:211px; width:512px" /></p>
<p>8. Click <strong>Got it</strong>. On the <strong>DBPaaS for RDS-MySQL</strong> page, you can view that <strong>Status</strong> of the temporary recovery instance is <strong>Backup Creating</strong>.</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093531-1aade652942d.png" style="height:167px; width:830px" /></p>
<p><span style="font-size:18px"><strong>Result</strong></span></p>
<p>On the <strong>DBPaaS for RDS-MySQL</strong> page, you can view that <strong>Status</strong> of the temporary recovery instance is <strong>Running</strong>.</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093539-1dbc5cf59ac3.png" style="height:169px; width:830px" /></p>
<p><span style="font-size:18px"><strong>Subsequent Procedures</strong></span></p>
<p><strong>• View Basic Information of a Temporary Recovery Instance</strong></p>
<p>In the <strong>Operations </strong>column of the target temporary recovery instance, click <strong>Manage</strong>. Select <strong>Information</strong> tab and you can view <strong>Instance Name, Domain Name, Port, Recovery Source,</strong> <strong>Restore till expiry date, and other information</strong>.</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093554-1c58430a976c.png" style="height:184px; width:830px" /></p>
<p><strong>• Create a Whitelist</strong></p>
<p>The region of a temporary recovery instance is identical with that of a general instance. For more information about creating a whitelist of the temporary recovery instance, you can see <a href="http://pinganyun.com/ssr/help/database/RDS/User_Guide_RDS_MySQL.Security_Management.Create_Whitelist" target="_blank">Create a Whitelist</a> of a general instance. For more information about deleting the whitelist of the temporary recovery instance, see <a href="http://pinganyun.com/ssr/help/database/RDS/User_Guide_RDS_MySQL.Security_Management.Delete_Whitelist" target="_blank">Delete a Whitelist</a> of a general instance.</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093604-19c65ab69b27.png" style="height:116px; width:830px" /></p>
<p><strong>• Modify Password of an Account</strong></p>
<p>In the process of restoring backup, RDS service of Ping An Cloud will create an account with the username of temp_root. You can click <strong>Manage</strong> in the <strong>Operations </strong>column of the target temporary recovery instance and select <strong>Account</strong> tab. In the <strong>Operations </strong>column of the target account, click <strong>Modify Password</strong> to modify the password.</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093359-1a0a8d089d6e.png" style="height:29px; margin:0px; width:65px" />:</p>
<p>1. The length of a password is 8 to 32 characters.</p>
<p>2. It must contain uppercase and lowercase letters, digits, or special characters such as exclamation points (!), at signs (@), dollar signs ($), asterisks (*), parentheses (), underscores (_), and equal signs (=).</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093613-128a09e6964b.png" style="height:116px; width:830px" /></p>
<p><strong>• Release a Temporary Recovery Instance</strong></p>
<p>Before the temporary recovery instance expires, click <strong>Release</strong> in the Operations column of the target temporary recovery instance to manually release the instance. For more information, see <a href="http://pinganyun.com/ssr/help/database/RDS/User_Guide_RDS_MySQL.Instance_Management.Release.Release_Common_Instance" target="_blank">Release an Instance</a>.</p>
<p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607093651-1da4bd0d9291.png" style="height:202px; width:830px" /></p>
Did the above content solve your problem?
Yes
No
Submitted successfully! Thank you for your feedback, we will try our best to do better and better!