Documentation Center

Backing up the database using eXist (remote)

You can use the eXist Admin Client client to back up the SDL LiveContent Reach database. It is a much faster method than using loaddb...BACKUP, and it offers diagnostic capabilities.

Before you begin

About this task

Use the Remote option as the eXist Admin Client type when a partial database backup is required. Tomcat must be running.

Procedure

  1. Open a command or terminal window.
    • On Windows, from a command window, cd to the Tomcat\webapps\LiveContent\WEB-INF folder.
    • On Linux, from a terminal window, cd to the Tomcat/webapps/LiveContent/WEB-INF directory.
  2. Open the eXist client.
    The JAVA_HOME environment variable must be set.
    • On Windows, enter loaddb.bat client
    • On Linux, enter loaddb.sh client
    The Database Login window appears.
  3. Enter the current dba credentials ("admin" and password).
  4. From the Type drop-down list choose the Remote backup option.
  5. In the URL field, enter a port number and context.
    For example: xmldb:exist//localhost:8080/LiveContent/xmlrpc
  6. Click OK.
    The eXist Admin Client window appears.
  7. From the eXist Admin Client, click Tools > Backup.
    The Create Backup window appears.
  8. In the Collection field, accept the default /db, or click the drop-down list and choose a subset of the collection.
  9. In the Target field, accept the default location, which ends in .zip, or click Target, and choose another location in which to save the backup.
    If the Target field ends in .zip, the backup will be saved in a .zip file; if it ends without this extension, a folder or directory will be created.
  10. Click OK.
  11. When the backup completes, close the eXist Admin Client.