doc-exports/docs/ddm/umn/ddm_06_0016.html
Ru, Li Yi 4b09a03a51 ddm_umn
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: Ru, Li Yi <liyiru7@huawei.com>
Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
2024-04-11 11:39:26 +00:00

53 lines
6.9 KiB
HTML

<a name="ddm_06_0016"></a><a name="ddm_06_0016"></a>
<h1 class="topictitle1">Restoring Data to a New Instance</h1>
<div id="body0000001685194148"><p id="ddm_06_0016__p1415815614540">DDM allows you to restore data from the current instance to any point in time using an existing backup. This is a good choice for routine service backup and restoration.</p>
<p id="ddm_06_0016__p10381634123216">This section uses an RDS for MySQL instance as an example to describe how to restore data to a new DDM instance.</p>
<div class="section" id="ddm_06_0016__section9831131045613"><h4 class="sectiontitle">Precautions</h4><ul id="ddm_06_0016__ul086122419334"><li id="ddm_06_0016__li148614241330">Restoring data to a new instance restores your DDM instance and its data nodes (RDS for MySQL instances). Before the restoration, you need to prepare a new DDM instance and as many new RDS for MySQL instances as there are data nodes.</li></ul>
</div>
<ul id="ddm_06_0016__ul1983134241110"><li id="ddm_06_0016__li884942201112">Restoring data to a new DDM instance will overwrite data on it and cause the instance to be unavailable during restoration.</li><li id="ddm_06_0016__li9842424116">The new RDS for MySQL instances must have the same or later versions and as much as or more storage space than the original ones.</li><li id="ddm_06_0016__li02281512112">Restoration is not supported if the destination DDM instance is in the primary network and its associated RDS for MySQL instance is in the extended network.</li><li id="ddm_06_0016__li10937638171916">The source DDM instance must be of the version 2.3.2.11 or later, and the destination DDM instance must be of the version 3.0.8 or later.</li><li id="ddm_06_0016__li3128144163914">Time points that data can be restored to depend on the backup policy set on original data nodes.</li></ul>
<div class="section" id="ddm_06_0016__section56821323182215"><h4 class="sectiontitle">Procedure</h4><ol id="ddm_06_0016__ol5371100162518"><li id="ddm_06_0016__li212881212410"><span>Log in to the DDM console.</span></li><li id="ddm_06_0016__li4793191882712"><a name="ddm_06_0016__li4793191882712"></a><a name="li4793191882712"></a><span>Create a new DDM instance in the region where the source DDM instance is located or select an existing DDM instance that meets the requirements. </span><p><div class="note" id="ddm_06_0016__note1612301271217"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ddm_06_0016__p9621531173616">Ensure that the new DDM instance or the selected existing DDM instance is not associated with any RDS for MySQL instance and has no schemas or accounts.</p>
</div></div>
</p></li><li id="ddm_06_0016__li1017501443616"><a name="ddm_06_0016__li1017501443616"></a><a name="li1017501443616"></a><span>On the RDS console, create as many RDS for MySQL instances as there are in the source DDM instance.</span><p><div class="note" id="ddm_06_0016__note9182141942712"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="ddm_06_0016__ul722745823619"><li id="ddm_06_0016__li6344193217464">Ensure that the new RDS instances have the same or later versions than RDS instances associated with the source DDM instance.</li><li id="ddm_06_0016__li62301358173611">Ensure that each new RDS for MySQL instance has the same or larger storage space than each source RDS instance.</li></ul>
</div></div>
</p></li><li id="ddm_06_0016__li203725032512"><span>Switch back to the DDM console, in the instance list, locate the DDM instance whose data you want to restore, and click its name.</span></li><li id="ddm_06_0016__li2938164712387"><span>In the navigation pane on the left, choose <strong id="ddm_06_0016__b35133551212">Backups &amp; Restorations</strong>.</span></li><li id="ddm_06_0016__li723812134011"><span>Click <strong id="ddm_06_0016__b1969121127">Restore to New Instance</strong>.</span></li><li id="ddm_06_0016__li03361718184120"><span>On the displayed <strong id="ddm_06_0016__b91921018425">Restore to New Instance</strong> page, specify a time range and a point in time, and select destination DDM instance and associated data nodes.</span><p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ddm_06_0016__table1237113116582" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="ddm_06_0016__row1538831145819"><th align="left" class="cellrowborder" valign="top" width="23.01%" id="mcps1.3.5.2.7.2.1.2.3.1.1"><p id="ddm_06_0016__p638123114582">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="76.99000000000001%" id="mcps1.3.5.2.7.2.1.2.3.1.2"><p id="ddm_06_0016__p1038163113581">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ddm_06_0016__row1438123114587"><td class="cellrowborder" valign="top" width="23.01%" headers="mcps1.3.5.2.7.2.1.2.3.1.1 "><p id="ddm_06_0016__p5385316588">Time Range</p>
</td>
<td class="cellrowborder" valign="top" width="76.99000000000001%" headers="mcps1.3.5.2.7.2.1.2.3.1.2 "><p id="ddm_06_0016__p338163195816">Select a time range.</p>
</td>
</tr>
<tr id="ddm_06_0016__row183811314587"><td class="cellrowborder" valign="top" width="23.01%" headers="mcps1.3.5.2.7.2.1.2.3.1.1 "><p id="ddm_06_0016__p63817317582">Time Point</p>
</td>
<td class="cellrowborder" valign="top" width="76.99000000000001%" headers="mcps1.3.5.2.7.2.1.2.3.1.2 "><p id="ddm_06_0016__p1538331165810">Select a time point.</p>
<p id="ddm_06_0016__p6349530568">DDM checks whether the associated data nodes have available backups at the selected point in time.</p>
</td>
</tr>
<tr id="ddm_06_0016__row93853135814"><td class="cellrowborder" valign="top" width="23.01%" headers="mcps1.3.5.2.7.2.1.2.3.1.1 "><p id="ddm_06_0016__p4381931145816">Destination DDM Instance</p>
</td>
<td class="cellrowborder" valign="top" width="76.99000000000001%" headers="mcps1.3.5.2.7.2.1.2.3.1.2 "><p id="ddm_06_0016__p123873118588">Select the DDM instance created in <a href="#ddm_06_0016__li4793191882712">2</a> as the destination instance.</p>
</td>
</tr>
<tr id="ddm_06_0016__row138133118587"><td class="cellrowborder" valign="top" width="23.01%" headers="mcps1.3.5.2.7.2.1.2.3.1.1 "><p id="ddm_06_0016__p638113125820">Associated Data Nodes</p>
</td>
<td class="cellrowborder" valign="top" width="76.99000000000001%" headers="mcps1.3.5.2.7.2.1.2.3.1.2 "><p id="ddm_06_0016__p16381731185815">Select the RDS for MySQL instances created in <a href="#ddm_06_0016__li1017501443616">3</a> as the destination data nodes.</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li id="ddm_06_0016__li160757161013"><span>Confirm the information and click <strong id="ddm_06_0016__b2240921633">OK</strong>. Wait for 1 to 3 minutes for the data restoration to complete.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ddm_03_0067.html">Backups and Restorations</a></div>
</div>
</div>