Chapter 16. Backup & Restore

Table of Contents

About Backup & Restore
Backing Up the PureCM Data Files
Create a Snapshot
Restoring a Snapshot
Archiving the Log File
Applying the Log File
Resetting Policies

About Backup & Restore

The PureCM database files are stored in the location specified when installing PureCM (typically PureCM\data). The following files will be found in the directory:

Table 16.1. PureCM Data Files

NameExtensionDescription
Data FiletdfContains all non-binary data
Binary Data FiletbfContains all binary data

If you want to backup the PureCM data files using a backup program such as NTBackup on Windows or 'tar' on Unix see the section called “Backing Up the PureCM Data Files”. Although this is the simplest solution, it is recommended that you create database snapshots and back these up. Snapshots are compressed and therefore take up less space than the actual data files.

The PureCM snapshot files are stored in the location specified when installing PureCM (typically PureCM\snapshots). The following files will be found in the directory:

Table 16.2. PureCM Snapshot Files

NameExtensionDescription
Snapshot FiletdsA compressed copy of the data files which can be restored

See the section called “Create a Snapshot” for a description of how to create snapshots. See the section called “Restoring a Snapshot” for a description of how to restore the snapshot.

If the PureCM database you are backing up is large then you typically wouldn't want to create more than one or two snapshots a day. While the snapshots are being created other users cannot use the tool, and the amount of storage required for many snapshots will soon mount up.

If you want to perform many backups during the day, a better solution is to backup the log file as described in the section called “Applying the Log File”. To recover the database you would first recover the snapshot and then apply each log file as described in the section called “Applying the Log File”.

The PureCM log files are stored in the location specified when installing PureCM (typically PureCM\logs). The active log files will be found under the logs directory. Any archived log files will be found in the subdirectory 'archive' (e.g. PureCM\logs\archive).

Table 16.3. PureCM Log Files

NameExtensionDescription
Log Commands FiletlfContains the log of all commands
Log Pre-Image FiletpfContains the binary data used by the commands file