forked from docs/doc-exports
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
26 lines
4.6 KiB
HTML
26 lines
4.6 KiB
HTML
<a name="dds_03_0101"></a><a name="dds_03_0101"></a>
|
|
|
|
<h1 class="topictitle1">Recycling a DB Instance</h1>
|
|
<div id="body1589937712589"><p id="dds_03_0101__p1486074316554">DDS can move deleted DB instances to the recycle bin, so you can restore them easily.</p>
|
|
<div class="section" id="dds_03_0101__section2396133881116"><h4 class="sectiontitle">Precautions</h4><ul id="dds_03_0101__ul13376261214"><li id="dds_03_0101__li1937420126">The recycling policy is enabled by default and cannot be disabled. Instances in the recycle bin are retained for 7 days by default, and this will not generate any charges.</li></ul>
|
|
</div>
|
|
<ul id="dds_03_0101__ul83961938171118"><li id="dds_03_0101__li125390017614">Up to 100 instances can be moved to the recycle bin. Once the recycle bin is full, you can still delete instances, but they cannot be placed in the recycle bin, so the deletions will be permanent.</li></ul>
|
|
<div class="section" id="dds_03_0101__section192725288227"><h4 class="sectiontitle">Modifying the Recycling Policy</h4><div class="notice" id="dds_03_0101__note7972436175310"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="dds_03_0101__p1014611714572">You can modify the retention period, and the changes only apply to the DB instances deleted after the changes, so exercise caution when performing this operation.</p>
|
|
</div></div>
|
|
<ol id="dds_03_0101__ol6209173625513"><li id="dds_03_0101__li312682313217"><span><a href="dds_02_0043.html">Log in to the DDS console</a>.</span></li><li id="dds_03_0101__li670351543711"><span>In the navigation pane on the left, choose <strong id="dds_03_0101__b24644068942116">Recycling Management</strong>.</span></li><li id="dds_03_0101__l4536858648cc4c3c934a62105a67fdba"><span>On the <strong id="dds_03_0101__b201495714911">Recycling Management</strong> page, click <strong id="dds_03_0101__b156198018109">Modify Recycling Policy</strong>. In the displayed dialog box, set the retention period for the deleted DB instances from 1 day to 7 days. Then, click <strong id="dds_03_0101__b544692811011">OK</strong>.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="dds_03_0101__section927612820223"><h4 class="sectiontitle">Rebuilding a DB Instance</h4><p id="dds_03_0101__p1962113243815">You can rebuild DB instances from the recycle bin within the retention period to restore data.</p>
|
|
<ol id="dds_03_0101__ol1089625815143"><li id="dds_03_0101__li1450031811512"><span><a href="dds_02_0043.html">Log in to the DDS console</a>.</span></li><li id="dds_03_0101__li1321235119363"><span>In the navigation pane on the left, choose <strong id="dds_03_0101__b87191367242451">Recycling Management</strong>.</span></li><li id="dds_03_0101__li1289755810145"><span>On the <strong id="dds_03_0101__b11383161217123">Recycling Management</strong> page, locate the DB instance to be rebuilt and in the <strong id="dds_03_0101__b438551216129">Operation</strong> column, click <strong id="dds_03_0101__b19384131211123">Rebuild</strong>.</span></li><li id="dds_03_0101__li15742155719178"><span>On the displayed page, set required parameters and submit the rebuilding task.</span><p><ul id="dds_03_0101__ul125491759144410"><li id="dds_03_0101__li15041910144514">The database type, DB instance type, compatible MongoDB version, storage engine, and storage type must be the same as those of the original and cannot be changed.</li><li id="dds_03_0101__li1354920591444">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_0101__li1362347112313">Other settings have default values and can be modified. For details, see the following sections.<ul id="dds_03_0101__ul122203814468"><li id="dds_03_0101__li161646614615"><a href="en-us_topic_0044018333.html">Creating a Cluster Instance</a></li><li id="dds_03_0101__li49980478461"><a href="dds_02_0012.html">Creating a Replica Set Instance</a></li><li id="dds_03_0101__li10811733204710"><a href="dds_02_0023.html">Creating a Single Node Instance</a></li></ul>
|
|
</li><li id="dds_03_0101__li325410528311">A full backup is triggered after the new instance is created.</li></ul>
|
|
<div class="note" id="dds_03_0101__note1746516566444"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dds_03_0101__p16465056164413">After the instance has been rebuilt, it also stays in the recycle bin and cannot be deleted.</p>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dds_03_0002.html">Instance Management</a></div>
|
|
</div>
|
|
</div>
|
|
|