Applies to:
- Liquibase Enterprise (Datical DB)
Conditions:
- Any version of Liquibase Enterprise (Datical DB)
- Using the on_demand backup method
Issue Summary:
When attempting to run Packager, an error will occur about the backup file not being able to be found.
Error Message:
Cannot open backup device '<path_to_backup_file>'. Operating system error 2(The system cannot find the file specified.).
Root Cause:
During the packager process, a restore from a backup file will occur if any issues are encountered. If the backup method is set to on_demand, a backup file needs to be provided. If the file was either deleted or is no longer on the server, a new backup file will be needed.
Resolution:
You will need to add createDatabaseBackup=true to the deployPackager command in order for a new backup file to get created.
Example:
hammer groovy deployPackager.groovy pipeline=MY_PIPELINE_NAME scm=true createDatabaseBackup=true preview=true
Comments
0 comments
Article is closed for comments.