Backing up a database using loaddb BACKUP
This procedure backs up a Content Delivery database. The backup you create can be restored to another system, even if that system has a different operating system than the computer on which you create the backup. The BACKUP command outperforms other ways of restoring the database, especially if the database is large.
Before you begin
Content Delivery will be unavailable for the duration of the execution.
If the backup you intend to create includes user information and credentials (that is, if it will contain a backup of the folder /db/system/), take note of the admin password now. If this password ever changes, you will need the original password in order to perform a successful restore.
About this task
BACKUP command backs up the entire Content Delivery database: users, groups, publications, forms (definitions and instances), audit trails, and packages. The following files are not part of the database, and are therefore not backed up by this task:
- conf.xml
- lc.properties
- log4j.xml
- LiveContent*.xml files
If you have modified any or all of these files, you must back up and restore them separately.
Procedure
Example
loaddb.bat -Dlc.file="myBackup1.zip" BACKUP