Back up data

Updated at:

The snapshot backup and restore feature of Alibaba Cloud Elasticsearch Serverless lets you create snapshot backups of index data in your applications.

Procedure

Note

You cannot use manual API calls to back up or restore application data.

  1. Log on to the Elasticsearch Serverless console and switch to the desired region in the top navigation bar.

  2. In the left-side navigation pane, click App Management.

  3. Click the application name to go to its details page.

  4. In the left-side navigation pane, click Backup and Restore.

  5. To view backup settings or modify the snapshot backup schedule:

    1. Click the Backup Settings tab.

      • The Automatic Backup section shows whether automatic backup is enabled, the backup retention period, and the snapshot backup schedule.

      • The Backup Repository List section displays the repository name, repository type, and the number of snapshots.

    2. Turn on the Automatic Backup switch.

      Note
      • Automatic backup is enabled by default when you create an application.

      • If you do not need to automatically back up your application data, you can turn off the automatic backup switch.

    3. Modify the automatic backup policy.

      Note
      • Snapshot backup retention period: The default value is 7 days and it cannot be modified.

      • Snapshot backup schedule: By default, a snapshot is created at 02:00 daily.

    4. Click OK.

  6. Create a snapshot.

    1. On the Snapshot Backup List tab, click Create Snapshot.

    2. In the Create Snapshot panel, configure the snapshot parameters.

      Parameter

      Description

      Snapshot name

      Enter a snapshot name. The snapshot name must meet the following requirements:

      • Be 1 to 50 characters in length.

      • Start with a letter or a digit.

      • Can contain underscores (_) and hyphens (-).

      Snapshot repository

      Select the repository for the snapshot backup.

      Note

      Only the default snapshot repository of Alibaba Cloud Elasticsearch Serverless, aliyun_auto_snapshot, is supported.

      Index

      Select one or more indexes or enter an index pattern.

      Note

      The index drop-down list displays all indexes in the application. You can select multiple indexes.

    3. Click OK.

      The system then creates the snapshot backup.

      Important

      You can also delete a snapshot by clicking Delete in the Actions column for that snapshot. This action cannot be undone, so proceed with caution.