Backing up OpenShift container data directly to cloud storage
To use a cloud storage system as the primary storage for container backups, you must set up your cluster to send snapshot backups directly to cloud storage (also known as object storage). During a backup job, Container Backup Support creates a snapshot of the container data and sends the snapshot directly to cloud storage without using the IBM Spectrum® Protect Plus vSnap server as intermediary storage.
Before you begin
Ensure that Container Backup Support is installed on your cluster. For instructions, see Installing the Container Backup Support operator by using the Red Hat OpenShift web console.
About this task
- Amazon Simple Storage Service (Amazon S3)
- IBM Cloud® Object Storage
- Microsoft Azure Blob storage
- S3 compatible storage
- For IBM Cloud Object Storage, support for retention-enabled vaults is not available.
- For S3 compatible storage, generic S3 support is based on external certification processes. For the list of supported S3 compatible providers, see technote 1087149.
After you register a cloud storage provider, you can create a service level agreement (SLA) that specifies cloud storage as the primary backup storage type. When cloud storage is the primary backup storage type, you cannot specify secondary backup storage from which data can be replicated, copied to standard object storage, or copied to archive object storage. To create additional copies of your container data, you must set up another SLA that specifies a vSnap server as the primary backup storage type. From the vSnap server, data can be replicated or copied to standard or archive object storage.
Procedure
To back up your container workload to cloud storage, complete the following tasks:
Results
Data is copied to cloud storage as part of the backup job.
If you cancel a running backup job, you are prompted to keep the data that was already backed up. This option has no effect on container backup operations to cloud storage. Items that were backed up successfully can be restored and can expire according to the associated SLA policy. The space that is occupied by items that were canceled by this operation will be released during the next expiration run.
What to do next
If you must restore a container backup, follow the instructions in Restoring OpenShift container data.