Backup for GKE v1 API - Enum RestoreConfig.Types.VolumeDataRestorePolicy (2.0.0)

public enum VolumeDataRestorePolicy

Reference documentation and code samples for the Backup for GKE v1 API enum RestoreConfig.Types.VolumeDataRestorePolicy.

Defines how volume data should be restored

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Fields

NameDescription
NoVolumeDataRestoration

For each PVC to be restored, PVCs will be created without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs.

RestoreVolumeDataFromBackup

For each PVC to be restored, will create a new underlying volume (and PV) from the corresponding VolumeBackup contained within the Backup.

ReuseVolumeHandleFromBackup

For each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). Note that option is likely only usable when restoring a workload to its original cluster.

Unspecified

Unspecified (illegal).