Archive¶
You can list archives that store backups for a specific namespace (for example, postgresql
) using the following command:
A sample command output is shown below:
apiVersion: k8sbackup.afi.ai/v1alpha1
kind: Archive
metadata:
name: 01GMVJR8HXYZYVH3DYJTM0YV8V
namespace: postgresql
creationTimestamp: "2022-12-22T00:11:57Z"
status:
archiveId: 01GMVJR8HXYZYVH3DYJTM0YV8V
resourceId: 01GMVJMEZ1580YTQS6WM03KC3T
resourceName: postgresql
storageId: 01GMVJKTHTR0A1KHA69REN74HX
repoName: cloud
archiveId
- represents a unique archive identifier that can be used to address this backup via API (for example,archiveId
should be specified inRunRestore
object inarchiveRef
field when running a restore).resourceId
andresourceName
- represent a namespace (resource) identifier and its name.storageId
andrepoName
- represent a storage repository where a namespace backups are stored. Archive storage is defined by a namespace backup policy used to create this backup archive.