Automatic Backup

<p>This article describes how to perform automatic backup.</p> <p><span style="font-size:18px"><strong>Prerequisites</strong></span></p> <p>You have successfully created an instance. For more information, see <a href="http://pinganyun.com/ssr/help/database/RDS/User_Guide_RDS_PostgreSQL.Instance_Management.Create_Instance.Create_Common_Instance" target="_blank">Create a General Instance</a>.</p> <p><span style="font-size:18px"><strong>Usage Guidelines</strong></span></p> <p>1.&nbsp; Only general instances support backup.</p> <p>2.&nbsp; The <strong>backup startup period</strong> and <strong>time segment</strong> cannot be overlapped. For more information about time segment, see <a href="http://pinganyun.com/ssr/help/database/RDS/User_Guide_RDS_PostgreSQL.Instance_Management.Time_Segment" target="_blank">Set Time Segment</a>.</p> <p><span style="font-size:18px"><strong>Procedures</strong></span></p> <p>1.&nbsp; Log in to the <a href="http://pinganyun.com/console/rds/overview" target="_blank">RDS Console</a>.</p> <p>2.&nbsp; In the left navigation pane, click <strong>RDS-PostgreSQL</strong> to enter the <strong>DBPaaS for RDS-PostgreSQL</strong> page.</p> <p>3.&nbsp; Select the target region.</p> <p>4.&nbsp; In the <strong>Operation</strong> column of the target instance, click <strong>Manage</strong>. Click <strong>Backup</strong> tab.</p> <p>5.&nbsp; Click <strong>Setting</strong> tab to set and view automatic backup policy.</p> <p>6.&nbsp; In the <strong>Backup Policy</strong> area, you can view the current backup policy.</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>Data Retention Period</p> </td> <td style="vertical-align:top"> <p>It refers to the data retention period of automatic backup. It is one month by default.</p> <p>You can set the <strong>Data Retention Period</strong> in the area of <strong>Adjustment Strategy</strong>.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Log Retention Period</p> </td> <td style="vertical-align:top"> <p>It refers to the log retention period of automatic backup. It is one month by default.</p> <p>You can set the <strong>Log Retention Period</strong> in the area of <strong>Adjustment Strategy</strong>.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Backup Cycle</p> </td> <td style="vertical-align:top"> <p>It refers to the backup cycle of automatic backup. It is daily by default.</p> <p>You can set the <strong>Backup</strong> <strong>Cycle </strong>in the area of <strong>Adjustment Strategy</strong>.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Backup Startup Period</p> </td> <td style="vertical-align:top"> <p>It refers to the backup startup period of automatic backup. It is from 23:00 to 00:00 by default.</p> <p>You can set the <strong>Backup</strong> <strong>Startup Period</strong> in the area of <strong>Adjustment Strategy</strong>.</p> </td> </tr> </tbody> </table> <p>7.&nbsp; In the upper-right corner of <strong>Settings</strong> tab, click <strong>Adjustment Strategy</strong>. On the page of <strong>Adjustment Strategy</strong>, you can set backup policy 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>Data Retention Period</p> </td> <td style="vertical-align:top"> <p>It refers to the data retention period of automatic backup. It is one month by default.</p> <p>You can set the value by month or year:</p> <p>&bull;&nbsp; If the unit is month, its value range is 1 to 11.</p> <p>&bull;&nbsp; If the unit is year, its value range is 1 to 5.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607163917-14233bce93c7.png" style="height:23px; margin:0px; width:90px" />: <strong>Data retention period</strong> and <strong>log retention period</strong> are synchronized.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Log Retention Period</p> </td> <td style="vertical-align:top"> <p>It refers to the log retention period of automatic backup. It is one month by default.</p> <p>You can set the value by month or year:</p> <p>&bull;&nbsp; If the unit is month, its value range is 1 to 11.</p> <p>&bull;&nbsp; If the unit is year, its value range is 1 to 5.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607163917-14233bce93c7.png" style="height:23px; margin:0px; width:90px" />: <strong>Data retention period</strong> and <strong>log retention period</strong> are synchronized.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Backup Startup Period</p> </td> <td style="vertical-align:top"> <p>It refers to the backup startup period of automatic backup.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Backup Cycle</p> </td> <td style="vertical-align:top"> <p>You can set target backup cycle.</p> </td> </tr> </tbody> </table> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607163804-17ad9614906e.png" style="height:354px; width:830px" /></p> <p>8.&nbsp; Click <strong>Save</strong>.</p> <p><span style="font-size:18px"><strong>Result</strong></span></p> <p>&bull;&nbsp; &nbsp;You will see an <strong>Operation succeeded</strong> message at the bottom of the page.</p> <p>&bull;&nbsp; &nbsp;You can set the target value of <strong>Backup</strong> <strong>Cycle </strong>in the area of <strong>Adjustment Strategy</strong>.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607164250-12beaef794ae.png" style="height:114px; width:830px" /></p> <p><span style="font-size:18px"><strong>Subsequent Procedures</strong></span></p> <p>&bull;&nbsp; On the <strong>Backup</strong> tab, select <strong>Information</strong> to view all backup records.</p> <p>&bull;&nbsp; You can search backup data by time.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20200607163755-109b61d598d2.png" style="height:38px; width:830px" /></p> <p>&bull;&nbsp; You can select to restore the target automatic backup record. For more information, see <a href="http://pinganyun.com/ssr/help/database/RDS/User_Guide_RDS_PostgreSQL.Backup_and_Restore.Restore" target="_blank">Restore Backup</a>.</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