Documentation Center

Backing up the database using loaddb BACKUP

This procedure describes how to manually back up the SDL LiveContent Reach database.

About this task

By default, the /db path is backed up. This backs up users, groups, publications, forms (definitions and instances), audit trails, and packages.

Procedure

  1. At a command prompt, in the directory where SDL LiveContent Reach is installed, type
    loaddb.{bat,sh} -Dlc.file=filename -Dlc.host=FQDN -Dlc.port=port_number 
    -Dlc.db=/db -Dlc.context=/LiveContent BACKUP
    where:
    OptionDescription
    -Dlc.file Destination path and file name for the saved backup file. It defaults to backup.zip
    -Dlc.host

    The host name of the SDL LiveContent Reach instance in which to connect. The default is localhost. When using this parameter to load from one server to another, the lc_properties file on each server within the secure group must share the same lc_auth_seed.

    -Dlc.portNon-SSL port number to connect to. Defaults to 8080. The default is derived from the local configuration.
    -Dlc.db

    The specified starting point collection inside the database that you want to act on.

    Example:

    loaddb -Dlc.db=/db/LiveContent/config -Dlc.file=config_backup.zip BACKUP

    The config_backup.zip file will be a back up of the /db/LiveContent/config collection (and all of its sub collections, if any exist).

    If you do not specify -Dlc.db, it defaults to /db, which is the whole database.

    -Dlc.contextSDL LiveContent Reach context. The default is derived from local configuration, usually /LiveContent
  2. In a secure location, take note of the SDL LiveContent Reach Admin password. It is required to restore the backup and restore.