Documentation Center

Updating a database content using loaddb UPGRADE

This procedure updates your Legacy Content Delivery database with the content of the db directory. A database can be upgraded from another system, even if the system you upgrade it from has a different operating system than the computer on which the db directory is located. UPGRADE is the default command of the loaddb tool

Before you begin

Legacy Content Delivery will be unavailable for the duration of the execution.

UPGRADE will always update from the full content of the db directory. If only a part of the content needs to be put in the database, then it has to be selected from the file system (through the version management tool or by removal of the other files).

About this task

The following files are not part of the database, and are therefore not updated with this command:
  • conf.xml
  • lc.properties
  • log4j.xml
  • LiveContent*.xml files

If you have modified any or all of these files, you must update them separately.

Procedure

  1. Make sure that no end users are using Legacy Content Delivery during the execution.
  2. At a command prompt, in the directory where Legacy Content Delivery is installed, type one of the following (without pressing Enter):
    • On a Windows machine, type loaddb.bat
    • On a Unix machine, type loaddb.sh
  3. Add the word UPGRADE and press Enter.
    The database is updated with the db repository content.

Example

Example:
loaddb.bat UPGRADE