LOAD-IMAGE

Restores a physical backup of a database.

Caution

LOAD-IMAGE completely overwrites the contents of the database.

Syntax

LOAD-IMAGE

Restrictions

Comments

Procedure

  1. Ensure that the tape is loaded and on-line, and you are logged on to SYSMAN.
  2. Enter at the TCL prompt:

    LOAD-IMAGE
  3. The software then prompts for the tape units to be assigned:

    Enter tape units, in sequence, separated by commas ?

    Enter the number(s) of the tape unit(s) to be assigned.

    If your backup was saved using multi-deck parallel save, you must enter the same number of tape units as used when saving. If you need more tapes than you have tape decks, you can use tape images as additional decks.

    If you press RETURN without entering any tape unit numbers, LOAD-IMAGE exits without performing the restore.

  4. You are then prompted:

                *******************
                *                 *
                *  W A R N I N G  *
                *                 *
                *******************
    This operation will log off all users from this database (databaseName)
    and overwrite its contents from the saved image.
    Are you sure you wish to continue (Y/N) ?

    Enter Y  to continue or N  to exit.

  5. Unless an obvious problem is detected during start up (such as no tape being attached), LOAD-IMAGE then exits from Reality and runs the realload host command. On completion you will be prompted

    Hit <return> to exit

    When you respond to this prompt, if you are logged on to Reality locally, you will be returned to the host system prompt; if you are connected directly to Reality over a network, your network connection will be broken.

Example

The following shows a typical LOAD-IMAGE procedure.

:T-DEVICE 1 C:\TEMP\FASTBACKUP.RTI:C2 9

:LOAD-IMAGE
Enter tape units, in sequence, separated by commas ?1
Tape density (if other than Device Default) ?
            *******************
            *                 *
            *  W A R N I N G  *
            *                 *
            *******************
This operation will log off all users from this database (fbtest)
and overwrite its contents from the saved image.
Are you sure you wish to continue (Y/N) ?Y
Loading Database Image...
 100% complete
Load complete in 00 hrs 00 mins 01 secs
Image Load completed.
Hit <return> to exit...

See Also

realload host command, IMG.LOAD, SAVE-IMAGE, realdump host command.