Troubleshoot Backup and Restore Issues
Problem
Restoring a configuration from a previously backed-up configuration folder fails.
Solution
When you destroy an existing cluster and redeploy a software image on the same cluster nodes, the restore operation may fail. Restoring the configuration from a previously backed-up configuration folder might cause this failure.
The restore operation fails because the mount path for the backed-up configuration is now changed. The persistent volume is deleted when you destroy an existing cluster. When you redeploy a new image, the persistent volume gets re-created in one of the cluster nodes wherever space is available. However, it is not necessarily created in the same node as it was present in previously. As a result, the restore operation fails.
To prevent this backup and restore issue:
-
Determine the mount path of the new persistent volume.
-
Copy the contents of the previous persistent volume's mount path to the new path.
-
Retry the restore operation.