When conflicting top-level resources (either Namespaces or
ProtectedApplications, depending upon the scope) are encountered, this
will first trigger a delete of the conflicting resource AND ALL OF ITS
REFERENCED RESOURCES (e.g., all resources in the Namespace or all
resources referenced by the ProtectedApplication) before restoring the
resources from the Backup. This mode should only be used when you are
intending to revert some portion of a cluster to an earlier state.
FailOnConflict
If conflicting top-level resources (either Namespaces or
ProtectedApplications, depending upon the scope) are encountered at the
beginning of a restore process, the Restore will fail. If a conflict
occurs during the restore process itself (e.g., because an out of band
process creates conflicting resources), a conflict will be reported.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This documentation outlines the `RestoreConfig.Types.NamespacedResourceRestoreMode` enum, which manages how existing namespaced resources are handled during a restore operation within the Backup for GKE v1 API."],["The latest version of this API is 2.6.0, with versions ranging back to 1.0.0-beta01 also documented."],["There are three fields available, `DeleteAndRestore`, `FailOnConflict`, and `Unspecified`, that define actions for resource conflicts, such as deleting existing resources or failing the restore process."],["The `DeleteAndRestore` mode deletes conflicting resources and all their referenced resources before restoring from the backup, and is recommended only for reverting to an earlier state."],["The `FailOnConflict` will cause a restore to fail if a top-level resource conflict is encountered, at the start or during the restore process."]]],[]]