RDF/IMP and IMPX System Management Manual (RDF 1.4+)
Installing and Configuring RDF
HP NonStop RDF/IMP and IMPX System Management Manual—524388-001
3-7
Synchronizing the Primary and Backup Databases
•
The DUP operation moves the entire database, including all partitions and 
indexes, by default.
•
The catalog \BACK.$DATA1.DBCAT is used for all partitions and all indexes.
8. Specify the catalog for the backup system:
CATALOG \BACK.$DATA1.DBCAT;
9. Use the SQLCI DUP command to copy the primary system’s database to the 
backup system:
DUP ( *.*.* FROM CATALOG \PRIM.$TEST.DBCAT ),
 MAP NAMES ( \PRIM.$DATA1.*.* TO \BACK.$DATA1.*.* ,
 \PRIM.$DATA2.*.* TO \BACK.$DATA2.*.* )
 SAVEALL ON;
10. After using the SQLCI DUP command, perform a TMF online dump on the primary 
system to create a recovery point.
Synchronizing Databases With BACKUP and RESTORE 
Utilities
You can use the BACKUP and RESTORE utilities to synchronize NonStop SQL or 
Enscribe databases by copying a database to tape on the primary system and 
restoring the database from tape on the backup system. This method is preferable 
when you want a backup tape of the primary system database, or when the database 
is large.
The following example of BACKUP and RESTORE commands shows how to copy a 
NonStop SQL database from the primary system \PRIM to the magnetic tape device 
named $TAPE and how to restore the database to volumes of the same name on the 
backup system \BACK. Note that you must include the AUDITED option in both the 
BACKUP and RESTORE commands.
1. Back up the database from \PRIM onto tape:
BACKUP $TAPE, (*.*.* FROM CATALOG \PRIM.$TEST.DBCAT),
 AUDITED, INDEXES IMPLICIT, LISTALL
2. Restore the database from tape onto \BACK (assuming the catalog was already 
created):
RESTORE $TAPE, *.*.*, AUDITED,
 MAP NAMES ( \PRIM.$DATA1.*.* TO \BACK.$DATA1.*.* ,
 \PRIM.$DATA2.*.* TO \BACK.$DATA2.*.* ),
 CATALOG \BACK.$DATA1.DBCAT, INDEXES IMPLICIT,
 SQLCOMPILE OFF, LISTALL
The next examples of BACKUP and RESTORE commands show how to copy all files 
from the primary system volumes $DATA01, $DATA02, $DATA03, and $DATA04 to the 










