doc-exports/docs/dws/umn/dws_01_0029.html
Lu, Huayi 95132e24fc DWS UMN 830.201_new version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-27 11:54:34 +00:00

56 lines
13 KiB
HTML

<a name="EN-US_TOPIC_0000001659054582"></a><a name="EN-US_TOPIC_0000001659054582"></a>
<h1 class="topictitle1">Restoring a Snapshot to a New Cluster</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_section197315504370"><h4 class="sectiontitle">Scenario</h4><p id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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 set 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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_ul6264181513386"><li id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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><li id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_li179092386271">Fine-grained restoration does not support tables in absolute or relative tablespace.</li><li id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_li48203162047">Logical clusters and resource pools cannot be restored to a new cluster.</li></ul>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_section7335122917"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_ul9708105143016"><li id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_li387171343010">The snapshot is in the <strong id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001360289709_b1792404581711">Available</strong> state.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_section3487218143910"><h4 class="sectiontitle">Procedure</h4><ol id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_ol12013513315"><li id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_li185333863918"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_li985319381394"><span>In the navigation pane, choose <strong id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001360289709_b133531628121411">Snapshots</strong>. All snapshots are displayed by default.</span></li><li id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_li344634433115"><span>In the <strong id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001360289709_b12104115418372">Operation</strong> column of a snapshot, click <strong id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001360289709_b196065033720">Restore</strong>.</span><p><p id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_p154851351173117"><span><img id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_image758517574619" src="figure/en-us_image_0000001759518489.png" title="Click to enlarge" class="imgResize"></span></p>
</p></li><li id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_li8160533194219"><span>On the <strong id="EN-US_TOPIC_0000001659054582__b5573142631">Restore Snapshot</strong> page, configure the parameters of the new cluster, as shown in the following figure. </span><p><ol type="a" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_ol44135411512"><li id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_li1841319411457">Restore to a single-AZ cluster.<p id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_p52895567514"><a name="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_li1841319411457"></a><a name="en-us_topic_0000001423159701_li1841319411457"></a></p>
</li></ol>
<p id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_p1112719920170">You can modify cluster parameters. For details, see <a href="#EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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_0000001658895258__en-us_topic_0000001423119261_en-us_topic_0000001360169333_en-us_topic_0000001231278872_table1355651818416">Table 2</a>.</p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_table2991343171911"></a><a name="en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_table2991343171911"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_row19991204317197"><th align="left" class="cellrowborder" valign="top" width="21.22%" id="mcps1.3.3.2.4.2.3.2.3.1.1"><p id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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.3.2.3.1.2"><p id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_p169911443111916">Operation</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_row11991194316199"><td class="cellrowborder" valign="top" width="21.22%" headers="mcps1.3.3.2.4.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_p9991114316198">Basic settings</p>
</td>
<td class="cellrowborder" valign="top" width="78.78%" headers="mcps1.3.3.2.4.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_p1199118438195">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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_row1146920132016"><td class="cellrowborder" valign="top" width="21.22%" headers="mcps1.3.3.2.4.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_p15146162092017">Advanced settings</p>
</td>
<td class="cellrowborder" valign="top" width="78.78%" headers="mcps1.3.3.2.4.2.3.2.3.1.2 "><div class="p" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_p18762515200">If <span class="parmvalue" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001360289709_parmvalue1336795554112124"><b>Custom</b></span> is selected, configure the following parameters:<ul id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_ul5840537172013"><li id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_li38409371207"><strong id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001360289709_b122351521432">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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_li18688111631"><span>Click <strong id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001360289709_b377768908112124">Restore</strong> to go to the confirmation page.</span></li><li id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_li573921115318"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001360289709_uicontrol1729478627112124"><b>Submit</b></span> to restore the snapshot to the new cluster.</span><p><p id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_p1785311388395">When the status of the new cluster changes to <span class="parmvalue" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001360289709_parmvalue662338246112124"><b>Available</b></span>, the snapshot is restored.</p>
<p id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_en-us_topic_0000001180320217_p4853163823912">After the snapshot is restored, the private network address and EIP (if <span class="parmname" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_parmname8446133010367"><b>EIP</b></span> is set to <span class="parmvalue" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_parmvalue244783093619"><b>Automatically assign</b></span>) are automatically assigned. </p>
<div class="note" id="EN-US_TOPIC_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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_0000001659054582__en-us_topic_0000001423159701_en-us_topic_0000001360289709_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_0000001659054582__b942705872112124">Increase quota</strong> in the warning dialog box to submit a service ticket and apply for higher node quota.</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>