Configuring Backup and Restoration of a Microservice Engine
The ServiceStage console provides the backup and restoration functions. You can back up and restore CSE data, including microservices, contracts, configurations, and account role.
You can customize backup policies to periodically back up microservice engines 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
- Log in to ServiceStage and choose Cloud Service Engine > Engines.
- Select the target microservice engine from the Microservice Engine drop-down list in the upper part of the page.
- 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.
- Click OK.
Once the backup policy is set, the backup task is triggered within one hour after the preset time.
Manual Backup
- Log in to ServiceStage and choose Cloud Service Engine > Engines.
- Select the target microservice engine from the Microservice Engine drop-down list in the upper part of the page.
- 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.
- 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.
- Log in to ServiceStage and choose Cloud Service Engine > Engines.
- Select the target microservice engine from the Microservice Engine drop-down list in the upper part of the page.
- In the Backup and Restoration area, click Restore in the Operation column of the row that contains the specified backup data.
- Select I have read and fully understand the risks.
- Click OK. To view the restoration status, click Restoration History in the Backup and Restoration area.
Deleting Backup Data
- Log in to ServiceStage and choose Cloud Service Engine > Engines.
- Select the target microservice engine from the Microservice Engine drop-down list in the upper part of the page.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot