forked from docs/doc-exports
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>
31 lines
7.9 KiB
HTML
31 lines
7.9 KiB
HTML
<a name="dds_03_0042"></a><a name="dds_03_0042"></a>
|
|
|
|
<h1 class="topictitle1">Restoring a Cluster Instance from a Backup</h1>
|
|
<div id="body52179558"><div class="section" id="dds_03_0042__section20967309195347"><h4 class="sectiontitle"><strong id="dds_03_0042__b84235270694112">Scenarios</strong></h4><p id="dds_03_0042__p41350899195353">This section describes how to restore a cluster instance from a backup.</p>
|
|
</div>
|
|
<div class="section" id="dds_03_0042__section1039212672714"><h4 class="sectiontitle">Restoration Precautions</h4><ul id="dds_03_0042__ul18422104415358"><li id="dds_03_0042__li16422204473519">When you restore the DB instance from a backup file, a full backup file is downloaded from OBS and then restored to the DB instance at an average speed of 40 MB/s.</li></ul>
|
|
</div>
|
|
<div class="section" id="dds_03_0042__section730153355516"><h4 class="sectiontitle">Method 1</h4><ol id="dds_03_0042__ol13021633195518"><li id="dds_03_0042__li1370714260281"><span><a href="dds_02_0043.html">Log in to the DDS console.</a></span></li><li id="dds_03_0042__li1467205216550"><span>On the <strong id="dds_03_0042__b9753155263912">Instance Management</strong> page, click the target cluster instance.</span></li><li id="dds_03_0042__li1448536633"><span>In the navigation pane on the left, click <span class="uicontrol" id="dds_03_0042__uicontrol12794185410396"><b>Backups & Restorations</b></span>.</span></li><li id="dds_03_0042__li124692052105512"><span>On the <strong id="dds_03_0042__b84235270695954">Backups & Restorations</strong> page, locate the target backup and click <strong id="dds_03_0042__b84235270610031">Restore</strong> in the <strong id="dds_03_0042__b842352706162543">Operation</strong> column.</span></li><li id="dds_03_0042__li831613345514"><span>Select either of the following restoration methods and click <strong id="dds_03_0042__b1263063112417">OK</strong>.</span><p><ul id="dds_03_0042__ul63176338558"><li id="dds_03_0042__li1231773385512">Create New Instance<p id="dds_03_0042__p231863355512"><a name="dds_03_0042__li1231773385512"></a><a name="li1231773385512"></a>The <strong id="dds_03_0042__b785285157134352">Create New Instance</strong> page is displayed for you to create a DB instance using the backup data. The new DB instance is independent from the original one.</p>
|
|
<ul id="dds_03_0042__ul113192331551"><li id="dds_03_0042__li265707132412">The database type, DB instance type, compatible MongoDB version, storage engine, storage type, and shard quantity must be the same as those of the original and cannot be changed.</li><li id="dds_03_0042__li15260547183511">The number of dds mongos nodes is 2 by default and ranges from 2 to 32. You can specify the quantity.</li><li id="dds_03_0042__li11323333155515">The storage space is the same as that of the original instance by default. You can only increase the storage space.</li><li id="dds_03_0042__li1032733365511">Other settings have default values and can be modified. For details, see section <a href="en-us_topic_0044018333.html">Creating a Cluster Instance</a>.</li></ul>
|
|
</li><li id="dds_03_0042__li1333013314556">Restore to Original<div class="notice" id="dds_03_0042__note1433133317555"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="dds_03_0042__ul1788224124220"><li id="dds_03_0042__li287102418427">Restoring to the original DB instance will overwrite all existing data and the DB instance will be temporarily unavailable during the restoration.</li><li id="dds_03_0042__li187182420429">The administrator password of the database instance remains unchanged after the restoration.</li><li id="dds_03_0042__li1572152117260">If IP address is enabled both for the shards and config, the related password has to be changed for both of them.</li></ul>
|
|
</div></div>
|
|
</li></ul>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="dds_03_0042__section494701373510"><h4 class="sectiontitle">Method 2</h4><ol id="dds_03_0042__o294a3f1667454757ae89c4cc2cb2f68c"><li id="dds_03_0042__li10914348172811"><span><a href="dds_02_0043.html">Log in to the DDS console.</a></span></li><li id="dds_03_0042__li13270015417"><span>In the navigation pane on the left, click <span class="uicontrol" id="dds_03_0042__uicontrol753861384715"><b>Backup Management</b></span>.</span></li><li id="dds_03_0042__li17813133313618"><span>On the <strong id="dds_03_0042__b133291400">Backup Management</strong> page, locate the target backup on the <strong id="dds_03_0042__b19161101481919">Clusters</strong> tab and click <span class="uicontrol" id="dds_03_0042__uicontrol0537439164719"><b>Restore</b></span> in the <strong id="dds_03_0042__b1900982919">Operation</strong> column.</span><p><ul id="dds_03_0042__ul1953385217127"><li id="dds_03_0042__li45337523127">If you use an automated backup, go to <a href="#dds_03_0042__l02b85d494b33478aa0354867be338dda">4</a>.</li><li id="dds_03_0042__li19533352111213">If you use a manual backup, check whether the original instance of the manual backup exists:<ul id="dds_03_0042__ul3533052191218"><li id="dds_03_0042__li2533205218129">If so, then go to <a href="#dds_03_0042__l02b85d494b33478aa0354867be338dda">4</a>.</li><li id="dds_03_0042__li9533175261210">If not, then you can only restore the backup to a new DB instance. Go to <a href="#dds_03_0042__li969750316413">Create New Instance</a> step under <a href="#dds_03_0042__l02b85d494b33478aa0354867be338dda">4</a>.</li></ul>
|
|
</li></ul>
|
|
</p></li><li id="dds_03_0042__l02b85d494b33478aa0354867be338dda"><a name="dds_03_0042__l02b85d494b33478aa0354867be338dda"></a><a name="l02b85d494b33478aa0354867be338dda"></a><span>Select either of the following restoration methods and click <strong id="dds_03_0042__b3746148162312">OK</strong>.</span><p><ul id="dds_03_0042__ul5144714316413"><li id="dds_03_0042__li969750316413"><a name="dds_03_0042__li969750316413"></a><a name="li969750316413"></a>Create New Instance<p id="dds_03_0042__dds_03_0042_p231863355512"><a name="dds_03_0042__li969750316413"></a><a name="li969750316413"></a>The <strong id="dds_03_0042__dds_03_0042_b785285157134352">Create New Instance</strong> page is displayed for you to create a DB instance using the backup data. The new DB instance is independent from the original one.</p>
|
|
<ul id="dds_03_0042__dds_03_0042_ul113192331551"><li id="dds_03_0042__dds_03_0042_li265707132412">The database type, DB instance type, compatible MongoDB version, storage engine, storage type, and shard quantity must be the same as those of the original and cannot be changed.</li><li id="dds_03_0042__dds_03_0042_li15260547183511">The number of dds mongos nodes is 2 by default and ranges from 2 to 32. You can specify the quantity.</li><li id="dds_03_0042__dds_03_0042_li11323333155515">The storage space is the same as that of the original instance by default. You can only increase the storage space.</li><li id="dds_03_0042__dds_03_0042_li1032733365511">Other settings have default values and can be modified. For details, see section <a href="en-us_topic_0044018333.html">Creating a Cluster Instance</a>.</li></ul>
|
|
</li><li id="dds_03_0042__li51284314164125">Restore to Original<div class="notice" id="dds_03_0042__dds_03_0042_note1433133317555"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="dds_03_0042__dds_03_0042_ul1788224124220"><li id="dds_03_0042__dds_03_0042_li287102418427">Restoring to the original DB instance will overwrite all existing data and the DB instance will be temporarily unavailable during the restoration.</li><li id="dds_03_0042__dds_03_0042_li187182420429">The administrator password of the database instance remains unchanged after the restoration.</li><li id="dds_03_0042__dds_03_0042_li1572152117260">If IP address is enabled both for the shards and config, the related password has to be changed for both of them.</li></ul>
|
|
</div></div>
|
|
</li></ul>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dds_03_0006.html">Backup and Restore</a></div>
|
|
</div>
|
|
</div>
|
|
|