Failed to create data image from backup
Published 11 June 2024
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 message | Description | Steps 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: |
|
An error related to Ceph, e.g.,:
| 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. |
|
"Failed to determine size of backup: error when getting backup sizes: Exception while waiting for the Backup Inspector job to finish... container \"backup-inspector\" in pod... is waiting to start" | If attempting to create SQL Server data images, this error may occur because the node does not have the "cloning-mssql-node" label set to 'true'. |