Module: Google::Cloud::GkeBackup::V1::RestoreConfig::VolumeDataRestorePolicy

Defined in:
proto_docs/google/cloud/gkebackup/v1/restore.rb

Overview

Defines how volume data should be restored

Constant Summary collapse

VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED =

Unspecified (illegal).

0
RESTORE_VOLUME_DATA_FROM_BACKUP =

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

1
REUSE_VOLUME_HANDLE_FROM_BACKUP =

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.

2
NO_VOLUME_DATA_RESTORATION =

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.

3