Table of Contents |
---|
...
Configuring Deployment Packager Backups
Set databaseBackupMode
in deployPackager.properties
to control backup behavior.
...
When databaseBackupMode
is set to on_demand
, the database is restored from the backup file specified in the deployPackager.properties in the event of packaging failure. Deploy Packager performs these operations:
- Checks Check that the appropriate database backup file/path, privileges, and tools are present in the event a restore needs to occur.
- Deploy new changes.
- Restore from backup specified in the deployPackager.properies if a failure occurs.
...
Although backing up the reference database during every deployment takes time, it also assures reliability. If packaging fails, the reference database is automatically restored to exactly the state it was in when packaging started. Not taking a backup every time introduces risk to the system.
In addition, any changes made to the reference database manually (outside of Datical) are not restored when using static backup file. If you make manual changes to the reference database, you should then backup the reference database and replace the backup file that Datical uses during packaging.
Troubleshooting Backup & Restore Issues
...