BackupRepository
velero.io / v1
apiVersion: velero.io/v1
kind: BackupRepository
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
BackupRepositorySpec is the specification for a BackupRepository.
backupStorageLocation
string required
BackupStorageLocation is the name of the BackupStorageLocation
that should contain this repository.
maintenanceFrequency
string required
MaintenanceFrequency is how often maintenance should be run.
repositoryConfig
object
RepositoryConfig is for repository-specific configuration fields.
repositoryType
string
RepositoryType indicates the type of the backend repository
enum:
kopia, restic,
resticIdentifier
string
ResticIdentifier is the full restic-compatible string for identifying
this repository. This field is only used when RepositoryType is "restic".
volumeNamespace
string required
VolumeNamespace is the namespace this backup repository contains
pod volume backups for.
status object
BackupRepositoryStatus is the current status of a BackupRepository.
lastMaintenanceTime
string
LastMaintenanceTime is the last time repo maintenance succeeded.
format:
date-time
message
string
Message is a message about the current status of the BackupRepository.
phase
string
Phase is the current state of the BackupRepository.
enum:
New, Ready, NotReadyrecentMaintenance []object
RecentMaintenance is status of the recent repo maintenance.
completeTimestamp
string
CompleteTimestamp is the completion time of the repo maintenance.
format:
date-time
message
string
Message is a message about the current status of the repo maintenance.
result
string
Result is the result of the repo maintenance.
enum:
Succeeded, Failed
startTimestamp
string
StartTimestamp is the start time of the repo maintenance.
format:
date-timeNo matches. Try .spec.backupStorageLocation for an exact path