SDK reference / Models / Storage

Backup

Kind: class

Namespace: Egulu.Sdk.Models.Storage

One disk as of one slot of a plan (or of a manual run): an encrypted archive kept apart from the disk (ADR-0504, ADR-0511).

Properties

NameTypeJSON nameDescription
AnnotationsModels.Storage.Backup_annotations?annotationsAt most 256 KiB in all; never policy input.
BackendModestring?backendModeBackend mode: SIMULATED or ARCHIVE_RESTIC.
ContentSha256string?contentSha256SHA-256 of the disk's archive; a restore checks it before the new disk sees a byte.
CopyLocationstring?copyLocationThe peer location that holds the copy.
CopyStateModels.Storage.Backup_copyState?copyStateWhere the copy in the peer location stands.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
FailureReasonstring?failureReasonWhy a FAILED backup failed, in words.
KeepUntilTimeDateTimeOffset?keepUntilTimeThe backup is deleted at this time (ADR-0510: at most 35 days after it was taken).
KindModels.Storage.Backup_kind?kindSCHEDULED or MANUAL.
LabelsModels.Storage.Backup_labels?labelsAt most 64.
Locationstring?locationLocation ID where the backup was taken.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
Planstring?planThe plan that took it (projects/{p}/locations/{l}/backupPlans/{b}); stays after the plan is deleted, until the backup expires.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
Simulatedbool?simulatedTrue when backed by the fake driver in lab or test environments.
SizeByteslong?sizeBytesArchive size in bytes.
SizeGiblong?sizeGibThe disk's size in GiB at that time (a restore creates a disk of at least this size).
SlotTimeDateTimeOffset?slotTimeThe slot this backup is for (its scheduled time); one backup exists for a plan, disk and slot.
SourceDiskstring?sourceDiskThe disk it holds (projects/{p}/locations/{l}/disks/{d}).
SourceDiskUidstring?sourceDiskUidThe disk's UID.
StateModels.Storage.Backup_state?stateThe state property
TakenTimeDateTimeOffset?takenTimeWhen the archive was complete.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property