VMS Help  —  RMU72  Recover  Command Qualifiers, Root
    Root=root-file-name

    Specifies the name of the database to which the journal should
    be applied. The Root qualifier allows you to specify a copy of a
    database instead of the original whose file specification is in
    the .aij file. Use the Root qualifier to specify the new location
    of your restored database root (.rdb) file.

    Specifying this qualifier lets you roll forward a database copy
    (possibly residing on a different disk) by following these steps:

    1. Use the RMU Backup command to make a backup copy of the
       database:

       $ RMU/BACKUP MF_PERSONNEL.RDB MF_PERS_FULL_BU.RBF

       This command writes a backup file of the database mf_personnel
       to the file mf_pers_full_bu.rbf.

    2. Use the RMU Restore command with the Root and Directory
       qualifiers, stating the file specifications of the database
       root and storage area files in the database copy.

       $ RMU/RESTORE/ROOT=DB3:[USER]MF_PERSONNEL/DIRECTORY=DB3:[USER] -
       _$ MF_PERS_FULL_BU

       This command restores the database on disk DB3: in the
       directory [USER]. Default file names and file extensions are
       used.

    3. If the database uses after-image journaling, you can use the
       RMU Recover command to roll forward the copy.

       $ RMU/RECOVER DBJNL.AIJ/ROOT=DB3:[USER]MF_PERSONNEL.RDB

       Thus, transactions processed and journaled since the backup
       operation are recovered on the copy on the DB3: disk.

    Correct operation of this procedure requires that there are no
    write transactions for the restored copy between the restore and
    recover steps.

    If you do not specify the Root qualifier, Oracle RMU examines
    the .aij file to determine the exact name of the database root
    (.rdb) file to which the journaled transactions will be applied.
    This name, which was stored in the .aij file, is the full file
    specification that your .rdb file had when after-image journaling
    was enabled.

    The journal file for a single-file database does not include the
    file name for the database; to recover a single-file database,
    you must specify the location of the database to be recovered by
    using the Root qualifier.
Close Help