Edit online

Backing Up Content Fusion Data

It is recommended for the server administrator to set up periodic backups for the Oxygen Content Fusion Enterprise Server.

Creating a Backup

A Content Fusion backup contains a PostgreSQL database dump along with configuration and task files.

To create a backup, execute the following command on the Content Fusion machine:
sudo bash /fusion/admin/create-fusion-backup.sh
Important: The create-fusion-backup.sh script had an inherited critical bug in Content Fusion 2.0 and 3.0 and should be updated before attempting to create a new backup. More details can be found here: https://www.oxygenxml.com/content_fusion/critical_content_fusion_backup.html.
Tip: A review task is divided into two parts (task metadata that is stored in a database and task files that are stored on the file system). Therefore, backups might contain tasks with small de-synchronizations. For this reason, the server administrator should choose a time with the least amount of usage to create the backup.

This will create a backup archive (fusion-backup.tar.gz) in the current directory. If the backup file already exists, it will be overwritten.

Storing a Backup

The server administrator should create backups and download them to a safe backup storage location periodically. One method of doing this is to create a cron job that periodically connects to the Content Fusion machine to create a backup and download it using rsync.

Restoring a Backup

To restore Content Fusion from a backup, execute the following command on the Content Fusion machine:
sudo bash /fusion/admin/restore-fusion-backup.sh /path/to/fusion-backup.tar.gz

The script takes one argument, the path to the backup file to restore from.

Note: restore-fusion-backup.sh will scan the given backup and if it is corrupted it will ask whether to continue or not. You can use the -n option to run it in non-interactive mode, where it will fail when encountering a corrupted backup.
After restoring from the backup, start Content Fusion by using the following command:
sudo bash /fusion/admin/start-content-fusion.sh