By default, when Velero attempts to create a resource during a restore, the resource which gets restored is compared to the existing resources on the target cluster. If the resource already exists in the target cluster, Velero skips restoring the current resource and moves to the next resource to restore, without making any changes to the target cluster. For more information about Restore existing resource policy, see Restore existing resource policy.
You can change this policy for a restore by using the --existing-resource-policy restore
flag. The available options are none (default) and update. If you choose to update existing resources during a restore (--existing-resource-policy=update
), Velero will attempt to update an existing resource to match the resource from the backup.