Help Center/ Database Security Service/ User Guide (ME-Abu Dhabi Region)/ FAQs/ Logs/ How Do I Back Up the Database Audit Logs?
Updated on 2023-12-27 GMT+08:00

How Do I Back Up the Database Audit Logs?

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.

Perform the following operations to automatically back up audit logs.

Automatically Backing Up Database Audit Logs

  1. Log in to the management console.
  2. Select a region, click , and choose Security > Database Security Service. The Dashboard page is displayed.
  3. In the navigation tree on the left, choose Settings.
  4. In the Instance drop-down list, select the required instance and click the Backup and Restoration tab.
  5. Click Configure. In the displayed dialog box, set the parameters, as shown in Figure 1. For details about related parameters, see Table 1.

    Figure 1 Configure Automatic Backup dialog box
    Table 1 Parameters

    Parameter

    Description

    Example Value

    Automatic Backup

    Status of automatic backup

      

    Backup Period

    Automatic backup period. Its options are as follows:

    • Daily
    • Hourly

    Daily

    Started

    Start time of the backup. Click to configure.

    2020/01/14 20:27:08

    Estimated Next Time for Backup

    Time when the next automatic backup starts

    2020/01/15 20:21:29

    Access Key ID(AK)

    Access key (AK)

    -

    Secret Access Key(SK)

    Secret access key (SK)

    -

  6. Click OK.

    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.