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>
209 lines
21 KiB
HTML
209 lines
21 KiB
HTML
<a name="EN-US_TOPIC_0000001947569641"></a><a name="EN-US_TOPIC_0000001947569641"></a>
|
|
|
|
<h1 class="topictitle1">Querying an Automated Backup Policy</h1>
|
|
<div id="body0000001249147778"><div class="section" id="EN-US_TOPIC_0000001947569641__section848253019452"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001947569641__p1248263024512">This API is used to query an automated backup policy. Before calling this API:</p>
|
|
<ul id="EN-US_TOPIC_0000001947569641__en-us_topic_0128427213_ul12259155218373"><li id="EN-US_TOPIC_0000001947569641__en-us_topic_0000001917290508_en-us_topic_0000001791349281_li3231171417412">Learn how to <a href="opengauss_api_0010.html">authenticate</a> this API.</li><li id="EN-US_TOPIC_0000001947569641__en-us_topic_0000001917290508_en-us_topic_0000001791349281_li41227910453">Understand the API in <a href="opengauss_api_0012.html">Using APIs</a>.</li><li id="EN-US_TOPIC_0000001947569641__en-us_topic_0000001917290508_en-us_topic_0000001791349281_en-us_topic_0110967248_li1991981933613">Obtain the required <a href="https://docs.otc.t-systems.com/regions-and-endpoints/index.html" target="_blank" rel="noopener noreferrer">region and endpoint</a>.</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001947569641__section14831930174512"><h4 class="sectiontitle">URI</h4><ul id="EN-US_TOPIC_0000001947569641__ul1336835715110"><li id="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_li7794173834713">URI format<p id="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_p8795103874717"><a name="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_li7794173834713"></a><a name="en-us_topic_0248254028_li7794173834713"></a>GET https://{<em id="EN-US_TOPIC_0000001947569641__en-us_topic_0128427213_i1958383021511">Endpoint</em>}/v3/{project_id}/instances/{instance_id}/backups/policy</p>
|
|
</li><li id="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_li4411135064210">Example<p id="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_p1454414211213"><a name="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_li4411135064210"></a><a name="en-us_topic_0248254028_li4411135064210"></a>https://gaussdb.eu-de.otc.t-systems.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in14/backups/policy</p>
|
|
</li><li id="EN-US_TOPIC_0000001947569641__li1481513368523">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_table1986313483146" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_row158631348151416"><th align="left" class="cellrowborder" valign="top" width="22.79%" id="mcps1.3.2.2.3.1.2.4.1.1"><p id="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_p178635485145">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.880000000000003%" id="mcps1.3.2.2.3.1.2.4.1.2"><p id="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_p586384819144">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.330000000000005%" id="mcps1.3.2.2.3.1.2.4.1.3"><p id="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_p3863164871419">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001947569641__row153821619455"><td class="cellrowborder" valign="top" width="22.79%" headers="mcps1.3.2.2.3.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__en-us_topic_0128427214_p49532829">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.880000000000003%" headers="mcps1.3.2.2.3.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__en-us_topic_0128427214_p52736237">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.330000000000005%" headers="mcps1.3.2.2.3.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p19528455451">Project ID of a tenant in a region.</p>
|
|
<p id="EN-US_TOPIC_0000001947569641__p95284517457">To obtain this value, see <a href="opengauss_api_0034.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001947569641__row103812684518"><td class="cellrowborder" valign="top" width="22.79%" headers="mcps1.3.2.2.3.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__en-us_topic_0128427214_p1046217474614">instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.880000000000003%" headers="mcps1.3.2.2.3.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__en-us_topic_0128427214_p246284104619">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.330000000000005%" headers="mcps1.3.2.2.3.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p2201242204518">Instance ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001947569641__section5485173014513"><h4 class="sectiontitle">Request</h4><p id="EN-US_TOPIC_0000001947569641__p83828577539">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001947569641__section15486163018453"><h4 class="sectiontitle">Response</h4><ul id="EN-US_TOPIC_0000001947569641__ul853592111545"><li id="EN-US_TOPIC_0000001947569641__li8535821195410">Normal response
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001947569641__response_GetBackupPolicyResponse" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001947569641__row1548714305456"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="EN-US_TOPIC_0000001947569641__p8487183015459">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="EN-US_TOPIC_0000001947569641__p19487630154510">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="EN-US_TOPIC_0000001947569641__p7487183013456">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001947569641__row348753044512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p8487103013457">backup_policy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__en-us_topic_0128427215_p15495133902512">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p1148843016459">Backup policy information.</p>
|
|
<p id="EN-US_TOPIC_0000001947569641__p64992437557">For details, see <a href="#EN-US_TOPIC_0000001947569641__response_ShowBackupPolicy">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001947569641__response_ShowBackupPolicy"></a><a name="response_ShowBackupPolicy"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001947569641__response_ShowBackupPolicy" frame="border" border="1" rules="all"><caption><b>Table 3 </b>backup_policy field data structure description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001947569641__row16488193011457"><th align="left" class="cellrowborder" valign="top" width="19.98%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="EN-US_TOPIC_0000001947569641__p1648803084518">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.24%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="EN-US_TOPIC_0000001947569641__p134881030104510">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="59.78%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="EN-US_TOPIC_0000001947569641__p1648863084519">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001947569641__row1648833064513"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p20488730144510">keep_days</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p17489113015457">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.78%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p1448933010453">Full backup retention days. Value: <strong id="EN-US_TOPIC_0000001947569641__b122370012318">1</strong> to <strong id="EN-US_TOPIC_0000001947569641__b523715011310">732</strong></p>
|
|
<p id="EN-US_TOPIC_0000001947569641__p148993016452">Minimum value: <strong id="EN-US_TOPIC_0000001947569641__b548912301452">1</strong></p>
|
|
<p id="EN-US_TOPIC_0000001947569641__p134896304451">Maximum value: <strong id="EN-US_TOPIC_0000001947569641__b17489103017458">732</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001947569641__row848833024513"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p64895304454">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p14489133064513">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.78%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p1648918302456">Full backup time window. The creation of an automated backup will be triggered during the backup time window. The value must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format.</p>
|
|
<ul id="EN-US_TOPIC_0000001947569641__ul8489930144510"><li id="EN-US_TOPIC_0000001947569641__li154897308456">The <strong id="EN-US_TOPIC_0000001947569641__b186640867010031">HH</strong> value must be 1 greater than the <strong id="EN-US_TOPIC_0000001947569641__b8442278310031">hh</strong> value.</li><li id="EN-US_TOPIC_0000001947569641__li1548913016459">The values of <strong id="EN-US_TOPIC_0000001947569641__b93712635610031">mm</strong> and <strong id="EN-US_TOPIC_0000001947569641__b188730819010031">MM</strong> must be the same and must be set to <strong id="EN-US_TOPIC_0000001947569641__b110625861610031">00</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001947569641__row174881430124517"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p249013014458">period</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p11490123010454">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.78%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p54905303455">Full backup period. Data will be automatically backed up on the selected days every week.</p>
|
|
<p id="EN-US_TOPIC_0000001947569641__p649003024519">The value is a number separated by commas (,), indicating the days of the week.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001947569641__row134881330164516"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p15490730194518">differential_period</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p1249018306455">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.78%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p24902306459">Differential backup period. An automated differential backup will be performed on the specified minutes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001947569641__row6261754135219"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p10261954115211">rate_limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p626116549527">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.78%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p12261135405211">Upload speed at which data is uploaded to OBS. <strong id="EN-US_TOPIC_0000001947569641__b144028200236">0 MB/s</strong> indicates that the speed is not limited. The upload speed is related to the bandwidth.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001947569641__row0936172005415"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p18936182011545">prefetch_block</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p1936102095419">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.78%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p1393612011544">Number of prefetch pages from the modified pages in the disk table file during a differential backup. When modified pages are adjacent (for example, with a bulk data load), you can set this parameter to a large value. When modified pages are scattered (for example, random update), you can set this parameter to a small value. The default value is <strong id="EN-US_TOPIC_0000001947569641__b2041617309418">64</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001947569641__row3152194295418"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p3152164265419">file_split_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p715284215541">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.78%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p815264255414">Size by which full and differential backup files are split, in GB. The value is from <strong id="EN-US_TOPIC_0000001947569641__b1391716137412">0</strong> to <strong id="EN-US_TOPIC_0000001947569641__b3918313948">1024</strong>, but it must be a multiple of 4. The default value is <strong id="EN-US_TOPIC_0000001947569641__b191815136416">4</strong>. <strong id="EN-US_TOPIC_0000001947569641__b7919111318414">0</strong> indicates the size is not limited.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001947569641__row1136024119139"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p19361104119136">enable_standby_backup</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p15361124101319">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.78%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p10188163410148">Whether to enable backup on a standby node.</p>
|
|
<p id="EN-US_TOPIC_0000001947569641__p191883341147">Value: <strong id="EN-US_TOPIC_0000001947569641__b1625321518146">true</strong> or <strong id="EN-US_TOPIC_0000001947569641__b6253121518145">false</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001947569641__row1480913246616"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p333913414596">table_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p11339434155916">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.78%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p7339103425915">Table-level backup information. For details, see <a href="#EN-US_TOPIC_0000001947569641__table15883339195414">Table 4</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001947569641__table15883339195414"></a><a name="table15883339195414"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001947569641__table15883339195414" frame="border" border="1" rules="all"><caption><b>Table 4 </b>table_list field data structure description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001947569641__row88831439165411"><th align="left" class="cellrowborder" valign="top" width="19.99%" id="mcps1.3.4.2.1.3.2.4.1.1"><p id="EN-US_TOPIC_0000001947569641__p1388310396549"><strong id="EN-US_TOPIC_0000001947569641__b19132161294812">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.3%" id="mcps1.3.4.2.1.3.2.4.1.2"><p id="EN-US_TOPIC_0000001947569641__p58833391544"><strong id="EN-US_TOPIC_0000001947569641__b183214164814">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="59.709999999999994%" id="mcps1.3.4.2.1.3.2.4.1.3"><p id="EN-US_TOPIC_0000001947569641__p5883123918546"><strong id="EN-US_TOPIC_0000001947569641__b19152171544813">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001947569641__row3883739115413"><td class="cellrowborder" valign="top" width="19.99%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p4101111810550">db_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.3%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p910131810558">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.709999999999994%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p3101161875512">Database name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001947569641__row1888413917549"><td class="cellrowborder" valign="top" width="19.99%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p20101111815551">schema_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.3%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p121016183551">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.709999999999994%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p17101318125513">Schema name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001947569641__row388419398548"><td class="cellrowborder" valign="top" width="19.99%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001947569641__p7101418205514">table_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.3%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001947569641__p710112184558">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.709999999999994%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001947569641__p41011718155517">Table name.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="EN-US_TOPIC_0000001947569641__ul1215030986"><li id="EN-US_TOPIC_0000001947569641__li12150190283">Example normal response<p id="EN-US_TOPIC_0000001947569641__p12762961882"><a name="EN-US_TOPIC_0000001947569641__li12150190283"></a><a name="li12150190283"></a>Querying an automated backup policy</p>
|
|
<pre class="codeblock" id="EN-US_TOPIC_0000001947569641__codeblock6590114818549">{
|
|
"backup_policy": {
|
|
"period": "1,2,3,4,5,6,7",
|
|
"keep_days": 7,
|
|
"start_time": "18:00-19:00",
|
|
"differential_period": 30 ,
|
|
"rate_limit": 75 ,
|
|
"prefetch_block": 64 ,
|
|
"file_split_size": 4 ,
|
|
"enable_standby_backup" : false,
|
|
"table_list" : [ {
|
|
"db_name" : "table_backup_db",
|
|
"schema_name" : "myschema",
|
|
"table_name" : "table_test_1685587714722"
|
|
} ]
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<ul id="EN-US_TOPIC_0000001947569641__ul15104171101812"><li id="EN-US_TOPIC_0000001947569641__en-us_topic_0128427215_li15857509162">Abnormal response<p id="EN-US_TOPIC_0000001947569641__en-us_topic_0000001655675456_en-us_topic_0128427214_p172314336131"><a name="EN-US_TOPIC_0000001947569641__en-us_topic_0128427215_li15857509162"></a><a name="en-us_topic_0128427215_li15857509162"></a>For details, see <a href="opengauss_api_0031.html">Abnormal Request Results</a>.</p>
|
|
</li></ul>
|
|
<div class="section" id="EN-US_TOPIC_0000001947569641__en-us_topic_0128427213_section4778540915440"><h4 class="sectiontitle">Status Code</h4><ul id="EN-US_TOPIC_0000001947569641__en-us_topic_0110967248_ul7858132212142"><li id="EN-US_TOPIC_0000001947569641__en-us_topic_0110967248_li58581622171411">Normal<p id="EN-US_TOPIC_0000001947569641__en-us_topic_0110967248_p1040982941020"><a name="EN-US_TOPIC_0000001947569641__en-us_topic_0110967248_li58581622171411"></a><a name="en-us_topic_0110967248_li58581622171411"></a>200</p>
|
|
</li><li id="EN-US_TOPIC_0000001947569641__en-us_topic_0110967248_li11583183218149">Abnormal<p id="EN-US_TOPIC_0000001947569641__en-us_topic_0110967248_p65078394148"><a name="EN-US_TOPIC_0000001947569641__en-us_topic_0110967248_li11583183218149"></a><a name="en-us_topic_0110967248_li11583183218149"></a>For details, see <a href="opengauss_api_0032.html">Status Codes</a>.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001947569641__en-us_topic_0248254028_section946032144017"><h4 class="sectiontitle">Error Code</h4><p id="EN-US_TOPIC_0000001947569641__en-us_topic_0000001704033841_en-us_topic_0110967248_p19357163913406">For details, see <a href="opengauss_api_0033.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="opengauss_api_0025.html">Backup Management</a></div>
|
|
</div>
|
|
</div>
|
|
|