Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
This commit is contained in:
2025-05-07 07:36:25 +00:00
committed by zuul
parent f463d397b5
commit c96c8af9d3
9 changed files with 1470 additions and 1729 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -8,7 +8,13 @@
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001191146839__row12645162064019"><td class="cellrowborder" valign="top" width="25.05%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0000001191146839__p1564582014405">2025-02-21</p>
<tbody><tr id="EN-US_TOPIC_0000001191146839__row122907158179"><td class="cellrowborder" valign="top" width="25.05%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0000001191146839__p1629041561713">2025-04-21</p>
</td>
<td class="cellrowborder" valign="top" width="74.95%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0000001191146839__p1720142610173">Modified the following content:</p>
<ul id="EN-US_TOPIC_0000001191146839__ul820162616174"><li id="EN-US_TOPIC_0000001191146839__li192011268171"><a href="rds_08_0024.html">Introduction to Backups</a>.</li><li id="EN-US_TOPIC_0000001191146839__li42011126191720"><a href="en-us_topic_backup_restore.html">Backup Types</a>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001191146839__row12645162064019"><td class="cellrowborder" valign="top" width="25.05%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0000001191146839__p1564582014405">2025-02-21</p>
</td>
<td class="cellrowborder" valign="top" width="74.95%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0000001191146839__p33861834104017">Modified the following content:</p>
<ul id="EN-US_TOPIC_0000001191146839__ul5900138194018"><li id="EN-US_TOPIC_0000001191146839__li169001938124018"><a href="rds_pg_06_0001.html">Configuring Displayed Metrics</a>.</li><li id="EN-US_TOPIC_0000001191146839__li13441273412"><a href="rds_sqlserver_06_0001.html">Configuring Displayed Metrics</a>.</li></ul>

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,9 @@
<div id="body1440072764875"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="en-us_topic_backup_restore.html">Working with Backups</a></strong><br>
<li class="ulchildlink"><strong><a href="rds_08_0024.html">Introduction to Backups</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_backup_restore.html">Backup Types</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="rds_08_0004.html">Configuring an Intra-Region Backup Policy</a></strong><br>
</li>

View File

@ -0,0 +1,31 @@
<a name="rds_08_0024"></a><a name="rds_08_0024"></a>
<h1 class="topictitle1">Introduction to Backups</h1>
<div id="body0000002254942644"><div class="section" id="rds_08_0024__section691316341835"><h4 class="sectiontitle">What Are Database Backups?</h4><p id="rds_08_0024__p567195216611">RDS for MySQL automatically creates backups for DB instances during the backup time window. The backups are stored based on a preset retention period (1 to 732 days).</p>
<p id="rds_08_0024__p343282125516">A backup file is generated each time a backup is complete. If the instance fails or data is damaged, you can use the backup file to restore the instance, ensuring data reliability.</p>
</div>
<div class="section" id="rds_08_0024__section58491558203514"><h4 class="sectiontitle">Backup Types</h4><p id="rds_08_0024__p1576515613911">RDS for MySQL supports multiple backup types. For details, see <a href="en-us_topic_backup_restore.html">Backup Types</a>.</p>
</div>
<div class="section" id="rds_08_0024__section145785418117"><h4 class="sectiontitle">Where Data Is Backed Up</h4><ul id="rds_08_0024__ul105513401487"><li id="rds_08_0024__li7551840164814">Single-node instance<p id="rds_08_0024__p13114135104617"><a name="rds_08_0024__li7551840164814"></a><a name="li7551840164814"></a>A single-node architecture, which is more cost-effective than mainstream primary/standby DB instances. After a backup is triggered, data is backed up from the primary instance and stored as a package on OBS. The backup does not take up storage space of the instance.</p>
</li><li id="rds_08_0024__li13843145118483">Primary/standby instance<p id="rds_08_0024__p019811358462"><a name="rds_08_0024__li13843145118483"></a><a name="li13843145118483"></a>An HA architecture. In a primary/standby pair, each instance has the same instance class. After a backup task is triggered, data is backed up from the standby instance (or from the primary instance only when there is a long primary/standby replication delay) and stored as a package on OBS. The backup does not take up storage space of the instance.</p>
<p id="rds_08_0024__p16871371388">If a database or table in the primary instance is maliciously or mistakenly deleted, the database or table in the standby instance will also be deleted. In this case, you can only use backups to restore the deleted data.</p>
</li></ul>
</div>
<div class="section" id="rds_08_0024__section158941054811"><h4 class="sectiontitle">How Data Is Backed Up</h4><p id="rds_08_0024__p131299386203">RDS for MySQL automated backup is enabled by default and cannot be disabled. RDS for MySQL performs automated full backups based on the time window and interval specified in the backup policy. It also backs up data modifications made after the most recent automated full or binlog backup every 5 minutes or when a certain amount of incremental data is generated. When you restore an instance to a point in time, the most recent full backup will be downloaded from OBS for restoration. After the restoration is complete, binlog backups will be replayed to the specified point in time.</p>
<div class="fignone" id="rds_08_0024__fig173141295117"><span class="figcap"><b>Figure 1 </b>How data is backed up</span><br><span><img id="rds_08_0024__image184175915517" src="en-us_image_0000002289561469.png"></span></div>
</div>
<div class="section" id="rds_08_0024__section1324218125413"><h4 class="sectiontitle">Backup Compression Ratio</h4><p id="rds_08_0024__p355295211242">RDS uses <a href="https://github.com/akopytov/sysbench" target="_blank" rel="noopener noreferrer">sysbench</a> to import data models and a certain amount of data. After data is backed up, the compression ratio is about 80%. The more duplicate data there is, the higher the compression ratio is.</p>
<p id="rds_08_0024__p12552185202415">Compression ratio = Space occupied by backup files/Space occupied by data files x 100%</p>
</div>
<div class="section" id="rds_08_0024__section18303547194313"><h4 class="sectiontitle">Deleting Backups</h4><ul id="rds_08_0024__ul15804163474713"><li id="rds_08_0024__li10638135318521">Manual backups and automated backups can be deleted in different ways:<ul id="rds_08_0024__ul42203545311"><li id="rds_08_0024__li880443419475">Manual backups can only be manually deleted.</li><li id="rds_08_0024__li1080417342472">Automated backups cannot be manually deleted. To delete them, you can adjust the retention period specified in your <a href="rds_08_0004.html">automated backup policy</a>. When the retention period expires, automated backups will be deleted.</li></ul>
</li><li id="rds_08_0024__li12712356125212">Local binlogs<p id="rds_08_0024__p0263612123117"><a name="rds_08_0024__li12712356125212"></a><a name="li12712356125212"></a>If the retention period is set to <strong id="rds_08_0024__b104537586386">0</strong>, the binlogs of your DB instance will be deleted once they are synchronized to the standby instance and read replicas and successfully backed up to OBS.</p>
<p id="rds_08_0024__p4612113812510">If the retention period is set to a value greater than 0, for example, 1 day, the binlogs will be retained for one day after they are synchronized to the standby instance and read replicas from the primary instance and successfully backed up to OBS. After the retention period expires, the binlogs will be automatically deleted.</p>
</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_05_0034.html">Backups and Restorations</a></div>
</div>
</div>

