Administrative Tasks: Monthly Procedures
7.4 Backing Up the Database
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 ContactStore service or the PostgreSQL service before proceeding.
1.Log on as an administrator and open a command window.
2.Change directory (“cd”) to the \bin folder in the installation path
3.Create a backup file by entering the command: winbackup <backupfile> where <backupfile> is the full path name for the backup file. Make sure there is enough space on the target drive for the backup file. Consider copying the backup file to another server, or external media.
7.5Restoring the Database
The following process erases the default database that exists after a complete
1.
2.Log on as administrator and install the recorder .
3.Stop the IP Office ContactStore service.
4.Open a command window
5.Change Directory ("cd") to the \bin directory beneath the install path.
6.Enter the command winbackup <backupfile> restore where <backupfile> is the full path name for the backup file.
7.Ignore the warning stating that "pgpsql already exists".
8.Start the IP Office ContactStore service.
IP Office ContactStore 7.8 | Page 55 |
IP Office |