Redgate Clone

Failed to create data image from backup

The rgclone create data-image command may fail, with output that looks like this:

ERROR: Operation failed (OperationFailed=23): Failed to create data image from backup!

(Conflict=12): Failed to create data image 'my-image' (123) [status: 409]

Please run 'rgclone logs data-image 123' for more information


Resolution

Run the rgclone logs data-image command as suggested, and it should output a more specific error message. The most common messages are listed below:

Specific error messageDescriptionSteps to resolve
"Failed to determine size of backup: error when getting backup sizes: Path “my-backups/my-db.bak” does not exist in the file share"

The backup file specified in the image definition YAML could not be found:

  • Check for typos in the file name or path.
  • Ensure the path is a valid Unix / POSIX file-path, not a Windows one.
  • Ensure the path is relative to the root of the file-share.
An error related to Ceph, e.g.,:
  • "Failed to create file-system for image in ceph".
  • "Failed to take initial snapshot of image in ceph".
  • "Failed to save initial ceph snapshot of image".
There is a problem relating to the storage of data images/containers.
"Post-processing of image failed"Often this is because of an error when restoring the backup into a running database instance.
  • Is the database engine version compatible? Check the version specified in your image YAML file is compatible with the database that exported the backup.
  • Check for problems with the backup itself - can it be restored to an equivalent database instance outside of Redgate Clone?
  • Use kubectl or k9s to view the logs of kubernetes-worker pods to see detailed errors.



Didn't find what you were looking for?