Backup
longhorn.io / v1beta2
apiVersion: longhorn.io/v1beta2
kind: Backup
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
BackupSpec defines the desired state of the Longhorn backup
backupBlockSize
string
The backup block size. 0 means the legacy default size 2MiB, and -1 indicate the block size is invalid.
enum:
-1, 2097152, 16777216format:
int64
backupMode
string
The backup mode of this backup.
Can be "full" or "incremental"
enum:
full, incremental,
labels
object
The labels of snapshot backup.
snapshotName
string
The snapshot name.
syncRequestedAt
string
The time to request run sync the remote backup.
format:
date-timestatus object
BackupStatus defines the observed state of the Longhorn backup
backupCreatedAt
string
The snapshot backup upload finished time.
backupTargetName
string
The backup target name.
compressionMethod
string
Compression method
error
string
The error message when taking the snapshot backup.
labels
object
The labels of snapshot backup.
lastSyncedAt
string
The last time that the backup was synced with the remote backup target.
format:
date-time
messages
object
The error messages when calling longhorn engine on listing or inspecting backups.
newlyUploadDataSize
string
Size in bytes of newly uploaded data
ownerID
string
The node ID on which the controller is responsible to reconcile this backup CR.
progress
integer
The snapshot backup progress.
reUploadedDataSize
string
Size in bytes of reuploaded data
replicaAddress
string
The address of the replica that runs snapshot backup.
size
string
The snapshot size.
snapshotCreatedAt
string
The snapshot creation time.
snapshotName
string
The snapshot name.
state
string
The backup creation state.
Can be "", "InProgress", "Completed", "Error", "Unknown".
url
string
The snapshot backup URL.
volumeBackingImageName
string
The volume's backing image name.
volumeCreated
string
The volume creation time.
volumeName
string
The volume name.
volumeSize
string
The volume size.
No matches. Try .spec.backupBlockSize for an exact path