Chapter 7: Using the SafeWord 2008 Management Console
Database-related tasks
175
5
(Optional) Check the
Re-sign restored records
check box to have the
system compute a new signature for each record restored from the backup.
You would want to use this option if, for instance, the Admin Server key
used for signing records was compromised (see “Managing the Admin and
Authentication Engine keys” on page 192). This is required if the new sys-
tem has a different signature key than the system that produced this
backup file.
By default, the
Overwrite existing entries
box is
checked
. This setting enables
the Admin Server to overwrite existing records in the database with those from
the backup file. If
cleared
, the Admin Server will return “Duplicate Entry Error
Messages” during the restore operation.
6
Click
OK
.
A status window appears in which the status of your backup is shown.
When the backup is completed, another dialog box will inform you of the
number of successfully imported records.
Backing up your database using the command line
Occasionally, it is convenient to back up or restore data quickly, without the
usual data validation and processing overhead of the standard SafeWord
Backup/Restore functionality. In such cases, you can use two low-level
QBackup
and
QRestore
utilities that back up and restore the raw database
data. These work quickly because they simply export and import the SafeWord
tables to a text file. They are convenient as quick utilities that can be scheduled
to run periodically to take snapshots of the data.
Note:
These utilities cannot be used to back up and restore data between different
versions of SafeWord. They are not compatible with the file format used by the
standard SafeWord Backup/Restore functionality. Files produced by QBackup can
only be used by QRestore. These scripts must not be used as a replacement for the
standard backup operation performed via the SafeWord 2008 Management
Console.
The scripts are located in the
<Install_Dir>\SafeWord\SERVERS\Database\bin
directory and can be used as follows:
QBackup filename
to back up the data,
and
QRestore filename
to restore it.