Backup repository
Using a backup and recovery repository can provide backup business resource data (such as applications) for the cluster and the ability to quickly restore data based on backup files.
Prerequisites
If you want to configure the default storage when deploying components, please prepare the docking information of the storage in advance. Currently, only object storage compatible with S3 (Simple Storage Service) is supported, such as Amazon S3, MinIO, Tencent Cloud Object Storage COS, Huawei Cloud Object Storage OBS, Alibaba Cloud Object Storage OSS, etc.
Procedure
-
In the left navigation bar, click Clusters > Backup and Recovery.
-
Switch to the Backup Repository Management tab.
-
Click Create Backup Repository and configure the relevant parameters according to the following instructions.
Parameter Description Region The region where the data center of the object storage is located.
Tip: When the object storage is MinIO, please enter “minio”.Endpoint The access address of the object storage that provides services to the outside world (HTTP RESTful API method), which must be the terminal address (Endpoint) of the object storage. For example: https://cos.<region>.myqcloud.com.
Caution: Entering the public access domain name of the object storage (including the bucket name) will cause the plugin to fail. For example:https://<bucket name>.cos.<region>.myqcloud.com.Bucket The name of the storage bucket. Folder Prefix of the bucket folder used to store backup data. For example: backups.Secret Id/Secret Key Access keys used to verify identity when accessing object storage. CA Certificate If CA certificate verification is required when accessing the configured object storage, upload the certificate that has been Base64 encoded. -
Click Create.
Relevant operations
Delete the backup repository
If the current backup repository is being used by a backup policy, deleting it will cause backup failures when the policy is executed again. It is recommended to update the backup repository for the backup policy before deleting it.
-
In the left navigation pane, click Clusters > Backup and Recovery.
-
Switch to the Backup Repository Management tab.
-
Click the
icon on the right of the backup repository, and then click Delete. Confirm the deletion.