自动备份

<p>本文主要介绍如何进行自动备份。</p> <p><span style="font-size:18px"><strong>前提条件</strong></span></p> <p>您已成功创建实例,可参考<a href="https://pinganyun.com/ssr/help/database/RDS/User_Guide_RDS_PostgreSQL.Instance_Management.Create_Instance.Create_Common_Instance" target="_blank">创建常规实例</a>。</p> <p><span style="font-size:18px"><strong>注意事项</strong></span></p> <p>1.&nbsp; 仅常规实例支持备份操作。</p> <p>2.&nbsp; &nbsp;<strong>备份启动时间</strong>与<strong>可维护时段</strong>不能存在交集,维护时段的相关内容可参考<a href="https://pinganyun.com/ssr/help/database/RDS/User_Guide_RDS_PostgreSQL.Instance_Management.Time_Segment" target="_blank">设置可维护时段</a>。</p> <p><span style="font-size:18px"><strong>操作步骤</strong></span></p> <p>1.&nbsp; 登录<a href="https://pinganyun.com/console/rds/overview" target="_blank">关系型数据库RDS管理控制台</a>。</p> <p>2.&nbsp; 单击左侧导航栏的<strong>RDS-PostgreSQL</strong>,进入<strong>云数据库管理</strong>页面。</p> <p>3.&nbsp; 选择目标地域。</p> <p>4.&nbsp; 单击目标实例<strong>操作</strong>列的<strong>管理</strong>,选择<strong>备份管理</strong>页签。</p> <p>5.&nbsp; 选择<strong>备份设置</strong>页签,设置并查看自动备份策略。</p> <p>6.&nbsp; 在<strong>备份策略</strong>区域,可查看目前的备份策略。</p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="background-color:#ededed; vertical-align:top"> <p><strong>配置项</strong></p> </td> <td style="background-color:#ededed; vertical-align:top"> <p><strong>说明</strong></p> </td> </tr> <tr> <td style="vertical-align:top"> <p>数据备份保留时间</p> </td> <td style="vertical-align:top"> <p>自动备份的数据保留时间,默认情况是1个月。</p> <p>可通过<strong>调整策略</strong>的<strong>数据备份保留时间</strong>设置。</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>日志备份保留时间</p> </td> <td style="vertical-align:top"> <p>自动备份的日志保留时间,默认情况是1个月。</p> <p>可通过<strong>调整策略</strong>的<strong>日志备份保留时间</strong>设置。</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>备份周期</p> </td> <td style="vertical-align:top"> <p>自动备份的备份周期,默认情况是每天备份。</p> <p>可通过<strong>调整策略</strong>的<strong>备份周期</strong>设置。</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>备份启动时间</p> </td> <td style="vertical-align:top"> <p>自动备份的启动时间,默认情况是23:00-00:00。</p> <p>可通过<strong>调整策略</strong>的<strong>备份启动时间</strong>设置。</p> </td> </tr> </tbody> </table> <p>7.&nbsp; 单击<strong>备份设置</strong>页签右上角的<strong>调整策略</strong>,在<strong>调整策略</strong>页面,可根据以下信息设置备份策略。</p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="background-color:#ededed; vertical-align:top"> <p><strong>配置项</strong></p> </td> <td style="background-color:#ededed; vertical-align:top"> <p><strong>说明</strong></p> </td> </tr> <tr> <td style="vertical-align:top"> <p>数据备份保留时间</p> </td> <td style="vertical-align:top"> <p>自动备份的数据保留时间,默认情况是1个月。</p> <p>可设置月和年:</p> <p>&bull;&nbsp; 以月为单位时,取值范围是1~11。</p> <p>&bull;&nbsp; 以年为单位时,取值范围是1~5。</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20191707155155-1d04082d9139.png" style="height:26px; margin:0px; width:65px" />:<strong>数据备份保留时间</strong>和<strong>日志备份保留时间</strong>是同步的。</p> <p>&nbsp;</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>日志备份保留时间</p> </td> <td style="vertical-align:top"> <p>自动备份的日志保留时间,默认情况是1个月。</p> <p>可设置月和年:</p> <p>&bull;&nbsp; 以月为单位时,取值范围是1~11。</p> <p>&bull;&nbsp; 以年为单位时,取值范围是1~5。</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20191707155155-1d04082d9139.png" style="height:26px; margin:0px; width:65px" />:<strong>数据备份保留时间</strong>和<strong>日志备份保留时间</strong>是同步的。</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>备份启动时间</p> </td> <td style="vertical-align:top"> <p>自动备份的启动时间。</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>备份周期</p> </td> <td style="vertical-align:top"> <p>设置目标备份周期。</p> </td> </tr> </tbody> </table> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20191707155346-1fe0b1a39863.png" style="height:349px; width:830px" /></p> <p>8.&nbsp; 单击<strong>确定</strong>。</p> <p><span style="font-size:18px"><strong>执行结果</strong></span></p> <p>&bull;&nbsp; 页面底部提示<strong>操作成功</strong>。</p> <p>&bull;&nbsp;&nbsp;<strong>备份策略</strong>区域的<strong>备份周期</strong>设置的目标值。</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20191707155434-1313202991f9.png" style="height:106px; width:830px" /></p> <p><span style="font-size:18px"><strong>后续操作</strong></span></p> <p>&bull;&nbsp; 在<strong>备份管理</strong>页签,选择<strong>数据备份</strong>,可查看所有备份记录。</p> <p>&bull;&nbsp; 可根据时间搜索备份数据。</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20191707155512-1cd4eaa09e6f.png" style="height:42px; width:775px" /></p> <p>&bull;&nbsp; 可选择目标自动备份记录进行恢复,可参考<a href="https://pinganyun.com/ssr/help/database/RDS/User_Guide_RDS_PostgreSQL.Backup_and_Restore.Restore" target="_blank">恢复备份</a>。</p>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

工单支持

解决云产品相关技术问题