Help Center/ ServiceStage/ User Guide/ Microservice Engine/ Managing Microservice Engines/ Configuring Backup and Restoration of a Microservice Engine
Updated on 2024-09-27 GMT+08:00

Configuring Backup and Restoration of a Microservice Engine

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

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

Background

  • Each exclusive microservice 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 ServiceStage and choose Cloud Service Engine > Engines.
  2. Select the target microservice engine from the Microservice Engine drop-down list in the upper part of the page.
  3. 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.

  4. 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 ServiceStage and choose Cloud Service Engine > Engines.
  2. Select the target microservice engine from the Microservice Engine drop-down list in the upper part of the page.
  3. 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.

  4. Click OK.

Restoring Backup Data

The backup data will overwrite the current data of the microservice 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 microservice engine may fail after the restoration.

  1. Log in to ServiceStage and choose Cloud Service Engine > Engines.
  2. Select the target microservice engine from the Microservice Engine drop-down list in the upper part of the page.
  3. 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 ServiceStage and choose Cloud Service Engine > Engines.
  2. Select the target microservice engine from the Microservice Engine drop-down list in the upper part of the page.
  3. 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.