forked from docs/doc-exports
Reviewed-by: Mützel, Andrea <andrea.muetzel@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
50 lines
6.4 KiB
HTML
50 lines
6.4 KiB
HTML
<a name="dcs-ug-0312031"></a><a name="dcs-ug-0312031"></a>
|
||
|
||
<h1 class="topictitle1">Configuring an Automatic Backup Policy</h1>
|
||
<div id="body8662426"><p id="dcs-ug-0312031__en-us_topic_0148195200_p13128131102618">On the DCS console, you can <span class="keyword" id="dcs-ug-0312031__en-us_topic_0148195200_keyword10365143821711">configure an automatic backup policy</span>. The system then backs up data in your instances according to the backup policy.</p>
|
||
<p id="dcs-ug-0312031__p1061634023217">By default, automatic backup is disabled. To enable it, perform the operations described in this section. Single-node instances do not support backup and restoration.</p>
|
||
<p id="dcs-ug-0312031__en-us_topic_0148195200_p73757556015">If automatic backup is not required, disable the automatic backup function in the backup policy.</p>
|
||
<div class="section" id="dcs-ug-0312031__en-us_topic_0148195200_section994932416463"><h4 class="sectiontitle">Prerequisites</h4><p id="dcs-ug-0312031__en-us_topic_0148195200_p9949152410469">A master/standby or cluster DCS instance is in the <strong id="dcs-ug-0312031__b16515150829">Running</strong> state.</p>
|
||
</div>
|
||
<div class="section" id="dcs-ug-0312031__en-us_topic_0148195200_section6949172419462"><h4 class="sectiontitle">Procedure</h4><ol id="dcs-ug-0312031__en-us_topic_0148195200_ol199491424204611"><li id="dcs-ug-0312031__li1799392835619"><span>Log in to the DCS console.</span></li><li id="dcs-ug-0312031__li79421647103"><span>Click <span><img id="dcs-ug-0312031__image29421471601" src="en-us_image_0000001194403149.png"></span> in the upper left corner and select a region and a project.</span></li><li id="dcs-ug-0312031__li18411387341"><span>In the navigation pane, choose <strong id="dcs-ug-0312031__b138215267587">Cache Manager</strong>.</span></li><li id="dcs-ug-0312031__en-us_topic_0148195200_li19501824184620"><span>Click the name of the DCS instance to display more details about the DCS instance.</span></li><li id="dcs-ug-0312031__en-us_topic_0148195200_li69641431124717"><span>On the instance details page, click <strong id="dcs-ug-0312031__en-us_topic_0148195200_b1071382118364">Backups & Restorations</strong>.</span></li><li id="dcs-ug-0312031__en-us_topic_0148195200_li54941181313"><span>Slide <span><img id="dcs-ug-0312031__image179659398194" src="en-us_image_0000001256735725.png"></span> to the right to enable automatic backup. Backup policies will be displayed.</span><p>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dcs-ug-0312031__en-us_topic_0148195200_table106612411418" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters in a backup policy</caption><thead align="left"><tr id="dcs-ug-0312031__en-us_topic_0148195200_row8678414410"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.6.2.1.2.3.1.1"><p id="dcs-ug-0312031__en-us_topic_0148195200_p067174117410">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="75%" id="mcps1.3.5.2.6.2.1.2.3.1.2"><p id="dcs-ug-0312031__en-us_topic_0148195200_p667941542">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="dcs-ug-0312031__en-us_topic_0148195200_row267134113411"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.6.2.1.2.3.1.1 "><p id="dcs-ug-0312031__en-us_topic_0148195200_p13681741746">Backup Schedule</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.5.2.6.2.1.2.3.1.2 "><p id="dcs-ug-0312031__en-us_topic_0148195200_p779464131810">Day of a week on which data in the chosen DCS instance is automatically backed up.</p>
|
||
<p id="dcs-ug-0312031__en-us_topic_0148195200_p152041652203214">You can select one or multiple days of a week.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dcs-ug-0312031__en-us_topic_0148195200_row17682411040"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.6.2.1.2.3.1.1 "><p id="dcs-ug-0312031__en-us_topic_0148195200_p14687411546">Retention Period (days)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.5.2.6.2.1.2.3.1.2 "><p id="dcs-ug-0312031__en-us_topic_0148195200_p26894110412">The number of days that automatically backed up data is retained.</p>
|
||
<p id="dcs-ug-0312031__en-us_topic_0148195200_p145762584192">Backup data will be permanently deleted at the end of retention period and cannot be restored. Value range: 1–7.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dcs-ug-0312031__en-us_topic_0148195200_row20681841543"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.6.2.1.2.3.1.1 "><p id="dcs-ug-0312031__en-us_topic_0148195200_p7681411748">Start Time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.5.2.6.2.1.2.3.1.2 "><p id="dcs-ug-0312031__en-us_topic_0148195200_p26810411947">Time at which automatic backup starts. Value: the full hour between 00:00 to 23:00</p>
|
||
<p id="dcs-ug-0312031__en-us_topic_0148195200_p41903508201">The DCS checks backup policies once every hour. If the backup start time in a backup policy has arrived, data in the corresponding instance is backed up.</p>
|
||
<div class="note" id="dcs-ug-0312031__en-us_topic_0148195200_note5249843151515"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dcs-ug-0312031__en-us_topic_0148195200_p02508432157">Instance backup takes 5 to 30 minutes. The data added or modified during the backup process will not be backed up. To reduce the impact of backup on services, it is recommended that data should be backed up during off-peak periods.</p>
|
||
<p id="dcs-ug-0312031__en-us_topic_0148195200_p193271546527">Only instances in the <strong id="dcs-ug-0312031__en-us_topic_0148195200_b1061217415115">Running</strong> state can be backed up.</p>
|
||
</div></div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</p></li><li id="dcs-ug-0312031__en-us_topic_0148195200_li31314419315"><span>Click <strong id="dcs-ug-0312031__en-us_topic_0148195200_b7207613129">OK</strong>.</span></li><li id="dcs-ug-0312031__li1675132917344"><span>Automatic backup starts at the scheduled time. You can view backup records on the current page.</span><p><p id="dcs-ug-0312031__p1184881311108">After the backup is complete, click <strong id="dcs-ug-0312031__b14923630754368">Download</strong>, <strong id="dcs-ug-0312031__b5185711684368">Restore</strong>, or <strong id="dcs-ug-0312031__b14178782824368">Delete</strong> next to the backup record as required.</p>
|
||
</p></li></ol>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dcs-ug-0312030.html">Backing Up and Restoring DCS Instances</a></div>
|
||
</div>
|
||
</div>
|
||
|