forked from docs/doc-exports
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
793 lines
72 KiB
HTML
793 lines
72 KiB
HTML
<a name="rds_09_0008"></a><a name="rds_09_0008"></a>
|
|
|
|
<h1 class="topictitle1">Restoring Data to a New DB Instance</h1>
|
|
<div id="body1537345764988"><div class="section" id="rds_09_0008__section117711820496"><h4 class="sectiontitle">Function</h4><p id="rds_09_0008__p1639433018917">This API is used to restore data to a new DB instance (v3).</p>
|
|
<ul id="rds_09_0008__ul12259155218373"><li id="rds_09_0008__en-us_topic_0240111818_li836513175363">Before calling an API, you need to understand the API in <a href="rds_03_0001.html">Authentication</a>.</li><li id="rds_09_0008__en-us_topic_0240111818_li1991981933613">Before calling this API, obtain the required <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">region and endpoint</a>.</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_09_0008__section191816615431"><h4 class="sectiontitle">Constraints</h4><ul id="rds_09_0008__ul94764163431"><li id="rds_09_0008__li9476016154315">The DB engine of the original DB instance must be the same as that of the target DB instance. For example, if the original DB instance is running MySQL, the target DB instance must also run MySQL.</li><li id="rds_09_0008__li20476111654312">All DB engine versions of the original and new DB instances must be consistent.</li><li id="rds_09_0008__li54761916164317">The total volume size of the new DB instance must be greater than or equal to that of the original DB instance.</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_09_0008__section12081471012"><h4 class="sectiontitle">URI</h4><ul id="rds_09_0008__ul13194498"><li id="rds_09_0008__li41603465301">URI format<p id="rds_09_0008__p11160246123012"><a name="rds_09_0008__li41603465301"></a><a name="li41603465301"></a>POST https://{<em id="rds_09_0008__i0203204117165">Endpoint</em>}/v3/{project_id}/instances</p>
|
|
</li><li id="rds_09_0008__li22221662">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table65777232" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="rds_09_0008__row46529701"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.2.1.2.4.1.1"><p id="rds_09_0008__p10809459"><strong id="rds_09_0008__b2166314910">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.2.1.2.4.1.2"><p id="rds_09_0008__p3150961"><strong id="rds_09_0008__b5171312094">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.2.1.2.4.1.3"><p id="rds_09_0008__p53901255"><strong id="rds_09_0008__b121818314916">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row3925534"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.2.1.2.4.1.1 "><p id="rds_09_0008__p49532829">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.2.1.2.4.1.2 "><p id="rds_09_0008__p52736237">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.2.1.2.4.1.3 "><p id="rds_09_0008__p43776822">Specifies the project ID of a tenant in a region.</p>
|
|
<p id="rds_09_0008__p1133118381087">For details about how to obtain the project ID, see <a href="rds_03_0002.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_09_0008__section420839121019"><h4 class="sectiontitle">Request</h4><ul id="rds_09_0008__ul83080566431"><li id="rds_09_0008__li1830813567439">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table11236435" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="rds_09_0008__row61525259"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.1.2.5.1.1"><p id="rds_09_0008__p17490046"><strong id="rds_09_0008__b142533113920">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.1.2.5.1.2"><p id="rds_09_0008__p7407659"><strong id="rds_09_0008__b12618311699">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.1.2.5.1.3"><p id="rds_09_0008__p63149496"><strong id="rds_09_0008__b16263311912">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.1.2.5.1.4"><p id="rds_09_0008__p14835533"><strong id="rds_09_0008__b13272319914">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row60827539"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p28083633">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p60181840">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p42890904">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p23411412333">Specifies the DB instance name.</p>
|
|
<p id="rds_09_0008__p182051629161513">DB instances of the same type can have same names under the same tenant.</p>
|
|
<p id="rds_09_0008__p61847473">The value must be 4 to 64 characters in length and start with a letter. It is case-insensitive and can contain only letters, digits, hyphens (-), and underscores (_).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row153106284519"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p1449010592056">ha</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p1249795916511">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p310803110574">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p1851455914518">Specifies the HA configuration parameters, which are used when creating primary/standby DB instances.</p>
|
|
<p id="rds_09_0008__p5887141310476">For details, see <a href="#rds_09_0008__table13260175614296">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row933354567"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p5334544617">configuration_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p93315541168">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p173313549619">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p53312541067">Specifies the parameter template ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row59881004135"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p3913191019136">port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p69131102134">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p6913210191313">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p19914101012135">Specifies the database port information.</p>
|
|
<ul id="rds_09_0008__ul164621729141114"><li id="rds_09_0008__en-us_topic_0224329974_li1643823618291">The MySQL database port ranges from 1024 to 65535 (excluding 12017 and 33071, which are occupied by the RDS system and cannot be used).</li><li id="rds_09_0008__en-us_topic_0224329974_li10438636192916">The PostgreSQL database port ranges from 2100 to 9500.</li><li id="rds_09_0008__en-us_topic_0224329974_li2438203662918">The Microsoft SQL Server database port is 1433 or ranges from 2100 to 9500 (excluding 5355 and 5985). </li></ul>
|
|
<p id="rds_09_0008__p1172615390340">If this parameter is not set, the default value is as follows:</p>
|
|
<ul id="rds_09_0008__ul13855195423417"><li id="rds_09_0008__en-us_topic_0224329974_li25818392140">For MySQL, the default value is <strong id="rds_09_0008__en-us_topic_0224329974_b1829614472613">3306</strong>.</li><li id="rds_09_0008__en-us_topic_0224329974_li93271730121413">For PostgreSQL, the default value is <strong id="rds_09_0008__en-us_topic_0224329974_b13817121574">5432</strong>.</li><li id="rds_09_0008__en-us_topic_0224329974_li12965162714143">For Microsoft SQL Server, the default value is <strong id="rds_09_0008__en-us_topic_0224329974_b1633152143014">1433</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row5642202221319"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p75222324139">password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p6522163210139">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p1352217328132">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p252314328139">Specifies the database password.</p>
|
|
<p id="rds_09_0008__p26487069">Valid value:</p>
|
|
<p id="rds_09_0008__p644584115526">A database password must be 8 to 32 characters long and contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters.</p>
|
|
<p id="rds_09_0008__p1269682315132">Different DB engines support different special characters.</p>
|
|
<ul id="rds_09_0008__ul15802015165417"><li id="rds_09_0008__li158031015125410">RDS for MySQL: ~!@#$%^*-_=+?,()&</li><li id="rds_09_0008__li1966311114324">RDS for PostgreSQL: ~!@#$%^*-_=+?,</li><li id="rds_09_0008__li11581772337">RDS for SQL Server: ~!@#$%^*-_+?,</li></ul>
|
|
<p id="rds_09_0008__p12429628144458">You are advised to enter a strong password to improve security, preventing security risks such as brute force cracking. If the password you provide is regarded as a weak password by the system, you will be prompted to enter a stronger password.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row1531134871717"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p169876381815">backup_strategy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p9987103141817">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p13697181131913">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p14803115432218">Specifies the advanced backup policy.</p>
|
|
<p id="rds_09_0008__p105311421474">For details, see <a href="#rds_09_0008__table0863181193416">Table 4</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row1842179141917"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p76971418121913">disk_encryption_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p206971718181915">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p14699618121914">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p1669991812194">Specifies the key ID for disk encryption. The default value is empty.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row42565233"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p25231885">flavor_ref</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p30516772">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p55939488">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p11524913121019">Specifies the specification code. The value cannot be empty.</p>
|
|
<p id="rds_09_0008__p1778193619122">For details, see <span class="parmname" id="rds_09_0008__parmname20548731984"><b>spec_code</b></span> in section <a href="rds_06_0002.html">Querying Database Specifications</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row49370368"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p39576862">volume</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p51609257">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p19600264">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p61513540">Specifies the volume information.</p>
|
|
<p id="rds_09_0008__p48758754814">For details, see <a href="#rds_09_0008__table10656503">Table 5</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row9307971"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p15748167">availability_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p533144">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p43184669">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p8297278">Specifies the AZ ID. If the DB instance is not a single instance, you need to specify an AZ for each node of the instance and separate the AZs with commas (,). For details, see the example.</p>
|
|
<p id="rds_09_0008__p49296060141410">The value cannot be empty. For details about how to obtain this parameter value, see <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row51313205"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p62728917">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p47877526">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p52874399">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p7759131604512">Specifies the VPC ID. To obtain this parameter value, use either of the following methods:</p>
|
|
<ul id="rds_09_0008__ul475921618452"><li id="rds_09_0008__en-us_topic_0224329974_li67651171359">Method 1: Log in to VPC console and view the VPC ID in the VPC details.</li><li id="rds_09_0008__en-us_topic_0224329974_li948317405377">Method 2: See the "Querying VPCs" section in the <em id="rds_09_0008__en-us_topic_0224329974_i842352697165629">Virtual Private Cloud API Reference</em>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row15861880"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p9743886">subnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p51057338">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p42003681">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p27596160451">Specifies the network ID. To obtain this parameter value, use either of the following methods:</p>
|
|
<ul id="rds_09_0008__ul375971611456"><li id="rds_09_0008__en-us_topic_0224329974_li121534277395">Method 1: Log in to VPC console and click the target subnet on the <strong id="rds_09_0008__en-us_topic_0224329974_b4101174416409">Subnets</strong> page. You can view the network ID on the displayed page.</li><li id="rds_09_0008__li7541191412548">Method 2: See the "Querying Subnets" section under "APIs" or the "Querying Networks" section under "OpenStack Neutron APIs" in <em id="rds_09_0008__i15411814145415">Virtual Private Cloud API Reference</em>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row392054641216"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p192741199315">data_vip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p1127491918312">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p202746191539">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p52748190315">Specifies the floating IP address of a DB instance. To obtain this parameter value, use either of the following methods:</p>
|
|
<ul id="rds_09_0008__ul24803102271"><li id="rds_09_0008__li248011072717">Method 1: Log in to VPC console and click the target subnet on the <strong id="rds_09_0008__b71421528186">Subnets</strong> page. You can view the subnet CIDR block on the displayed page.</li><li id="rds_09_0008__li881594742916">Method 2: See the "Querying Subnets" section under "APIs" in the <em id="rds_09_0008__i1274915908">Virtual Private Cloud API Reference</em>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row66008059"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p45052529">security_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p25376232">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p42208903">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p157601616114517">Specifies the security group which the RDS DB instance belongs to. To obtain this parameter value, use either of the following methods:</p>
|
|
<ul id="rds_09_0008__ul37601616154512"><li id="rds_09_0008__en-us_topic_0224329974_li94054222421">Method 1: Log in to VPC console. Choose <strong id="rds_09_0008__en-us_topic_0224329974_b1913676122">Access Control</strong> > <strong id="rds_09_0008__en-us_topic_0224329974_b789502111219">Security Groups</strong> in the navigation pane on the left. On the displayed page, click the target security group. You can view the security group ID on the displayed page.</li><li id="rds_09_0008__en-us_topic_0224329974_li17405132214423">Method 2: See the "Querying Security Groups" section in the <em id="rds_09_0008__en-us_topic_0224329974_i2369584559">Virtual Private Cloud API Reference</em>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row19723183722710"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p67242370273">restore_point</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p157241437112719">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p2957235135915">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p9724153712271">Specifies the restoration information.</p>
|
|
<p id="rds_09_0008__p272642434813">For details, see <a href="#rds_09_0008__table15343138128">Table 6</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row186541732111120"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="rds_09_0008__p4555179112712">collation</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="rds_09_0008__p95550912715">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="rds_09_0008__p1555599192715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="rds_09_0008__p156579554282">This parameter applies only to Microsoft SQL Server DB instances.</p>
|
|
<p id="rds_09_0008__p1223994152818">Value range: character sets queried in <a href="rds_05_0010.html">Querying the Available SQL Server Character Set</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="rds_09_0008__table13260175614296"></a><a name="table13260175614296"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table13260175614296" frame="border" border="1" rules="all"><caption><b>Table 3 </b>ha field data structure description</caption><thead align="left"><tr id="rds_09_0008__row430415632917"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.2.2.5.1.1"><p id="rds_09_0008__p83131256172915"><strong id="rds_09_0008__b2010420311915">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.2.2.5.1.2"><p id="rds_09_0008__p1532014560298"><strong id="rds_09_0008__b810453111915">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.2.2.5.1.3"><p id="rds_09_0008__p83297567293"><strong id="rds_09_0008__b41057314914">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.2.2.5.1.4"><p id="rds_09_0008__p734219563293"><strong id="rds_09_0008__b110616311792">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row173521956122913"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="rds_09_0008__p123571256172914">mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="rds_09_0008__p336525662915">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="rds_09_0008__p15376756162917">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><p id="rds_09_0008__p16181542163018">Specifies the DB instance type. The value is <strong id="rds_09_0008__b7441203013017">Ha</strong> (Primary/Standby or Cluster DB instances) and is case-insensitive.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row840515672916"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="rds_09_0008__p92151105323">replication_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="rds_09_0008__p62151809326">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="rds_09_0008__p1721540173210">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><p id="rds_09_0008__p15585263415">Specifies the replication mode for the standby DB instance.</p>
|
|
<p id="rds_09_0008__p121155213343">The value cannot be empty.</p>
|
|
<ul id="rds_09_0008__ul120105263413"><li id="rds_09_0008__li183417529344">For MySQL, the value is <strong id="rds_09_0008__b121131631994">async</strong> or <strong id="rds_09_0008__b911312315920">semisync</strong>.</li><li id="rds_09_0008__li104755213411">For PostgreSQL, the value is <strong id="rds_09_0008__b2011403119915">async</strong> or <strong id="rds_09_0008__b011413311498">sync</strong>.</li><li id="rds_09_0008__li1156155243418">For Microsoft SQL Server, the value is <strong id="rds_09_0008__b3115163117913">sync</strong>.</li></ul>
|
|
<div class="note" id="rds_09_0008__note17075210348"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="rds_09_0008__ul9881252203415"><li id="rds_09_0008__li9951452133414"><strong id="rds_09_0008__b141187316915">async</strong> indicates the asynchronous replication mode.</li><li id="rds_09_0008__li163121013819"><strong id="rds_09_0008__b1911815317919">semisync</strong> indicates the semi-synchronous replication mode.</li><li id="rds_09_0008__li191090527341"><strong id="rds_09_0008__b3119103111917">sync</strong> indicates the synchronous replication mode.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="rds_09_0008__table0863181193416"></a><a name="table0863181193416"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table0863181193416" frame="border" border="1" rules="all"><caption><b>Table 4 </b>backup_strategy field data structure description</caption><thead align="left"><tr id="rds_09_0008__row49079123417"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.3.2.5.1.1"><p id="rds_09_0008__p491419118346"><strong id="rds_09_0008__b412117315916">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.3.2.5.1.2"><p id="rds_09_0008__p1921131193411"><strong id="rds_09_0008__b41227318917">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.3.2.5.1.3"><p id="rds_09_0008__p1293171203411"><strong id="rds_09_0008__b212213311596">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.3.2.5.1.4"><p id="rds_09_0008__p17939718349"><strong id="rds_09_0008__b412319317911">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row1094610120345"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.3.2.5.1.1 "><p id="rds_09_0008__p1295681153413">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.3.2.5.1.2 "><p id="rds_09_0008__p119619110347">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.3.2.5.1.3 "><p id="rds_09_0008__p5970201183417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.3.2.5.1.4 "><p id="rds_09_0008__p20642173819393">Specifies the backup time window. Automated backups will be triggered during the backup time window.</p>
|
|
<p id="rds_09_0008__p144363282818">The value cannot be empty. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format.</p>
|
|
<ul id="rds_09_0008__ul73551635192814"><li id="rds_09_0008__li13765154012810">The <strong id="rds_09_0008__b8466258394">HH</strong> value must be 1 greater than the <strong id="rds_09_0008__b174669581595">hh</strong> value.</li><li id="rds_09_0008__li1510111915298">The values of <strong id="rds_09_0008__b13214152101015">mm</strong> and <strong id="rds_09_0008__b321610214106">MM</strong> must be the same and must be set to any of the following: <strong id="rds_09_0008__b1421618251018">00</strong>, <strong id="rds_09_0008__b1521612261016">15</strong>, <strong id="rds_09_0008__b72161127109">30</strong>, or <strong id="rds_09_0008__b15217102201017">45</strong>.</li></ul>
|
|
<p id="rds_09_0008__p59342194324">Example value:</p>
|
|
<ul id="rds_09_0008__ul1210322243217"><li id="rds_09_0008__li17296724143217">08:15-09:15</li><li id="rds_09_0008__li18103722163216">23:00-00:00</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row1699610173414"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.3.2.5.1.1 "><p id="rds_09_0008__p677216342">keep_days</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.3.2.5.1.2 "><p id="rds_09_0008__p2171624347">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.3.2.5.1.3 "><p id="rds_09_0008__p125424341">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.3.2.5.1.4 "><p id="rds_09_0008__p13613273417">Specifies the retention days for specific backup files.</p>
|
|
<p id="rds_09_0008__p7391722345">The value range is from 0 to 732. If this parameter is not specified or set to <strong id="rds_09_0008__b14135183119919">0</strong>, the automated backup policy is disabled. To extend the retention period, contact customer service. Automated backups can be retained for up to 2562 days.</p>
|
|
<div class="note" id="rds_09_0008__note1792981219569"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="rds_09_0008__p1192915125561">For SQL Server Primary/Standby and Cluster instance parameter "keep_days" cannot be set to 0.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="rds_09_0008__table10656503"></a><a name="table10656503"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table10656503" frame="border" border="1" rules="all"><caption><b>Table 5 </b>volume field data structure description</caption><thead align="left"><tr id="rds_09_0008__row5847780"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.4.2.5.1.1"><p id="rds_09_0008__p3908185"><strong id="rds_09_0008__b41375315919">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.4.2.5.1.2"><p id="rds_09_0008__p48127554"><strong id="rds_09_0008__b6504531594">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.4.2.5.1.3"><p id="rds_09_0008__p6017800"><strong id="rds_09_0008__b16505203110912">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.4.2.5.1.4"><p id="rds_09_0008__p17679762"><strong id="rds_09_0008__b1050519311199">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row22774600"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="rds_09_0008__p32803348">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="rds_09_0008__p39825499">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="rds_09_0008__p4640007">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><p id="rds_09_0008__p40296320">Specifies the volume type.</p>
|
|
<p id="rds_09_0008__p27122565">Its value can be any of the following and is case-sensitive:</p>
|
|
<ul id="rds_09_0008__ul6787524152511"><li id="rds_09_0008__rds_01_0002_li17711857191312"><strong id="rds_09_0008__rds_01_0002_b175811447151011">COMMON</strong>: SATA storage.</li><li id="rds_09_0008__rds_01_0002_li1671115572136"><strong id="rds_09_0008__rds_01_0002_b692704062510">ULTRAHIGH</strong>: ultra-high I/O storage.</li><li id="rds_09_0008__rds_01_0002_li882154133612"><strong id="rds_09_0008__rds_01_0002_b962134413123">CLOUDSSD</strong>: cloud SSD storage.</li><li id="rds_09_0008__rds_01_0002_li1186817447711"><strong id="rds_09_0008__rds_01_0002_b16454501416">ESSD</strong>: extreme SSD storage.</li></ul>
|
|
<div class="note" id="rds_09_0008__note53993655015"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="rds_09_0008__rds_01_0002_ul13221057105417"><li id="rds_09_0008__rds_01_0002_li62228576548">The MySQL and PostgreSQL DB engines support the following volume types: <strong id="rds_09_0008__rds_01_0002_b16873111595819">CLOUDSSD</strong> and <strong id="rds_09_0008__rds_01_0002_b1056111975811">ESSD</strong>. <strong id="rds_09_0008__rds_01_0002_b7935212141919">ESSD</strong> is not supported for Single instance types for MySQL and PostgreSQL.</li><li id="rds_09_0008__rds_01_0002_li18222557195416">The SQL Server engine supports the following volume types: <strong id="rds_09_0008__rds_01_0002_b15403185214573">COMMON</strong>, <strong id="rds_09_0008__rds_01_0002_b54822115819">ULTRAHIGH</strong>, and <strong id="rds_09_0008__rds_01_0002_b1461048165816">ESSD</strong>.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row42343927"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="rds_09_0008__p7306053">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="rds_09_0008__p54919424">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="rds_09_0008__p19288335">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><p id="rds_09_0008__p18851291">Specifies the volume size.</p>
|
|
<p id="rds_09_0008__p1878135135412">Its value range is from 40 GB to 4000 GB. The value must be a multiple of 10.</p>
|
|
<p id="rds_09_0008__p1169318625516"></p>
|
|
<div class="notice" id="rds_09_0008__note18772920133413"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="rds_09_0008__p3772920183420">The volume size of the new DB instance must be greater than or equal to that of the original DB instance.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="rds_09_0008__table15343138128"></a><a name="table15343138128"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table15343138128" frame="border" border="1" rules="all"><caption><b>Table 6 </b>restore_point field data structure description</caption><thead align="left"><tr id="rds_09_0008__row53891320125"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.5.2.5.1.1"><p id="rds_09_0008__p103841361219"><strong id="rds_09_0008__b65106311090">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.5.2.5.1.2"><p id="rds_09_0008__p14391313121214"><strong id="rds_09_0008__b17510531990">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.5.2.5.1.3"><p id="rds_09_0008__p44051314123"><strong id="rds_09_0008__b95101311094">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.1.5.2.5.1.4"><p id="rds_09_0008__p2414137127"><strong id="rds_09_0008__b1051113311699">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row2421813191218"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.1 "><p id="rds_09_0008__p1193091315312">instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.2 "><p id="rds_09_0008__p1793171316535">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.3 "><p id="rds_09_0008__p16931161385314">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.4 "><p id="rds_09_0008__p13931141395315">Specifies the DB instance ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row1853025314318"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.1 "><p id="rds_09_0008__p15931813205320">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.2 "><p id="rds_09_0008__p393171365310">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.3 "><p id="rds_09_0008__p893141314533">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.4 "><p id="rds_09_0008__p5931413145311">Specifies the restoration mode. Enumerated values include</p>
|
|
<ul id="rds_09_0008__ul193116138530"><li id="rds_09_0008__li16868102981910"><span class="parmvalue" id="rds_09_0008__parmvalue16942192181913"><b>backup</b></span>: indicates restoration from backup files. In this mode, <span class="parmname" id="rds_09_0008__parmname10465636152214"><b>backup_id</b></span> is mandatory when <span class="parmname" id="rds_09_0008__parmname9885117104719"><b>type</b></span> is not mandatory.</li><li id="rds_09_0008__li43144323192"><span class="parmvalue" id="rds_09_0008__parmvalue2181121091910"><b>timestamp</b></span>: indicates point-in-time restoration. In this mode, <span class="parmname" id="rds_09_0008__parmname11407141622319"><b>restore_time</b></span> is mandatory when <span class="parmname" id="rds_09_0008__parmname431421818472"><b>type</b></span> is mandatory.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row1246181331215"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.1 "><p id="rds_09_0008__p12932121318530">backup_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.2 "><p id="rds_09_0008__p1893281345315">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.3 "><p id="rds_09_0008__p0932191313531">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.4 "><p id="rds_09_0008__p1193213132533">Specifies the ID of the backup used to restore data. This parameter must be specified when the backup file is used for restoration.</p>
|
|
<div class="notice" id="rds_09_0008__note1584469173613"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="rds_09_0008__p88446916368">When <span class="parmname" id="rds_09_0008__parmname88681610123613"><b>type</b></span> is <span class="parmname" id="rds_09_0008__parmname466612414214"><b>backup</b></span>, <span class="parmname" id="rds_09_0008__parmname188683106368"><b>backup_id</b></span> is mandatory.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row13759127103219"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.1 "><p id="rds_09_0008__p1893261320536">restore_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.2 "><p id="rds_09_0008__p4932191313534">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.3 "><p id="rds_09_0008__p4932813145315">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.1.5.2.5.1.4 "><p id="rds_09_0008__p16932121319536">Specifies the time point of data restoration in the UNIX timestamp. The unit is millisecond and the time zone is UTC.</p>
|
|
<div class="notice" id="rds_09_0008__note3321191315376"><span class="noticetitle"> NOTICE: </span><div class="noticebody"><p id="rds_09_0008__p3346913143715">When <strong id="rds_09_0008__b84235270610114">type</strong> is <span class="parmvalue" id="rds_09_0008__parmvalue1820126152212"><b>timestamp</b></span>, <span class="parmname" id="rds_09_0008__parmname14103815173711"><b>restore_time</b></span> is mandatory.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="rds_09_0008__p56826241517"></p>
|
|
</li><li id="rds_09_0008__li4411135064210">Example<p id="rds_09_0008__p1454414211213"><a name="rds_09_0008__li4411135064210"></a><a name="li4411135064210"></a>POST https://rds.eu-de.otc.t-systems.com/v3/0483b6b16e954cb88930a360d2c4e663/instances</p>
|
|
</li><li id="rds_09_0008__li14637152124414">Request example<p id="rds_09_0008__p2347136203519"><a name="rds_09_0008__li14637152124414"></a><a name="li14637152124414"></a>Use backup files for restoration:</p>
|
|
<pre class="codeblock" id="rds_09_0008__codeblock54941157185017">{
|
|
"name": "targetInst",
|
|
"availability_zone": "eu-de-01,eu-de-02",
|
|
"ha": {
|
|
"mode": "ha",
|
|
"replication_mode": "async"
|
|
},
|
|
"flavor_ref": "rds.mysql.n1.large",
|
|
"volume": {
|
|
"type": "ULTRAHIGH",
|
|
"size": 40
|
|
},
|
|
"disk_encryption_id": "2gfdsh-844a-4023-a776-fc5c5fb71fb4",
|
|
"vpc_id": "490a4a08-ef4b-44c5-94be-3051ef9e4fce",
|
|
"subnet_id": "0e2eda62-1d42-4d64-a9d1-4e9aa9cd994f",
|
|
"security_group_id": "2a1f7fc8-3307-42a7-aa6f-42c8b9b8f8c5",
|
|
"backup_strategy": {
|
|
"keep_days": 2,
|
|
"start_time": "19:00-20:00"
|
|
},
|
|
"password": "Demo@12345678",
|
|
"configuration_id": "52e86e87445847a79bf807ceda213165pr01",
|
|
"restore_point": {
|
|
"instance_id": "d8e6ca5a624745bcb546a227aa3ae1cfin01",
|
|
"type": "backup",
|
|
"backup_id": "2f4ddb93-b901-4b08-93d8-1d2e472f30fe"
|
|
}
|
|
}</pre>
|
|
<p id="rds_09_0008__p104541048183515">Use PITR for restoration:</p>
|
|
<pre class="codeblock" id="rds_09_0008__codeblock32841794713">{
|
|
"name": "targetInst",
|
|
"availability_zone": "eu-de-01,eu-de-02",
|
|
"ha": {
|
|
"mode": "ha",
|
|
"replication_mode": "async"
|
|
},
|
|
"flavor_ref": "rds.mysql.n1.large",
|
|
"volume": {
|
|
"type": "ULTRAHIGH",
|
|
"size": 40
|
|
},
|
|
"disk_encryption_id": "2gfdsh-844a-4023-a776-fc5c5fb71fb4",
|
|
"vpc_id": "490a4a08-ef4b-44c5-94be-3051ef9e4fce",
|
|
"subnet_id": "0e2eda62-1d42-4d64-a9d1-4e9aa9cd994f",
|
|
"security_group_id": "2a1f7fc8-3307-42a7-aa6f-42c8b9b8f8c5",
|
|
"backup_strategy": {
|
|
"keep_days": 2,
|
|
"start_time": "19:00-20:00"
|
|
},
|
|
"password": "Demo@12345678",
|
|
"configuration_id": "52e86e87445847a79bf807ceda213165pr01",
|
|
"restore_point": {
|
|
"instance_id": "d8e6ca5a624745bcb546a227aa3ae1cfin01",
|
|
"type": "timestamp",
|
|
"restore_time": 1532001446987
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_09_0008__section1229512143106"><h4 class="sectiontitle">Response</h4><ul id="rds_09_0008__ul1727710432014"><li id="rds_09_0008__li227714320010">Normal response
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table17474517" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Parameter description</caption><thead align="left"><tr id="rds_09_0008__row16146366"><th align="left" class="cellrowborder" valign="top" width="26.38%" id="mcps1.3.5.2.1.1.2.4.1.1"><p id="rds_09_0008__p32787233"><strong id="rds_09_0008__b12565631693">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.29%" id="mcps1.3.5.2.1.1.2.4.1.2"><p id="rds_09_0008__p38520254"><strong id="rds_09_0008__b7565331499">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33%" id="mcps1.3.5.2.1.1.2.4.1.3"><p id="rds_09_0008__p33132859"><strong id="rds_09_0008__b25653311794">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row66515904"><td class="cellrowborder" valign="top" width="26.38%" headers="mcps1.3.5.2.1.1.2.4.1.1 "><p id="rds_09_0008__p19079158">instance</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.29%" headers="mcps1.3.5.2.1.1.2.4.1.2 "><p id="rds_09_0008__p1070295810711">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.5.2.1.1.2.4.1.3 "><p id="rds_09_0008__p48735027">Indicates the DB instance information.</p>
|
|
<p id="rds_09_0008__p8266112116531">For details, see <a href="#rds_09_0008__table175305610274">Table 8</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row1625804435012"><td class="cellrowborder" valign="top" width="26.38%" headers="mcps1.3.5.2.1.1.2.4.1.1 "><p id="rds_09_0008__p1165525810503">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.29%" headers="mcps1.3.5.2.1.1.2.4.1.2 "><p id="rds_09_0008__p116551958135013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.5.2.1.1.2.4.1.3 "><p id="rds_09_0008__p16655115865012">Indicates the ID of the DB instance creation task.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="rds_09_0008__table175305610274"></a><a name="table175305610274"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table175305610274" frame="border" border="1" rules="all"><caption><b>Table 8 </b>instance description</caption><thead align="left"><tr id="rds_09_0008__row4782256142718"><th align="left" class="cellrowborder" valign="top" width="33.36333633363336%" id="mcps1.3.5.2.1.2.2.4.1.1"><p id="rds_09_0008__p11791105616272"><strong id="rds_09_0008__b356711311099">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.3033303330333%" id="mcps1.3.5.2.1.2.2.4.1.2"><p id="rds_09_0008__p1280910568278"><strong id="rds_09_0008__b10568231799">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.5.2.1.2.2.4.1.3"><p id="rds_09_0008__p081620561276"><strong id="rds_09_0008__b4568531491">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row83685201297"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p109879468293">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p14953885305">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p1798714612914">Indicates the DB instance ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row88231562277"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p383295682710">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p48498568273">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p13301192910457">Indicates the DB instance name.</p>
|
|
<p id="rds_09_0008__p112761271615">DB instances of the same type can have same names under the same tenant.</p>
|
|
<p id="rds_09_0008__p168621956132710">The value must be 4 to 64 characters in length and start with a letter. It is case-insensitive and can contain only letters, digits, hyphens (-), and underscores (_).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row1326042683017"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p986116344302">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p4861203433016">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p78617346309">Indicates the DB instance status. For example, <strong id="rds_09_0008__b4570183114911">BUILD</strong> indicates that the DB instance is being created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row1587195662712"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p188761056132717">datastore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p2947134612014">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p13907115612720">Indicates the database information.</p>
|
|
<p id="rds_09_0008__p189026423530">For details, see <a href="#rds_09_0008__table766045720277">Table 9</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row2091115617278"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p15919756162716">ha</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p89401656112716">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p11951155662714">Indicates the HA configuration parameters. This parameter is returned only when primary/standby DB instances are created.</p>
|
|
<p id="rds_09_0008__p13864195713531">For details, see <a href="#rds_09_0008__table15899105722713">Table 10</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row2095545611272"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p189601356162713">configuration_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p1697725682718">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p198515563273">Indicates the parameter template ID. This parameter is returned only when a custom parameter template is used during DB instance creation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row1299345602718"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p20311571272">port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p1923157132717">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p1133155782713">Indicates the database port information.</p>
|
|
<ul id="rds_09_0008__ul10361825192619"><li id="rds_09_0008__li024413119917">The MySQL database port ranges from 1024 to 65535 (excluding 12017 and 33071, which are occupied by the RDS system and cannot be used).</li><li id="rds_09_0008__li32442312099">The PostgreSQL database port ranges from 2100 to 9500.</li><li id="rds_09_0008__li424517311496">The Microsoft SQL Server database port is 1433 or ranges from 2100 to 9500 (excluding 5355 and 5985). </li></ul>
|
|
<p id="rds_09_0008__p167691740173814">If this parameter is not set, the default value is as follows:</p>
|
|
<ul id="rds_09_0008__ul47725409381"><li id="rds_09_0008__li524613115920">For MySQL, the default value is <strong id="rds_09_0008__en-us_topic_0224329974_b1829614472613_1">3306</strong>.</li><li id="rds_09_0008__li122461231991">For PostgreSQL, the default value is <strong id="rds_09_0008__en-us_topic_0224329974_b13817121574_1">5432</strong>.</li><li id="rds_09_0008__li1124715319920">For Microsoft SQL Server, the default value is <strong id="rds_09_0008__en-us_topic_0224329974_b1633152143014_1">1433</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row711835715271"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p8127757182713">backup_strategy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p6649451704">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p3151145732716">Indicates the automated backup policy.</p>
|
|
<p id="rds_09_0008__p1682622910543">For details, see <a href="#rds_09_0008__table81249589270">Table 11</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row1023011571273"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p62375571274">flavor_ref</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p12250057172719">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p2146115915716">Indicates the specification ID.</p>
|
|
<p id="rds_09_0008__p625713579277">For details, see <span class="parmname" id="rds_09_0008__parmname44731513133514"><b>spec_code</b></span> in <a href="rds_06_0002.html#rds_06_0002__table1336414511696">Table 3</a> in section <a href="rds_06_0002.html">Querying Database Specifications</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row727255762713"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p22816576279">volume</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p0476431518">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p16313145722718">Indicates the volume information.</p>
|
|
<p id="rds_09_0008__p16941154318542">For details, see <a href="#rds_09_0008__table5324165817272">Table 12</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row1331675710271"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p132655742711">region</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p83409571274">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p9347357152716">Indicates the region ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row04101057112715"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p441975772719">availability_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p7431165752717">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p104381557182713">Indicates the AZ ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row54992572275"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p14507155732716">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p1522205719275">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p155952214473">Indicates the VPC ID. To obtain this parameter value, use either of the following methods:</p>
|
|
<ul id="rds_09_0008__ul75962214716"><li id="rds_09_0008__li1025817311910">Method 1: Log in to VPC console and view the VPC ID in the VPC details.</li><li id="rds_09_0008__li1625953116917">Method 2: See the "Querying VPCs" section in the <em id="rds_09_0008__en-us_topic_0224329974_i842352697165629_1">Virtual Private Cloud API Reference</em>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row4544757192710"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p125528573274">subnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p20568457112711">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p15591722114719">Indicates the network ID. To obtain this parameter value, use either of the following methods:</p>
|
|
<ul id="rds_09_0008__ul12591422114720"><li id="rds_09_0008__li1426214311197">Method 1: Log in to VPC console and click the target subnet on the <strong id="rds_09_0008__en-us_topic_0224329974_b4101174416409_1">Subnets</strong> page. You can view the network ID on the displayed page.</li><li id="rds_09_0008__li073418475515">Method 2: See the "Querying Subnets" section under "APIs" or the "Querying Networks" section under "OpenStack Neutron APIs" in <em id="rds_09_0008__i110819661">Virtual Private Cloud API Reference</em>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row158217577276"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p7590145715274">security_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p9603205716276">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p1659122254713">Indicates the security group which the RDS DB instance belongs to. To obtain this parameter value, use either of the following methods:</p>
|
|
<ul id="rds_09_0008__ul20592221475"><li id="rds_09_0008__li1526614312913">Method 1: Log in to VPC console. Choose <strong id="rds_09_0008__en-us_topic_0224329974_b1913676122_1">Access Control</strong> > <strong id="rds_09_0008__en-us_topic_0224329974_b789502111219_1">Security Groups</strong> in the navigation pane on the left. On the displayed page, click the target security group. You can view the security group ID on the displayed page.</li><li id="rds_09_0008__li18267143117918">Method 2: See the "Querying Security Groups" section in the <em id="rds_09_0008__en-us_topic_0224329974_i2369584559_1">Virtual Private Cloud API Reference</em>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row249124618106"><td class="cellrowborder" valign="top" width="33.36333633363336%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="rds_09_0008__p164971825172918">collation</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.3033303330333%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="rds_09_0008__p1049718255294">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="rds_09_0008__p1449772542912">Indicates the collation for Microsoft SQL Server.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="rds_09_0008__table766045720277"></a><a name="table766045720277"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table766045720277" frame="border" border="1" rules="all"><caption><b>Table 9 </b>datastore field data structure description</caption><thead align="left"><tr id="rds_09_0008__row468335722716"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.3.2.5.1.1"><p id="rds_09_0008__p156891357202720"><strong id="rds_09_0008__b1059020311797">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.3.2.5.1.2"><p id="rds_09_0008__p11698205722716"><strong id="rds_09_0008__b115901731690">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24%" id="mcps1.3.5.2.1.3.2.5.1.3"><p id="rds_09_0008__p77089577277"><strong id="rds_09_0008__b6590431798">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26%" id="mcps1.3.5.2.1.3.2.5.1.4"><p id="rds_09_0008__p13715557112714"><strong id="rds_09_0008__b165911831697">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row9723165742714"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.3.2.5.1.1 "><p id="rds_09_0008__p17321257162715">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.3.2.5.1.2 "><p id="rds_09_0008__p18743145762715">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24%" headers="mcps1.3.5.2.1.3.2.5.1.3 "><p id="rds_09_0008__p17521757192712">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.5.2.1.3.2.5.1.4 "><p id="rds_09_0008__p26952636163519">Indicates the DB engine. Its value can be any of the following and is case-insensitive:</p>
|
|
<ul id="rds_09_0008__ul924933143511"><li id="rds_09_0008__li1195974113511">MySQL</li><li id="rds_09_0008__li2014417783511">PostgreSQL</li><li id="rds_09_0008__li192495323520">SQLServer</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row37937570272"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.3.2.5.1.1 "><p id="rds_09_0008__p10800165713279">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.3.2.5.1.2 "><p id="rds_09_0008__p1980825714277">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24%" headers="mcps1.3.5.2.1.3.2.5.1.3 "><p id="rds_09_0008__p0819195719271">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.5.2.1.3.2.5.1.4 "><p id="rds_09_0008__p1957105533718">Indicates the database version.</p>
|
|
<p id="rds_09_0008__p71501555377">For details about supported database versions, see section <a href="en-us_topic_0032347782.html">Database Version Queries</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="rds_09_0008__table15899105722713"></a><a name="table15899105722713"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table15899105722713" frame="border" border="1" rules="all"><caption><b>Table 10 </b>ha field data structure description</caption><thead align="left"><tr id="rds_09_0008__row1393295712715"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.4.2.5.1.1"><p id="rds_09_0008__p2941125719278"><strong id="rds_09_0008__b1759433117920">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.4.2.5.1.2"><p id="rds_09_0008__p149488577271"><strong id="rds_09_0008__b759419312091">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.4.2.5.1.3"><p id="rds_09_0008__p119521157162710"><strong id="rds_09_0008__b15956311896">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.4.2.5.1.4"><p id="rds_09_0008__p15960175762715"><strong id="rds_09_0008__b175958311198">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row1965185792714"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.4.2.5.1.1 "><p id="rds_09_0008__p179729572279">mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.4.2.5.1.2 "><p id="rds_09_0008__p79807576271">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.4.2.5.1.3 "><p id="rds_09_0008__p14990257142711">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.4.2.5.1.4 "><p id="rds_09_0008__p4997155711270">Indicates the DB instance type. The value is <strong id="rds_09_0008__b0886131212189">Ha</strong> (primary/standby DB instances).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row72115815278"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.4.2.5.1.1 "><p id="rds_09_0008__p29658162714">replication_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.4.2.5.1.2 "><p id="rds_09_0008__p917358192717">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.4.2.5.1.3 "><p id="rds_09_0008__p1023185852714">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.4.2.5.1.4 "><p id="rds_09_0008__p633115816277">Indicates the replication mode for the standby DB instance.</p>
|
|
<p id="rds_09_0008__p1837105812718">The value cannot be empty.</p>
|
|
<ul id="rds_09_0008__ul184125872719"><li id="rds_09_0008__li14585814274">For MySQL, the value is <strong id="rds_09_0008__b6597143113912">async</strong> or <strong id="rds_09_0008__b259713311290">semisync</strong>.</li><li id="rds_09_0008__li251145812275">For PostgreSQL, the value is <strong id="rds_09_0008__b13598131699">async</strong> or <strong id="rds_09_0008__b65988311797">sync</strong>.</li><li id="rds_09_0008__li155955852717">For Microsoft SQL Server, the value is <strong id="rds_09_0008__b3598173117918">sync</strong>.</li></ul>
|
|
<div class="note" id="rds_09_0008__note575155882717"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="rds_09_0008__ul593135817276"><li id="rds_09_0008__li596185813272"><strong id="rds_09_0008__b19599103115917">async</strong> indicates the asynchronous replication mode.</li><li id="rds_09_0008__li510417581279"><strong id="rds_09_0008__b185992311490">semisync</strong> indicates the semi-synchronous replication mode.</li><li id="rds_09_0008__li911375882716"><strong id="rds_09_0008__b060017313910">sync</strong> indicates the synchronous replication mode.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="rds_09_0008__table81249589270"></a><a name="table81249589270"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table81249589270" frame="border" border="1" rules="all"><caption><b>Table 11 </b>backupStrategy field data structure description</caption><thead align="left"><tr id="rds_09_0008__row7155105822719"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.5.2.5.1.1"><p id="rds_09_0008__p151651758112710"><strong id="rds_09_0008__b360019311294">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.5.2.5.1.2"><p id="rds_09_0008__p517485818270"><strong id="rds_09_0008__b2060116310917">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.5.2.5.1.3"><p id="rds_09_0008__p818335813276"><strong id="rds_09_0008__b146019311491">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.5.2.5.1.4"><p id="rds_09_0008__p14192195817274"><strong id="rds_09_0008__b19601153119918">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row1220112589270"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.2.5.1.1 "><p id="rds_09_0008__p321175814278">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.2.5.1.2 "><p id="rds_09_0008__p822475872716">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.2.5.1.3 "><p id="rds_09_0008__p16233758102717">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.2.5.1.4 "><p id="rds_09_0008__p54551583414">Indicates the backup time window. Automated backups will be triggered during the backup time window.</p>
|
|
<p id="rds_09_0008__p145868184115">The value cannot be empty. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format.</p>
|
|
<ul id="rds_09_0008__ul11460108184114"><li id="rds_09_0008__li1446258134118">The <strong id="rds_09_0008__b1937213571120">HH</strong> value must be 1 greater than the <strong id="rds_09_0008__b337225171113">hh</strong> value.</li><li id="rds_09_0008__li17467085419">The values of <strong id="rds_09_0008__b4379156131110">mm</strong> and <strong id="rds_09_0008__b5380669110">MM</strong> must be the same and must be set to any of the following: <strong id="rds_09_0008__b43809621116">00</strong>, <strong id="rds_09_0008__b1381176101115">15</strong>, <strong id="rds_09_0008__b1738206171115">30</strong>, or <strong id="rds_09_0008__b3384136111119">45</strong>.</li></ul>
|
|
<p id="rds_09_0008__p13473186416">Example value:</p>
|
|
<ul id="rds_09_0008__ul84762814413"><li id="rds_09_0008__li1347978134116">08:15-09:15</li><li id="rds_09_0008__li1148415812414">23:00-00:00</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row162581058122711"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.2.5.1.1 "><p id="rds_09_0008__p8266145882712">keep_days</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.2.5.1.2 "><p id="rds_09_0008__p11275115813276">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.2.5.1.3 "><p id="rds_09_0008__p9286558152710">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.5.2.5.1.4 "><p id="rds_09_0008__p229865817274">Indicates the retention days for specific backup files.</p>
|
|
<p id="rds_09_0008__p1230285817274">The value range is from 0 to 732. If this parameter is not specified or set to <strong id="rds_09_0008__b1960683111915">0</strong>, the automated backup policy is disabled. To extend the retention period, contact customer service. Automated backups can be retained for up to 2562 days.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="rds_09_0008__table5324165817272"></a><a name="table5324165817272"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_09_0008__table5324165817272" frame="border" border="1" rules="all"><caption><b>Table 12 </b>volume field data structure description</caption><thead align="left"><tr id="rds_09_0008__row13366558182710"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.6.2.5.1.1"><p id="rds_09_0008__p43785583277"><strong id="rds_09_0008__b260663118919">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.6.2.5.1.2"><p id="rds_09_0008__p2039111586274"><strong id="rds_09_0008__b1760613311696">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.6.2.5.1.3"><p id="rds_09_0008__p04002058182712"><strong id="rds_09_0008__b9607631599">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.2.1.6.2.5.1.4"><p id="rds_09_0008__p1841019583272"><strong id="rds_09_0008__b960723111915">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_09_0008__row1941717585272"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.6.2.5.1.1 "><p id="rds_09_0008__p542455816278">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.6.2.5.1.2 "><p id="rds_09_0008__p18433175812276">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.6.2.5.1.3 "><p id="rds_09_0008__p8441115892715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.6.2.5.1.4 "><p id="rds_09_0008__p144508584276">Indicates the volume type.</p>
|
|
<p id="rds_09_0008__p177941130133020">Its value can be any of the following and is case-sensitive:</p>
|
|
<ul id="rds_09_0008__ul97191143171815"><li id="rds_09_0008__rds_01_0002_li17711857191312_1"><strong id="rds_09_0008__rds_01_0002_b175811447151011_1">COMMON</strong>: SATA storage.</li><li id="rds_09_0008__rds_01_0002_li1671115572136_1"><strong id="rds_09_0008__rds_01_0002_b692704062510_1">ULTRAHIGH</strong>: ultra-high I/O storage.</li><li id="rds_09_0008__rds_01_0002_li882154133612_1"><strong id="rds_09_0008__rds_01_0002_b962134413123_1">CLOUDSSD</strong>: cloud SSD storage.</li><li id="rds_09_0008__rds_01_0002_li1186817447711_1"><strong id="rds_09_0008__rds_01_0002_b16454501416_1">ESSD</strong>: extreme SSD storage.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_09_0008__row164658587274"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.6.2.5.1.1 "><p id="rds_09_0008__p1247475842718">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.6.2.5.1.2 "><p id="rds_09_0008__p7482105820276">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.6.2.5.1.3 "><p id="rds_09_0008__p1549255811272">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.2.1.6.2.5.1.4 "><p id="rds_09_0008__p7502958132716">Indicates the volume size.</p>
|
|
<p id="rds_09_0008__p350618584275">Its value range is from 40 GB to 4000 GB. The value must be a multiple of 10.</p>
|
|
<p id="rds_09_0008__p8725181468"></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="rds_09_0008__li158029471019">Example normal response<pre class="codeblock" id="rds_09_0008__codeblock147271055124517">{
|
|
"instance": {
|
|
"id": "f5ffdd8b1c98434385eb001904209eacin01",
|
|
"name": "demoname",
|
|
"status": "BUILD",
|
|
"datastore": {
|
|
"type": "MySQL",
|
|
"version": "5.6.41"
|
|
},
|
|
"port": "3306",
|
|
"volume": {
|
|
"type": "ULTRAHIGH",
|
|
"size": "40"
|
|
},
|
|
"region": "eu-de",
|
|
"backup_strategy": {
|
|
"start_time": "02:00-03:00",
|
|
"keep_days": "7"
|
|
},
|
|
"flavor_ref": "rds.mysql.n1.large",
|
|
"availability_zone": "eu-de-01",
|
|
"vpc_id": "19e5d45d-70fd-4a91-87e9-b27e71c9891f",
|
|
"subnet_id": "bd51fb45-2dcb-4296-8783-8623bfe89bb7",
|
|
"security_group_id": "23fd0cd4-15dc-4d65-bdb3-8844cc291be0"
|
|
},
|
|
"job_id": "bf003379-afea-4aa5-aa83-4543542070bc"
|
|
}</pre>
|
|
</li><li id="rds_09_0008__li197662376519">Abnormal Response<p id="rds_09_0008__p29415884"><a name="rds_09_0008__li197662376519"></a><a name="li197662376519"></a>For details, see <a href="en-us_topic_0032488197.html">Abnormal Request Results</a>.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_09_0008__section4778540915440"><h4 class="sectiontitle">Status Code</h4><ul id="rds_09_0008__rds_01_0002_en-us_topic_0032347778_ul7858132212142"><li id="rds_09_0008__rds_01_0002_en-us_topic_0032347778_li58581622171411">Normal<p id="rds_09_0008__rds_01_0002_en-us_topic_0032347778_p1040982941020"><a name="rds_09_0008__rds_01_0002_en-us_topic_0032347778_li58581622171411"></a><a name="rds_01_0002_en-us_topic_0032347778_li58581622171411"></a>202</p>
|
|
</li><li id="rds_09_0008__rds_01_0002_en-us_topic_0032347778_li11583183218149">Abnormal<p id="rds_09_0008__rds_01_0002_en-us_topic_0032347778_p0723374409"><a name="rds_09_0008__rds_01_0002_en-us_topic_0032347778_li11583183218149"></a><a name="rds_01_0002_en-us_topic_0032347778_li11583183218149"></a>For details, see <a href="en-us_topic_0032488240.html">Status Codes</a>.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_09_0008__section1183074220016"><h4 class="sectiontitle">Error Code</h4><p id="rds_09_0008__en-us_topic_0032347778_p19357163913406">For details, see <a href="en-us_topic_0032488241.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0032347777.html">Backup and Restoration</a></div>
|
|
</div>
|
|
</div>
|
|
|