Help Center/ Cloud Service Engine/ User Guide/ Exclusive ServiceComb Engine/ Managing ServiceComb Engines/ Configuring Backup and Restoration of a ServiceComb Engine
Updated on 2024-02-29 GMT+08:00

Configuring Backup and Restoration of a ServiceComb Engine

The microservice console provides the backup and restoration functions. You can back up and restore ServiceComb engine data, including microservices, contracts, configurations, and account roles.

You can customize backup policies to periodically or manually back up ServiceComb engines.

Background

  • Each exclusive ServiceComb engine supports a maximum of 15 successful backups, including a maximum of 10 manual backups and a maximum of 5 automatic backups.
  • The backup data will be stored for 10 days. Expired backup data will be deleted.

Automatic Backup

  1. Log in to CSE.
  2. Choose Exclusive ServiceComb Engines.
  3. Click the target engine.
  4. In the Backup and Restoration area, click Automatic backup settings and set backup parameters.

    Table 1 Automatic backup parameters

    Parameter

    Description

    Automatic Backup

    After automatic backup is disabled, the previously set backup policy will be deleted. In this case, you need to set the backup policy again.

    Backup Interval

    Backup period.

    This parameter takes effect after Automatic Backup is enabled.

    Trigger Time

    Time at which a backup task starts. Only the hour is supported.

    This parameter takes effect after Automatic Backup is enabled.

  5. Click OK.

    Once the backup policy is set, the backup task is triggered within one hour after the preset time.

Manual Backup

  1. Log in to CSE.
  2. Choose Exclusive ServiceComb Engines.
  3. Click the target engine.
  4. In the Backup and Restoration area, click Create Manual Backup and set backup parameters.

    Table 2 Manual backup parameters

    Parameter

    Description

    Name

    Name of a backup task. The name cannot be changed after the backup task is created.

    Remarks

    (Optional) Description about the backup task.

  5. Click OK.

Restoring Backup Data

The backup data will overwrite the current data of the ServiceComb engine. As a result, the microservice and service instances may be messed, and dynamic configurations may be lost. Exercise caution when performing this operation.

If security authentication is enabled, the backup data contains the account information. You are advised to disable security authentication before restoring the backup data. Otherwise, the authentication for accessing the ServiceComb engine may fail after the restoration.

  1. Log in to CSE.
  2. Choose Exclusive ServiceComb Engines.
  3. Click the target engine.
  4. In the Backup and Restoration area, click Restore in the Operation column of the row that contains the specified backup data.

    1. Select I have read and fully understand the risks.
    2. Click OK. To view the restoration status, click Restoration History in the Backup and Restoration area.

Deleting Backup Data

  1. Log in to CSE.
  2. Choose Exclusive ServiceComb Engines.
  3. Click the target engine.
  4. In the Backup and Restoration area, click Delete in the Operation column of the target backup data. In the displayed dialog box, enter DELETE and click OK.