Files
doc-exports/docs/rds/umn/rds_11_0023.html
wangdengke2 ac787f42f1 rds_umn
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2026-02-05 14:42:55 +00:00

84 lines
12 KiB
HTML

<a name="rds_11_0023"></a><a name="rds_11_0023"></a>
<h1 class="topictitle1">Restoring from Backup Files to RDS for SQL Server</h1>
<div id="body1490091459219"><div class="section" id="rds_11_0023__section51567119122258"><h4 class="sectiontitle">Scenarios</h4><p id="rds_11_0023__p38317856122343">This section describes how to use an automated or manual backup to restore a DB instance to the status when the backup was created.</p>
</div>
<div class="section" id="rds_11_0023__section51247315503"><h4 class="sectiontitle">Procedure</h4><ol id="rds_11_0023__ol444232814530"><li id="rds_11_0023__li17616348171"><span>Log in to the management console.</span></li><li id="rds_11_0023__li146168481712"><span>Click <span><img id="rds_11_0023__rds_modify_instance_name_en-us_topic_0192953815_image192529212293" src="en-us_image_0000001191211679.png"></span> in the upper left corner and select a region and a project.</span></li><li id="rds_11_0023__li96167481711"><span>Click <strong id="rds_11_0023__rds_modify_instance_name_b171171523153019">Service List</strong>. Under <strong id="rds_11_0023__rds_modify_instance_name_b111722319302">Database</strong>, click <strong id="rds_11_0023__rds_modify_instance_name_b15118152363010">Relational Database Service</strong>. The RDS console is displayed.</span></li><li id="rds_11_0023__li347375315249"><span>On the <strong id="rds_11_0023__b84235270695954">Backups &amp; Restorations</strong> page, locate the target backup and click <strong id="rds_11_0023__b84235270610031">Restore</strong> in the <strong id="rds_11_0023__b842352706162543">Operation</strong> column.</span><p><p id="rds_11_0023__p1330145782718">Alternatively, click the target DB instance on the <strong id="rds_11_0023__b12275154052212">Instances</strong> page. On the displayed page, choose <strong id="rds_11_0023__b1427684016223">Backups &amp; Restorations</strong>. On the displayed page, select the target backup to be restored and click <strong id="rds_11_0023__b3278640192219">Restore</strong> in the <strong id="rds_11_0023__b2280440182210">Operation</strong> column.</p>
</p></li><li id="rds_11_0023__li74461528135319"><span>In the displayed dialog box, configure required information and click <strong id="rds_11_0023__b5465720410">OK</strong>.</span><p><ol type="a" id="rds_11_0023__ol1948142917552"><li id="rds_11_0023__li11948929135518">Select a restoration method and click <strong id="rds_11_0023__b1566125244512">OK</strong>.<ul id="rds_11_0023__ul435064715437"><li id="rds_11_0023__li15349184784312">Create New Instance<div class="p" id="rds_11_0023__p6951016184712"><a name="rds_11_0023__li15349184784312"></a><a name="li15349184784312"></a>The <strong id="rds_11_0023__b759219414310">Create New Instance</strong> page is displayed.<ul id="rds_11_0023__ul134914476437"><li id="rds_11_0023__li113401547174310">The DB engine of the new DB instance is the same as that of the original DB instance and cannot be changed.</li><li id="rds_11_0023__li1334974719439">The original DB instance can be restored to the same or a later DB engine version, as shown in <a href="#rds_11_0023__table1334944713437">Table 1</a>.
<div class="tablenoborder"><a name="rds_11_0023__table1334944713437"></a><a name="table1334944713437"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_11_0023__table1334944713437" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Restoring to specific DB engine versions</caption><thead align="left"><tr id="rds_11_0023__row1134094714310"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.1"><p id="rds_11_0023__p434016479436">Original DB Engine Version</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.2"><p id="rds_11_0023__p434016477435">Restore To</p>
</th>
</tr>
</thead>
<tbody><tr id="rds_11_0023__row1327135154212"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.1 "><p id="rds_11_0023__p1216222683311">2017 Standard Edition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.2 "><p id="rds_11_0023__p46001805399">2017 Standard Edition</p>
<p id="rds_11_0023__p8600120143917">2017 Enterprise Edition</p>
<p id="rds_11_0023__p76394463312">2019 Standard Edition</p>
<p id="rds_11_0023__p13631944173314">2019 Enterprise Edition</p>
</td>
</tr>
<tr id="rds_11_0023__row7349647154313"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.1 "><p id="rds_11_0023__p193491347194319">2017 Enterprise Edition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.2 "><p id="rds_11_0023__p1534920476435">2017 Enterprise Edition</p>
<p id="rds_11_0023__p61031456103316">2019 Enterprise Edition</p>
</td>
</tr>
<tr id="rds_11_0023__row1947042518545"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.1 "><p id="rds_11_0023__p18852182232811">2019 Standard Edition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.2 "><p id="rds_11_0023__p17193142010309">2019 Standard Edition</p>
<p id="rds_11_0023__p13194122014305">2019 Enterprise Edition</p>
<p id="rds_11_0023__p5717181715353">2022 Standard Edition</p>
<p id="rds_11_0023__p14717171716356">2022 Enterprise Edition</p>
</td>
</tr>
<tr id="rds_11_0023__row1198532565419"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.1 "><p id="rds_11_0023__p16635173284">2019 Enterprise Edition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.2 "><p id="rds_11_0023__p849719345216">2019 Standard Edition</p>
<p id="rds_11_0023__p114971134182112">2019 Enterprise Edition</p>
<p id="rds_11_0023__p1924313620445">2022 Enterprise Edition</p>
</td>
</tr>
<tr id="rds_11_0023__row8641142213341"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.1 "><p id="rds_11_0023__p6119183011303">2022 Standard Edition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.2 "><p id="rds_11_0023__p6218181818370">2022 Standard Edition</p>
<p id="rds_11_0023__p192182181373">2022 Enterprise Edition</p>
</td>
</tr>
<tr id="rds_11_0023__row88329228348"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.1 "><p id="rds_11_0023__p8119123013302">2022 Enterprise Edition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.2.1.1.2.1.1.2.2.2.2.3.1.2 "><p id="rds_11_0023__p19869123573710">2022 Standard Edition</p>
<p id="rds_11_0023__p3869103512379">2022 Enterprise Edition</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="rds_11_0023__li195914109326">Storage space of the new DB instance is the same as that of the original DB instance by default and the new instance must be at least as large as the original DB instance.</li><li id="rds_11_0023__li8700125319437">Other settings are the same as those of the original DB instance by default and can be modified. For details, see <a href="rds_04_0061.html">Step 1: Create a DB Instance</a>.</li></ul>
</div>
</li><li id="rds_11_0023__li834944716435">Restore to Original<div class="notice" id="rds_11_0023__note14349147164312"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="rds_11_0023__ul924199804"><li id="rds_11_0023__li13241496015">If the DB instance for which the backup is created has been deleted, data cannot be restored to the original DB instance.</li><li id="rds_11_0023__li6365311106">Restoring to the original DB instance will overwrite data on it and cause the original DB instance to be unavailable during the restoration.</li></ul>
</div></div>
</li><li id="rds_11_0023__li013491811485">Restore to Existing<div class="notice" id="rds_11_0023__note137212261547"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="rds_11_0023__ul589342735416"><li id="rds_11_0023__li17931111442315">Restoring to an existing DB instance will overwrite data on it and cause the existing DB instance to be unavailable.</li><li id="rds_11_0023__li12724113752414">To restore backup data to an existing DB instance, the selected DB instance must be in the same VPC as the original DB instance and must have the same DB engine and the same or later version than the original DB instance.</li><li id="rds_11_0023__li874971732313">Ensure that the storage space of the selected DB instance is greater than or equal to the storage space of the original DB instance. Otherwise, data will not be restored.</li><li id="rds_11_0023__li194061111153315">DB instances with the TDE function enabled cannot be restored from backups to existing DB instances.</li></ul>
</div></div>
<p id="rds_11_0023__p19844132811486">Select an existing DB instance and click <span class="uicontrol" id="rds_11_0023__uicontrol8676194217508"><b>Next</b></span>.</p>
</li></ul>
</li><li id="rds_11_0023__li794822925512">Select the databases to be restored. You can rename these databases as required. If you do not enter a new name, the original database name will be used.<div class="note" id="rds_11_0023__note1782644662519"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="rds_11_0023__ul2073918212296"><li id="rds_11_0023__li187391927290">The new database names must be different from each other and must be different from the original database names.</li><li id="rds_11_0023__li219595202911">The new database names cannot contain the following fields (case-insensitive): rdsadmin, master, msdb, tempdb, model, and resource.</li><li id="rds_11_0023__li170821803117">Each database name consists of 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</li></ul>
</div></div>
</li></ol>
</p></li><li id="rds_11_0023__li16188760377"><span>View the restoration result. The result depends on which restoration method was selected:</span><p><ul id="rds_11_0023__ul17349107145211"><li id="rds_11_0023__li14750862337">Create New Instance<p id="rds_11_0023__p17234179153315"><a name="rds_11_0023__li14750862337"></a><a name="li14750862337"></a>A new DB instance is created using the backup data. The status of the DB instance changes from <span class="uicontrol" id="rds_11_0023__uicontrol440114964"><b>Creating</b></span> to <span class="uicontrol" id="rds_11_0023__uicontrol184011746612"><b>Available</b></span>.</p>
<p id="rds_11_0023__p1935027115214">The new DB instance is independent from the original one. If you need read replicas to offload read pressure, create one or more for the new DB instance.</p>
</li><li id="rds_11_0023__li2109121810338">Restore to Original<p id="rds_11_0023__p141313297482"><a name="rds_11_0023__li2109121810338"></a><a name="li2109121810338"></a>On the <strong id="rds_11_0023__b62025156552">Instances</strong> page, the status of the target existing DB instance changes from <span class="uicontrol" id="rds_11_0023__uicontrol132031915145515"><b>Restoring</b></span> to <span class="uicontrol" id="rds_11_0023__uicontrol1220320153552"><b>Available</b></span>. If the target existing DB instance contains read replicas, the read replica status is the same as the target existing DB instance status.</p>
<p id="rds_11_0023__p1734291343411">After the restoration is complete, a full backup will be automatically triggered.</p>
</li><li id="rds_11_0023__li19646152418196">Restore to Existing<p id="rds_11_0023__p13538122531916"><a name="rds_11_0023__li19646152418196"></a><a name="li19646152418196"></a>On the <strong id="rds_11_0023__b73192131929">Instances</strong> page, the status of the DB instance changes from <span class="uicontrol" id="rds_11_0023__uicontrol832013131824"><b>Restoring</b></span> to <span class="uicontrol" id="rds_11_0023__uicontrol1532120131425"><b>Available</b></span>.</p>
</li></ul>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_sqlserver_05_0034.html">Backups and Restorations</a></div>
</div>
</div>