数据备份恢复
<p class="shortdesc">本文介绍如何进行数据备份。</p>
<section class="section prereq" id="dataBackupAndRecovery__prereq_kx1_g14_psb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<p class="p">您已购买数据库审计实例。</p>
<p class="p">数据库审计服务与FTP服务器之间网络互通。</p>
<p class="p">您已备份数据。</p>
</section>
<section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="https://www.ocftcloud.com/console/db-audit" target="_blank" rel="external noopener">数据库审计控制台</a>,进入<span class="keyword wintitle">实例列表</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">单击目标实例<span class="ph uicontrol">操作</span>列的<span class="ph uicontrol">管理</span>,进入数据库审计控制台。</span>
<div class="itemgroup info">
<img class="image" id="dataBackupAndRecovery__d23e47" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-12277d5f94d4.png" width="700">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">在菜单栏选择<span class="ph menucascade"><span class="ph uicontrol">系统管理</span><abbr> > </abbr><span class="ph uicontrol">系统维护</span></span>,进入<span class="keyword wintitle">系统维护</span>页面。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">选择<span class="keyword wintitle">数据备份恢复</span>页签,在<span class="ph uicontrol">数据备份恢复管理</span>区域查看数据的备份记录。</span>
<div class="itemgroup info">
<img class="image" id="dataBackupAndRecovery__image_q3f_tc5_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-1af1f9af9b6d.png" width="700">
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">备份几天前的数据</span>后<span class="ph uicontrol">修改</span>,可以修改备份指定时间的数据。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在<span class="ph uicontrol">备份外送FTP配置</span>区域单击<span class="ph uicontrol">修改</span>,在弹出的对话框中输入FTP服务器信息,将数据备份至外部系统。</span>
<div class="itemgroup info">
<img class="image" id="dataBackupAndRecovery__image_x5f_c25_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-1a63a7c99049.png" width="450">
<table class="table" id="dataBackupAndRecovery__table_kly_d25_psb"><caption></caption><colgroup><col style="width:34.24657534246575%"><col style="width:65.75342465753424%"></colgroup><thead class="thead">
<tr class="row">
<th class="entry" id="dataBackupAndRecovery__table_kly_d25_psb__entry__1">
<p class="p">配置项</p>
</th>
<th class="entry" id="dataBackupAndRecovery__table_kly_d25_psb__entry__2">
<p class="p">说明</p>
</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry" headers="dataBackupAndRecovery__table_kly_d25_psb__entry__1 ">
<p class="p">状态</p>
</td>
<td class="entry" headers="dataBackupAndRecovery__table_kly_d25_psb__entry__2 ">
<p class="p">选择是否启用备份数据外送功能。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="dataBackupAndRecovery__table_kly_d25_psb__entry__1 ">
<p class="p">协议</p>
</td>
<td class="entry" headers="dataBackupAndRecovery__table_kly_d25_psb__entry__2 ">
<p class="p">设置备份数据外送的协议,可选择FTP或SFTP。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="dataBackupAndRecovery__table_kly_d25_psb__entry__1 ">
<p class="p">IP/端口</p>
</td>
<td class="entry" headers="dataBackupAndRecovery__table_kly_d25_psb__entry__2 ">
<p class="p">配置FTP服务器的IP地址和端口号。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="dataBackupAndRecovery__table_kly_d25_psb__entry__1 ">
<p class="p">用户名/密码</p>
</td>
<td class="entry" headers="dataBackupAndRecovery__table_kly_d25_psb__entry__2 ">
<p class="p">配置FTP服务器的登录用户名和密码。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="dataBackupAndRecovery__table_kly_d25_psb__entry__1 ">
<p class="p">上传目录</p>
</td>
<td class="entry" headers="dataBackupAndRecovery__table_kly_d25_psb__entry__2 ">
<p class="p">备份文件上传至FTP服务器的目录,默认为FTP服务器账户的根目录。</p>
</td>
</tr>
</tbody></table>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">单击<span class="ph uicontrol">确定</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在数据备份恢复管理列表中勾选数据,单击<span class="ph uicontrol">FTP外送</span>,即可将数据外送至FTP服务器。</span>
<div class="itemgroup info">
<img class="image" id="dataBackupAndRecovery__image_bwz_df5_psb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20222103110011-1b8dd8349204.png" width="800">
</div>
</li></ol></section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!