Operating Condition
Syntax: SET MIRROR <path>
Syntax: SET MIRROR OFF/DELETE
Default: OFF
SET MIRROR <path> maintains a duplicate copy of the database. This duplicate copy is created and maintained in the directory designated in path. The duplicate database will have the same name, therefore path must designate a backup directory. With this setting, all modifications to the original database are duplicated in the mirrored database. Be sure all users are mapped to the save drive letters. SET MIRROR OFF turns off mirroring of the database; SET MIRROR DELETE turns off mirroring and then deletes the duplicate database.
A database copy must be made initially to the designated mirror directory. MULTI must be set to OFF in order to apply the MIRROR setting.
To review a mirrored database and the duplicated content, the live and duplicate copies of the database must have MULTI and MIRROR set to OFF.
The following establishes a mirror database for the RRBYW20 database to the R:\RRBYW20\MirrorDB folder:
DISCONNECT
SET MULTI OFF
CONNECT RRBYW20
SET MIRROR R:\RRBYW20\MirrorDB
SHOW MIRROR
(MIRROR ) R:\RRBYW20\MirrorDB --Database MIRROR files location