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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eRestoreConfig.Types.NamespacedResourceRestoreMode\u003c/code\u003e enum in the Backup for GKE v1 API defines how to handle conflicts when restoring namespaced resources.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.6.0 is the latest version, and multiple previous versions are available, including 2.5.0, 2.4.0, 2.3.0, 2.2.0, 2.1.0, 2.0.0, and 1.0.0-beta01.\u003c/p\u003e\n"],["\u003cp\u003eThe enum offers three options: \u003ccode\u003eDeleteAndRestore\u003c/code\u003e, which deletes conflicting resources before restoring; \u003ccode\u003eFailOnConflict\u003c/code\u003e, which fails the restore if conflicts are detected; and \u003ccode\u003eUnspecified\u003c/code\u003e, which is an invalid option.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteAndRestore\u003c/code\u003e mode should only be used when reverting a portion of a cluster to an earlier state due to its deletion of conflicting resources.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides descriptions for each field, including \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003eDescription\u003c/code\u003e for each \u003ccode\u003eRestoreConfig.Types.NamespacedResourceRestoreMode\u003c/code\u003e field.\u003c/p\u003e\n"]]],[],null,[]]