New to KubeStash? Please start here.
KubeStash Backends
BackupStorage
KubeStash supports various backends for storing backup data. It can be a cloud storage like GCS bucket, AWS S3, Azure Blob Storage etc. or a Kubernetes persistent volume like HostPath, PersistentVolumeClaim, NFS etc.
The following diagram shows how KubeStash operator and backup container accesses and backs up data into a backend.
The Backend process works in the following steps:
- At first user creates a BackupStorage object that contains the backend information along with a
Secretobject containing the corresponding backend credentials required for accessing the backend. - KubeStash operator watches for
BackupStoragecustom resources andSecrets. When it finds aBackupStorageobject, it initializes the storage by uploading themetadata.yamlfile.
Below, a screenshot that shows initialization of a BackupStorage in a GCS bucket named kubestash-qa:

Here, kubestash-qa serves as the bucket name, and the presence of metadata.yaml indicates the successful initialization of the BackupStorage.






