Skip to content

Acuparse Backup Guide

A script is included in cron to run daily backups. It will run automatically on Docker installs, but local installs will need to enable this manually.

Backup

  • Copy the backup script in cron/backup to your home directory

    cp /opt/acuparse/cron/backup ~/
    
  • Update the script with your Acuparse SQL Password.

  • Add the backup script to your system Cron

    crontab -l | { cat; echo "* 0 * * * /bin/bash ~/backup"; } | crontab -
    

Restore

Extract the backup archive

tar -xvf /var/opt/acuparse/backups/<BACKUPDATE>.tar.gz

Then restore your database

mysql -p<MYSQL_ROOT_PASSWORD> acuparse < mysql.sql

Copy your config file back cp config.php /opt/acuparse/src/usr/config.php