Backing up the database using eXist (remote)

You can use the eXist Admin Client Remote back up command to back up a Content Delivery database located on a remote server. Only use this command if the recommended loaddb BACKUP command does not work.

Before you begin

The JAVA_HOME environment variable must be set.

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

If you are running Content Delivery with your own Web application server, it must be running during the backup process.

Procedure

  1. Make sure that no end users are using Content Delivery during the execution.
  2. Open a command prompt and do one of the following:
    • If you supply your own Web application server (non-bundled setup), navigate to the WEB-INF subdirectory of your SDL Knowledge Center home directory.
    • If SDL provided the Web application server, navigate to your SDL Knowledge Center home directory.
  3. Open the eXist Admin Client by doing one of the following:
    • On Windows, type loaddb.bat client and press Enter.
    • On Linux, type loaddb.sh client and press Enter.
    The Database Login window opens.
  4. Enter the current DBA credentials (username admin and the administrator password).
  5. Under Type, select Remote.
  6. In the URL field, enter a port number and context.
    For example: xmldb:exist//localhost:8080/LiveContent/xmlrpc
  7. Click OK.
    The eXist Admin Client window opens.
  8. From the eXist Admin Client, click Tools > Backup.
    The Create Backup window opens.
  9. Under Collection, accept the default /db, or click the dropdown list and choose a subset of the collection.
  10. Under Target, 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.
  11. Click OK.
    A popup windows appears and displays the collections or resources as they are backed up. When finished, the popup closes automatically.
  12. Exit the eXist Admin Client.