doc-exports/docs/dws/umn/dws_01_0029.html
Lu, Huayi c5fcb46315 DWS UMN 801 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2022-12-13 12:47:57 +00:00

58 lines
9.5 KiB
HTML

<a name="EN-US_TOPIC_0000001180320217"></a><a name="EN-US_TOPIC_0000001180320217"></a>
<h1 class="topictitle1">Restoring a Snapshot to a New Cluster</h1>
<div id="body1490579992871"><div class="section" id="EN-US_TOPIC_0000001180320217__section197315504370"><h4 class="sectiontitle">Scenario</h4><p id="EN-US_TOPIC_0000001180320217__p8060118">This section describes how to restore a snapshot to a new cluster when you want to check point-in-time snapshot data of the cluster.</p>
<p id="EN-US_TOPIC_0000001180320217__p044212315597">When a snapshot is restored to a new cluster, the restoration time is determined by the amount of data backed up by the snapshot. If a snapshot contains a large amount of data, the restoration will be slow. A small snapshot can be quickly restored.</p>
<p id="EN-US_TOPIC_0000001180320217__p13264151563816">Automatic snapshots are incremental backups. When restoring a snapshot to a new cluster, GaussDB(DWS) uses all snapshots between the latest full backup and the current snapshot. You can configure the backup frequency. If snapshots are backed up only once a week, the backup will be slow if the incremental data volume is large. You are advised to increase the backup frequency.</p>
<div class="notice" id="EN-US_TOPIC_0000001180320217__note182641215143812"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="EN-US_TOPIC_0000001180320217__ul6264181513386"><li id="EN-US_TOPIC_0000001180320217__li14264181593815">Currently, you can only use the snapshots stored in OBS to restore data to a new cluster.</li><li id="EN-US_TOPIC_0000001180320217__li201078341115">By default, the new cluster created during restoration has the same specifications and node quantity as the original cluster.</li><li id="EN-US_TOPIC_0000001180320217__li18413205913342">Restoring data to a new cluster does not affect the services running in the original cluster.</li><li id="EN-US_TOPIC_0000001180320217__li784317167201">If cold and hot tables are used, snapshots cannot be used to restore cold data to a new cluster.</li></ul>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001180320217__section7335122917"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0000001180320217__ul9708105143016"><li id="EN-US_TOPIC_0000001180320217__li128011511524">The resources required for restoring data to a new cluster do not exceed your available resource quota.</li><li id="EN-US_TOPIC_0000001180320217__li387171343010">The snapshot is in the <strong id="EN-US_TOPIC_0000001180320217__b59171013461">Available</strong> state.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001180320217__section3487218143910"><h4 class="sectiontitle">Procedure</h4><ol id="EN-US_TOPIC_0000001180320217__ol12013513315"><li id="EN-US_TOPIC_0000001180320217__li185333863918"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001180320217__li985319381394"><span>In the navigation pane, choose <strong id="EN-US_TOPIC_0000001180320217__b897061410466">Snapshots</strong>. All snapshots are displayed by default.</span></li><li id="EN-US_TOPIC_0000001180320217__li344634433115"><span>In the <strong id="EN-US_TOPIC_0000001180320217__b535122015465">Operation</strong> column of a snapshot, click <strong id="EN-US_TOPIC_0000001180320217__b10361520104615">Restore</strong>.</span><p><p id="EN-US_TOPIC_0000001180320217__p154851351173117"><span><img id="EN-US_TOPIC_0000001180320217__image17457113773114" src="figure/en-us_image_0000001276994681.png" width="427.9275" height="56.283073" title="Click to enlarge" class="imgResize"></span></p>
</p></li><li id="EN-US_TOPIC_0000001180320217__li8160533194219"><span>Configure the parameters of the new cluster, as shown in the following figure.</span><p><p id="EN-US_TOPIC_0000001180320217__p137778510424"></p>
<p id="EN-US_TOPIC_0000001180320217__p1391418416426"><span><img id="EN-US_TOPIC_0000001180320217__image145460431427" src="figure/en-us_image_0000001381824320.png" width="437.90250000000003" height="346.07171900000003" title="Click to enlarge" class="imgResize"></span></p>
<p id="EN-US_TOPIC_0000001180320217__p1112719920170">You can modify cluster parameters. For details, see <a href="#EN-US_TOPIC_0000001180320217__table2991343171911">Table 1</a>. By default, other parameters are the same as those in the snapshot. For details, see <a href="dws_01_0089.html#EN-US_TOPIC_0000001231278872__table1355651818416">Table 2</a>.</p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001180320217__table2991343171911"></a><a name="table2991343171911"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001180320217__table2991343171911" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters for the new cluster</caption><thead align="left"><tr id="EN-US_TOPIC_0000001180320217__row19991204317197"><th align="left" class="cellrowborder" valign="top" width="21.22%" id="mcps1.3.3.2.4.2.4.2.3.1.1"><p id="EN-US_TOPIC_0000001180320217__p2099124351916">Category</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="78.78%" id="mcps1.3.3.2.4.2.4.2.3.1.2"><p id="EN-US_TOPIC_0000001180320217__p169911443111916">Operation</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001180320217__row11991194316199"><td class="cellrowborder" valign="top" width="21.22%" headers="mcps1.3.3.2.4.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001180320217__p9991114316198">Basic</p>
</td>
<td class="cellrowborder" valign="top" width="78.78%" headers="mcps1.3.3.2.4.2.4.2.3.1.2 "><p id="EN-US_TOPIC_0000001180320217__p1199118438195">Configure the region, AZ, node flavor, cluster name, database port, VPC, subnet, security group, public access, and enterprise project.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001180320217__row1146920132016"><td class="cellrowborder" valign="top" width="21.22%" headers="mcps1.3.3.2.4.2.4.2.3.1.1 "><p id="EN-US_TOPIC_0000001180320217__p15146162092017">Advanced settings</p>
</td>
<td class="cellrowborder" valign="top" width="78.78%" headers="mcps1.3.3.2.4.2.4.2.3.1.2 "><div class="p" id="EN-US_TOPIC_0000001180320217__p18762515200">If <span class="parmvalue" id="EN-US_TOPIC_0000001180320217__parmvalue15266143611489"><b>Custom</b></span> is selected, configure the following parameters:<ul id="EN-US_TOPIC_0000001180320217__ul5840537172013"><li id="EN-US_TOPIC_0000001180320217__li5331957122610">If <strong id="EN-US_TOPIC_0000001180320217__b07371939144816">Automated Snapshot</strong> is enabled, you can configure the following parameters:<ul id="EN-US_TOPIC_0000001180320217__ul1795240112615"><li id="EN-US_TOPIC_0000001180320217__li993718122219"><strong id="EN-US_TOPIC_0000001180320217__b192321843134817">Retention Days</strong></li><li id="EN-US_TOPIC_0000001180320217__li499813151219"><strong id="EN-US_TOPIC_0000001180320217__b156571644154811">Start Time</strong></li><li id="EN-US_TOPIC_0000001180320217__li0791259172519"><strong id="EN-US_TOPIC_0000001180320217__b66583462481">Execution Period</strong></li></ul>
</li><li id="EN-US_TOPIC_0000001180320217__li1315185782710"><strong id="EN-US_TOPIC_0000001180320217__b5186773499">Parameter Template</strong></li><li id="EN-US_TOPIC_0000001180320217__li38409371207"><strong id="EN-US_TOPIC_0000001180320217__b533869194919">Tag</strong>: If encryption is enabled for the original cluster, you can configure a key name.</li></ul>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li id="EN-US_TOPIC_0000001180320217__li18688111631"><span>Click <strong id="EN-US_TOPIC_0000001180320217__b19849131413497">Restore</strong> to go to the confirmation page.</span></li><li id="EN-US_TOPIC_0000001180320217__li573921115318"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001180320217__uicontrol8901220164911"><b>Submit</b></span> to restore the snapshot to the new cluster.</span><p><p id="EN-US_TOPIC_0000001180320217__p1785311388395">When the status of the new cluster changes to <span class="parmvalue" id="EN-US_TOPIC_0000001180320217__parmvalue4417125174916"><b>Available</b></span>, the snapshot is restored.</p>
<p id="EN-US_TOPIC_0000001180320217__p4853163823912">After the snapshot is restored, the private network address and EIP (if <span class="parmname" id="EN-US_TOPIC_0000001180320217__parmname1196852814911"><b>EIP</b></span> is set to <span class="parmvalue" id="EN-US_TOPIC_0000001180320217__parmvalue43329305175241"><b>Automatically assign</b></span>) are automatically assigned. </p>
<div class="note" id="EN-US_TOPIC_0000001180320217__note17854133817391"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001180320217__p6854103810396">If the number of requested nodes, vCPU (cores), or memory (GB) exceed the user's remaining quota, a warning dialog box is displayed, indicating that the quota is insufficient and displaying the detailed remaining quota and the current quota application. You can click <strong id="EN-US_TOPIC_0000001180320217__b152955218495">Increase quota</strong> in the warning dialog box to submit a service ticket and apply for higher node quota.</p>
<p id="EN-US_TOPIC_0000001180320217__p13245117153115">For details about quotas, see <a href="dws_03_0034.html">What Is the User Quota?</a>.</p>
</div></div>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_01_1015.html">Restoration Using a Snapshot</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>