Updated on 2023-06-25 GMT+08:00

Configuring Backup and Restoration of an Exclusive Microservice Engine

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

Context

  • This function applies only to exclusive microservice engines.
  • 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 Infrastructure > Cloud Service Engines.
  2. Click an exclusive microservice engine. The Basic Information page is displayed.
  3. Click the Backup and Restoration tab, click Backup Policy, and set backup parameters.

    Table 1 Backup parameter description

    Parameter

    Description

    Automatic Backup

    After automatic backup is disabled, the previous backup policy will be deleted. In this case, set the backup policy again.

    Backup Cycle

    Backup period.

    Start Time

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

  4. Click OK to complete the configuration of the backup policy.

    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 Infrastructure > Cloud Service Engines.
  2. Click an exclusive microservice engine. The Basic Information page is displayed.
  3. Click the Backup and Restoration tab, click Manual Backup, and set backup parameters.

    Table 2 Backup parameter description

    Parameter

    Description

    Name

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

    Remarks

    Description about the backup task. This field is optional.

  4. Click OK to execute the backup task immediately.

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.

  1. Log in to ServiceStage and choose Infrastructure > Cloud Service Engines.
  2. Click an exclusive microservice engine. The Basic Information page is displayed.
  3. Click the Backup and Restoration tab, and click Restore in the Operation column next to the specified backup data.
  4. Select I have read and fully understood the risk and click OK to restore the backup data.

    To view the restoration status, click Restoration History.