View File

@ -10,7 +10,7 @@
<div class="notice" id="rds_09_0030__note173291154317"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="rds_09_0030__ul773241134312"><li id="rds_09_0030__li37321818435">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_09_0030__li137329120433">Restoring to the original DB instance will overwrite all existing data and the DB instance will be unavailable during the restoration process.</li></ul>
</div></div>
</li><li id="rds_09_0030__li107346119437">Restore to Existing<ol type="a" id="rds_09_0030__ol1227317584322"><li id="rds_09_0030__li169913413332">Select "I acknowledge that restoring to an existing DB instance will overwrite data on it and cause the existing DB instance to be unavailable during the restoration." and click <strong id="rds_09_0030__b197625465378">Next</strong>.</li><li id="rds_09_0030__li1327345813212">Confirm the information and click <strong id="rds_09_0030__b16498351143713">OK</strong>.</li></ol>
<div class="notice" id="rds_09_0030__note373316184316"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="rds_09_0030__ul1573341194318"><li id="rds_09_0030__li137334114318">If the target existing DB instance has been deleted, data cannot be restored to it.</li><li id="rds_09_0030__li117338111438">Restoring to an existing DB instance will overwrite data on it and cause the existing DB instance to be unavailable.</li><li id="rds_09_0030__li147336116439">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_09_0030__li473361144312">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></ul>
<div class="notice" id="rds_09_0030__note373316184316"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="rds_09_0030__ul1573341194318"><li id="rds_09_0030__li137334114318">If the target existing DB instance has been deleted, data cannot be restored to it.</li><li id="rds_09_0030__li117338111438">Restoring to an existing DB instance will overwrite data on it and cause the existing DB instance to be unavailable.</li><li id="rds_09_0030__li71125199386">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 DB engine version as the original DB instance.</li><li id="rds_09_0030__li473361144312">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></ul>
</div></div>
</li></ul>
</p></li><li id="rds_09_0030__li5799021015249"><span>View the restoration result. The result depends on which restoration method was selected:</span><p><ul id="rds_09_0030__ul66971940134012"><li id="rds_09_0030__li1869764011402">Create New Instance<p id="rds_09_0030__p14901411131711"><a name="rds_09_0030__li1869764011402"></a><a name="li1869764011402"></a>A new DB instance is created using the backup data. The status of the DB instance changes from <span class="uicontrol" id="rds_09_0030__uicontrol385122132713"><b>Creating</b></span> to <span class="uicontrol" id="rds_09_0030__uicontrol108662132716"><b>Available</b></span>.</p>