You can back up your recorder's database using a command line procedure. The procedure uses the PostgreSQL pg_dump command to extract data from the database. It must be executed while the database is running. Do not stop the Witness ContactStore for Communication Manager service or the Postgresql service before proceeding.
Log on as root.
Become the database owner by typing
su - postgres
Create a backup file by entering the command:
pg_dump --format=c --compress=5 eware > backupfile
Please observe the following guidelines concerning the compression factor:
Note: Note: You can only restore data to the server from which you dumped it because the dump file stores the software serial number and license key information.
These are tied to a MAC address on the recorder. Unless you can move the original NIC into the new server, you will need to obtain a new license key if you wish to restore to different hardware.
The following process erases the default database that exists after a complete
re-installation and replaces it with the database that you have backed up.
Re-install the operating system.
Log on as root and install the recorder as described in Installing Witness ContactStore for Communication Manager on page 79.
su - postgresdropdb ewarecreatedb ewarepg_restore --dbname=eware --use-set-session-authorization backupfilename