Files
doc-exports/docs/dbss/umn/dbss_01_0226.html
qinweiwei 53bc92e1f5 DBSS usermanual 20250630 version
Reviewed-by: Rogal, Marcel <mrogal@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: qinweiwei <qinweiwei@huawei.com>
Co-committed-by: qinweiwei <qinweiwei@huawei.com>
2025-10-08 07:12:09 +00:00

74 lines
8.7 KiB
HTML

<a name="dbss_01_0226"></a><a name="dbss_01_0226"></a>
<h1 class="topictitle1">How Do I Back Up the Database Audit Logs?</h1>
<div id="body1544666186153"><p id="dbss_01_0226__p18174105916405">Database audit supports manual backup and automatic backup. Audit logs are backed up to OBS. Buckets will be automatically created and will incur a separate bill.</p>
<p id="dbss_01_0226__p19970016192810">Perform the following operations to automatically back up audit logs.</p>
<div class="section" id="dbss_01_0226__section117835520294"><h4 class="sectiontitle">Automatically Backing Up Database Audit Logs</h4><ol id="dbss_01_0226__en-us_topic_0145057228_ol18449141653"><li id="dbss_01_0226__en-us_topic_0145057228_li1829112494372"><span>Log in to the management console.</span></li><li id="dbss_01_0226__en-us_topic_0145057228_li1723651814598"><span>In the navigation tree on the left, choose <strong id="dbss_01_0226__en-us_topic_0145057228_b1432475172820">Settings</strong>.</span></li><li id="dbss_01_0226__en-us_topic_0145057228_li6202174705919"><span>In the <strong id="dbss_01_0226__en-us_topic_0145057228_b2218329102913">Instance</strong> drop-down list, select the required instance and click the <strong id="dbss_01_0226__en-us_topic_0145057228_b1098142173015">Backup and Restoration</strong> tab.</span></li><li id="dbss_01_0226__en-us_topic_0145057228_li1859172013308"><span>Click <strong id="dbss_01_0226__en-us_topic_0145057228_b089617522219">Set Automated Backup</strong>. In the displayed dialog box, set the auto backup parameters. <a href="#dbss_01_0226__en-us_topic_0145057228_table18602206309">Table 1</a> describes the parameters. </span><p><div class="fignone" id="dbss_01_0226__en-us_topic_0145057228_fig559320113012"><span class="figcap"><b>Figure 1 </b>Configure Automatic Backup dialog box</span><br><span><img id="dbss_01_0226__en-us_topic_0145057228_image18589115017461" src="en-us_image_0000001294284718.png"></span></div>
<div class="tablenoborder"><a name="dbss_01_0226__en-us_topic_0145057228_table18602206309"></a><a name="en-us_topic_0145057228_table18602206309"></a><table cellpadding="4" cellspacing="0" summary="" id="dbss_01_0226__en-us_topic_0145057228_table18602206309" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="dbss_01_0226__en-us_topic_0145057228_row66082019309"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.3.2.4.2.2.2.4.1.1"><p id="dbss_01_0226__en-us_topic_0145057228_p1660112023010">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="61%" id="mcps1.3.3.2.4.2.2.2.4.1.2"><p id="dbss_01_0226__en-us_topic_0145057228_p166014209304">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18%" id="mcps1.3.3.2.4.2.2.2.4.1.3"><p id="dbss_01_0226__en-us_topic_0145057228_p360162012309">Example Value</p>
</th>
</tr>
</thead>
<tbody><tr id="dbss_01_0226__en-us_topic_0145057228_row1260620173019"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.4.2.2.2.4.1.1 "><p id="dbss_01_0226__en-us_topic_0145057228_p46002063014">Automatic Backup</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.2.4.2.2.2.4.1.2 "><p id="dbss_01_0226__en-us_topic_0145057228_p46012053012">Status of automatic backup</p>
<ul id="dbss_01_0226__en-us_topic_0145057228_ul10255317590"><li id="dbss_01_0226__en-us_topic_0145057228_li1121353205914"><span><img id="dbss_01_0226__en-us_topic_0145057228_image741085411597" src="en-us_image_0000001581367781.png"></span>: enabled</li><li id="dbss_01_0226__en-us_topic_0145057228_li147198111201"><span><img id="dbss_01_0226__en-us_topic_0145057228_image15918211003" src="en-us_image_0000001530888000.png"></span>: disabled</li></ul>
</td>
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.3.2.4.2.2.2.4.1.3 "><p id="dbss_01_0226__en-us_topic_0145057228_p1386912112432"></p>
<p id="dbss_01_0226__en-us_topic_0145057228_p852775211422"></p>
<p id="dbss_01_0226__en-us_topic_0145057228_p3622174717575"></p>
<p id="dbss_01_0226__en-us_topic_0145057228_p10725682112"><span><img id="dbss_01_0226__en-us_topic_0145057228_image1650219514" src="en-us_image_0000001530889940.png"></span></p>
</td>
</tr>
<tr id="dbss_01_0226__en-us_topic_0145057228_row16601020103014"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.4.2.2.2.4.1.1 "><p id="dbss_01_0226__en-us_topic_0145057228_p18601320153018">Backup Period</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.2.4.2.2.2.4.1.2 "><p id="dbss_01_0226__en-us_topic_0145057228_p460102073014">Automatic backup period. Its options are as follows:</p>
<ul id="dbss_01_0226__en-us_topic_0145057228_ul1660142053017"><li id="dbss_01_0226__en-us_topic_0145057228_li46112043019"><strong id="dbss_01_0226__en-us_topic_0145057228_b33926201317">Daily</strong></li><li id="dbss_01_0226__en-us_topic_0145057228_li146162053015"><strong id="dbss_01_0226__en-us_topic_0145057228_b91121634154516">Hourly</strong></li></ul>
</td>
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.3.2.4.2.2.2.4.1.3 "><p id="dbss_01_0226__en-us_topic_0145057228_p126132073010">Daily</p>
</td>
</tr>
<tr id="dbss_01_0226__en-us_topic_0145057228_row1661192012301"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.4.2.2.2.4.1.1 "><p id="dbss_01_0226__en-us_topic_0145057228_p561920143020">Started</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.2.4.2.2.2.4.1.2 "><p id="dbss_01_0226__en-us_topic_0145057228_p86118201301">Start time of the backup. Click <span><img id="dbss_01_0226__en-us_topic_0145057228_image570811271450" src="en-us_image_0000001147868462.png"></span> to configure.</p>
</td>
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.3.2.4.2.2.2.4.1.3 "><p id="dbss_01_0226__en-us_topic_0145057228_p061112018304">2020/01/14 20:27:08</p>
</td>
</tr>
<tr id="dbss_01_0226__en-us_topic_0145057228_row13461452133815"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.4.2.2.2.4.1.1 "><p id="dbss_01_0226__en-us_topic_0145057228_p1734755213816">Bucket Name</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.2.4.2.2.2.4.1.2 "><p id="dbss_01_0226__en-us_topic_0145057228_p14347175210387">Name of the OBS bucket used for backup. Its options are as follows:</p>
<ul id="dbss_01_0226__en-us_topic_0145057228_ul16491718174113"><li id="dbss_01_0226__en-us_topic_0145057228_li064931813412">Create Default Bucket</li><li id="dbss_01_0226__en-us_topic_0145057228_li14717172684117">Select Bucket</li></ul>
<div class="note" id="dbss_01_0226__en-us_topic_0145057228_note18242171019409"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dbss_01_0226__en-us_topic_0145057228_ul121318819167"><li id="dbss_01_0226__en-us_topic_0145057228_li113188111618">If you click <strong id="dbss_01_0226__en-us_topic_0145057228_b2749164810813">Create Default Bucket</strong>, you will be prompted to authorize OBS for exporting audit log backups.</li><li id="dbss_01_0226__en-us_topic_0145057228_li154701019163">Audit logs can be exported only to the bucket created by DBSS.</li></ul>
</div></div>
</td>
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.3.2.4.2.2.2.4.1.3 "><p id="dbss_01_0226__en-us_topic_0145057228_p143471352183813">20f18-7a5a-4042</p>
</td>
</tr>
<tr id="dbss_01_0226__en-us_topic_0145057228_row1774834414118"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.4.2.2.2.4.1.1 "><p id="dbss_01_0226__en-us_topic_0145057228_p1074916441411">Export Directory</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.2.4.2.2.2.4.1.2 "><p id="dbss_01_0226__en-us_topic_0145057228_p177499445418">Directory for storing backup files in the OBS bucket.</p>
</td>
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.3.2.4.2.2.2.4.1.3 "><p id="dbss_01_0226__en-us_topic_0145057228_p127497448414">test</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li id="dbss_01_0226__en-us_topic_0145057228_li293895151213"><span>Click <span class="uicontrol" id="dbss_01_0226__en-us_topic_0145057228_uicontrol104317111314"><b>OK</b></span>.</span><p><div class="note" id="dbss_01_0226__en-us_topic_0145057228_note19931152112513"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dbss_01_0226__en-us_topic_0145057228_p9932452192518">After the automatic backup function is configured, new data in the database will be backed up one hour later. Then you can view the backup information.</p>
</div></div>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dbss_01_0341.html">Logs</a></div>
</div>
</div>