...
To restore a backup taken previously by the script, perform the following steps (after copying and extracting the backup file as aboveto /tmp):
Run the script by entering the command
Code Block | ||
---|---|---|
| ||
cd /tmp
tar xf open-audit_backup-YYYY-MM-DD-HHMM.tar.gz
./install.pl restore=y |
You will be prompted for your MySQL root user credentials. Any existing Open-AudIT files and database will be removed from the server (if they exist). The backed-up files will be restored to the server, the daemon reinstalled installed and configured, the database restored and the daemon started.
...