Document revision date: 15 July 2002
[Compaq] [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]
[OpenVMS documentation]

OpenVMS System Manager's Manual


Previous Contents Index

11.17.2.2 Booting Standalone BACKUP from a Disk (VAX Only)

To boot standalone BACKUP from a disk, perform the following steps:

  1. If the operating system is not running, go to step 2.
    If the operating system is running, log in to the SYSTEM account. Enter the following command and press Return:


    $ @SYS$SYSTEM:SHUTDOWN
    

    Answer the questions. When the procedure asks if an automatic system boot should be performed, press Return for NO. When the procedure is finished, it displays the following message:


    SYSTEM SHUTDOWN COMPLETE -- USE CONSOLE TO HALT SYSTEM
    

  2. Halt the system.
  3. Boot standalone BACKUP from the root where the kit is located. The exact commands for booting standalone BACKUP differ among the various computer models. Refer to the upgrade and installation supplement for your computer for booting information.
    For example, to boot a MicroVAX 3100 computer, use the following format:


    >>> B/n0000000 device-name
    

    where:


    For example, if the disk has a device name of DKA400:, and the standalone BACKUP kit was created in the [SYSE] directory, enter the following command:


    >>> B/E0000000 DKA400
    

    For more information about device names, see Section 8.1.

  4. Standalone BACKUP displays the following message:


    OpenVMS VAX Version Vn.n Major version id = 01 Minor version id = 00 
    

  5. The procedure asks you for the date and time. Enter the date and time using the 24-hour clock format and press Return. For example:


    PLEASE ENTER DATE AND TIME (DD-MMM-YYYY HH:MM) 19-JAN-2000 15:00
    

  6. The procedure displays a list of the local devices on your system. For example:


    Available device MKA500:     device type TK50 
    Available device DKA100:     device type RRD40 
       . 
       . 
       . 
    

    Check the list of devices. If the list is incomplete, make sure that all the drives are properly connected to the system. Refer to your hardware manuals for details.

  7. When standalone BACKUP finishes booting, it displays an identification message followed by the dollar sign prompt ($):


    %BACKUP-I-IDENT, Standalone BACKUP Vn.n; the date is 19-APR-2000 15:00 
    $ 
    

    To make a backup copy of the system disk, see Section 11.17.3.
    To restore the system disk, see Section 11.17.4.

11.17.2.3 Building Standalone BACKUP on a Tape Cartridge (VAX Only)

On VAX systems with a tape cartridge distribution kit, the tape cartridge that came with your distribution kit contains standalone BACKUP. Use the procedure in this section if your copy of standalone BACKUP becomes damaged or if you want to make extra copies.

How to Perform This Task

To build standalone BACKUP on a tape cartridge, perform the following steps:

  1. Obtain a blank, initialized tape cartridge. Write the name S/A BKUP V7.3 on the paper label. Insert the label into the label slot.
  2. Write-enable the tape cartridge by sliding the write-protect switch away from the label slot.
  3. Insert the tape cartridge labeled S/A BKUP V7.3 into the drive.
  4. Log in to the SYSTEM account.
  5. Enter the following command:


    $ @SYS$UPDATE:STABACKIT
    

  6. The procedure asks you for the name of the target device. Enter the device name of the tape cartridge drive you are using to build standalone BACKUP. For example:


    Enter the name of the device on which to build the kit: MUA0
    

  7. The procedure displays the following message:


    Please place the scratch tape cartridge in drive _MUA0: 
    This volume will receive the volume label SYSTEM. 
     
    Enter "YES" when ready: 
    

  8. When you are ready to continue, enter YES.
  9. The system displays verification messages informing you that files are being copied.
  10. When standalone BACKUP is built, the procedure displays a message similar to the following one:


    Ending time   19-MAY-2000 16:44:29.90 
    Starting time 19-MAY-2000 16:30:39.05       
     
    The Kit is complete. 
             
     
    $ 
    

  11. Remove the tape cartridge labeled S/A BKUP V7.3 from the tape cartridge drive.
  12. Write-protect the tape cartridge by sliding the write-protect switch toward the label slot. Store the cartridge in a safe place.

11.17.2.4 Booting Standalone BACKUP from a Tape Cartridge (VAX Only)

If the disk containing standalone BACKUP becomes unusable (for example, if the drive fails), you can boot standalone BACKUP from a tape cartridge. Booting standalone BACKUP from a tape cartridge takes approximately 20 minutes.

How to Perform This Task

To boot standalone BACKUP from a tape cartridge, use the following procedure:

  1. If the operating system is not running, see step 2.
    If the operating system is running, log in to the SYSTEM account. Enter the following command and press Return:


    $ @SYS$SYSTEM:SHUTDOWN
    

    Answer the questions. When the procedure asks if an automatic system boot should be performed, press Return for NO. When the procedure is finished, it displays the following message:


    SYSTEM SHUTDOWN COMPLETE -- USE CONSOLE TO HALT SYSTEM
    

  2. Halt the system.
  3. Insert the tape cartridge that contains standalone BACKUP into the tape cartridge drive.
  4. To boot standalone BACKUP, enter the BOOT command followed by the device name of the tape cartridge drive that contains standalone BACKUP. For example:


    >>> BOOT MUA0
    

  5. Standalone BACKUP displays the following message:


    OpenVMS VAX Version V7.3 Major version id = 3 Minor version id = 0 
    

  6. The procedure might ask you for the date and time. Enter the date and time using the 24-hour clock format and press Return. For example:


    PLEASE ENTER DATE AND TIME (DD-MMM-YYYY HH:MM) 19-MAY-2000 15:00
    

  7. The procedure displays a list of the local devices on your system and, if you have them, HSC and MSCP-served devices. For example:


    Available device DUA0:             device type Generic_DU 
    Available device MUA0:             device type TK50 
    

  8. When standalone BACKUP finishes booting, it displays an identification message followed by the dollar sign prompt ($):


    %BACKUP-I-IDENT, standalone BACKUP V7.3; the date is 19-MAY-2000 15:50 
    $                                                                
    

  9. Remove the tape cartridge containing standalone BACKUP from the tape cartridge drive.
    To make a backup copy of the system disk, see Section 11.17.3.
    To restore the system disk, see Section 11.17.4.

11.17.3 Backing Up the System Disk to Tape

When backing up your system disk, you must understand the functions of the /IMAGE and /PHYSICAL qualifiers to the BACKUP command before using standalone BACKUP:
Qualifier Function
/IMAGE Lets you create a functionally equivalent copy of the entire system disk. When restored, files from an image backup are placed contiguously on the system disk, eliminating disk fragmentation.
/PHYSICAL Copies, saves, restores, or compares the entire system disk in terms of logical blocks, ignoring any file structure.

For a complete description of the Backup utility qualifiers, refer to the OpenVMS System Management Utilities Reference Manual.

How to Perform This Task

To perform an image backup of the system disk to tape, use the following procedure:

  1. Obtain blank tape cartridges or magnetic tapes that you can use for the backup operation.
  2. Write-enable the tape. To write-enable a tape cartridge, slide the write-protect switch away from the tape cartridge label. To write-enable a tape, insert a write-enable ring in the back of the tape reel.
  3. Insert a tape into the tape drive.
  4. Determine the device name of the system disk you are backing up. (See Section 8.2 for information about determining the names of your devices.) To display the device name of the system disk you are booted from, enter the DCL command SHOW LOGICAL SYS$SYSDEVICE.
  5. Depending on your configuration, either boot standalone BACKUP or start the menu system:
  6. Enter the BACKUP command in the following format:

    BACKUP/IMAGE/VERIFY input-specifier: output-specifier:saveset.BCK/REWIND/LABEL=label


    where:


    For example:


    $ BACKUP/IMAGE/VERIFY DUA1: MUA0:DEC_31_BACKUP.BCK/REWIND/LABEL=WKY101
    

  7. The following message indicates that BACKUP has transferred the files and is verifying the accuracy of the backup copy:


    %BACKUP-I-STARTVERIFY, starting verification pass 
    

  8. If your system disk contains more data than a single tape cartridge or magnetic tape can store, the procedure displays the following messages and prompt:


    %BACKUP-I-RESUME, Resuming operation on volume 2 
    %BACKUP-I-READYWRITE, Mount volume 2 on _MUA0: for writing 
    Enter "YES" when ready. 
    

    If you do not receive these messages, see step 9. If you do receive these messages, perform the following steps:

    1. Remove the backup tape from the drive.
    2. Label it COMPLETE SYSTEM BACKUP and include the date and the number of the tape in the sequence.
    3. Write-protect the backup tape.
    4. Write-enable another scratch tape and insert it into the drive.
    5. When you are ready to continue, enter Y (for YES) and press Return.
    6. The procedure displays the following message, which indicates that it has transferred the files and is verifying the accuracy of the backup copy:


      %BACKUP-I-STARTVERIFY, starting verification pass 
      

      Each time the procedure displays a mount request, follow steps a through e.

  9. If you are using standalone BACKUP, when the backup is finished, the system displays the following message:


    %BACKUP-I-PROCDONE, Operation completed. Processing finished at 19-MAY-2000 
    15:30. If you do not want to perform another standalone BACKUP operation, 
    use the console to halt the system.                       
     
    If you do want to perform another standalone BACKUP operation, 
    ensure the standalone application volume is online and ready.              
    Enter "YES" to continue: 
    

    Continue with step 11.

  10. If you are using the menu system, the DCL prompt appears after the backup is finished. Log out and choose the Shutdown option from the menu.
  11. Remove the backup tape from the drive. Label it COMPLETE SYSTEM BACKUP, number it (if you used more than one cartridge), and include the date.
  12. Write-protect the tape cartridge or magnetic tape.
  13. Halt the system.
  14. Reboot the system.
  15. Store the backup tapes in a safe place.

11.17.4 Restoring the System Disk from Tape

If a problem occurs that renders your system disk unbootable, you can restore the system disk from your backup copy.

How to Perform This Task

To restore the system disk from tape, use the following procedure.

Note

The BACKUP restore operation creates a system disk that includes a set of volume parameters provided by Compaq, including a cluster size (disk access scheme). You can change most volume parameters later with the SET VOLUME command. For cluster-mounted volumes, changes occur to the nodes on which the SET VOLUME command is issued.

To change the cluster size, back up the system disk to a disk that has been previously initialized with the cluster size that you want. For more information about initializing a disk, see Section 9.3. For more information about the BACKUP command qualifiers, refer to the OpenVMS System Management Utilities Reference Manual.

  1. Depending on your configuration, either boot standalone BACKUP or start the menu system:
  2. Determine the device name of the system disk you want to restore. (See Section 8.2 for information about determining the names of your devices.)
  3. Insert the first tape of the complete system disk backup into the drive. Make sure the tape is write-protected.
  4. Enter the BACKUP command in the following format:

    BACKUP/IMAGE/VERIFY input-specifier:saveset.BCK/REWIND output-specifier:


    where:


    For example:


    $ BACKUP/IMAGE/VERIFY MUA0:DEC_31_BACKUP.BCK/REWIND DUA0:
    

  5. The procedure displays the following message:


    %BACKUP-I-STARTVERIFY, starting verification pass 
    

  6. If your system disk contained more data than one tape could store, you receive the following messages and prompt:


    %BACKUP-I-RESUME, Resuming operation on volume 2 
    %BACKUP-I-READYREAD, Mount volume 2 on MUA0: for reading 
    Enter "YES" when ready. 
    

    If you do not receive these messages, see step 7. If you do receive these messages, perform the following steps:

    1. Remove the backup tape from the drive.
    2. Insert the next backup tape into the drive.
    3. When you are ready to continue, enter Y (for YES) and press Return.
    4. The procedure displays the following message:


      %BACKUP-I-STARTVERIFY, starting verification pass 
      

      Each time the procedure displays a mount request, follow steps a through c.

  7. If you are using standalone BACKUP, when the restore is finished the system displays the following message:


    %BACKUP-I-PROCDONE, Operation completed. Processing finished at 19-MAY-2000 
    15:30. If you do not want to perform another standalone BACKUP operation, 
    use the console to halt the system.                       
     
    If you do want to perform another standalone BACKUP operation, 
    ensure the standalone application volume is online and ready.              
    Enter "YES" to continue: 
    

    Continue with step 9.

  8. If you are using the menu system, the DCL prompt appears after the restore is finished. Log out and choose the shutdown option from the menu.
  9. Remove the last backup tape from the drive.
  10. Halt the system.
  11. Reboot the system.
  12. Store the backup tapes in a safe place.

11.17.5 Backing Up the System Disk to a Disk

To eliminate disk fragmentation, perform a disk-to-disk image backup without using the /SAVE_SET qualifier. This creates a functionally equivalent copy of the entire system disk, on which files are stored contiguously.

Note

This procedure initializes the output disk, effectively erasing the files on the disk.

How to Perform This Task

To perform a disk-to-disk image backup, use the following procedure:

  1. Obtain a disk with enough storage capacity to use for the backup. Make sure the disk does not contain files you need, because standalone BACKUP initializes the output disk.
  2. Determine the device name of the system disk you are backing up. (See Section 8.2 for information about determining the names of your devices.) To display the device name of the system disk you are booted from, enter the DCL command SHOW LOGICAL SYS$SYSDEVICE.
  3. Depending on your configuration, either boot standalone BACKUP or start the menu system:
  4. Enter the BACKUP command in the following format:

    BACKUP/IMAGE/VERIFY input-specifier: output-specifier:


    where:


    For example:


    $ BACKUP/IMAGE/VERIFY DUA0: DUA1:
    

  5. BACKUP displays the following message, which indicates that it has transferred the files and is verifying the accuracy of the backup copy:


    %BACKUP-I-STARTVERIFY, starting verification pass 
    

  6. If you are using standalone BACKUP, when the backup is finished the system displays the following message:


    %BACKUP-I-PROCDONE, Operation completed. Processing finished at 19-MAY-2000 
    15:30. If you do not want to perform another standalone BACKUP operation, 
    use the console to halt the system.                       
     
    If you do want to perform another standalone BACKUP operation, 
    ensure the standalone application volume is online and ready.              
    Enter "YES" to continue: 
    

    Continue with step 8.

  7. If you are using the menu system, the DCL prompt appears after the backup is finished. Log out and choose the shutdown option from the menu.
  8. You can use the backup output disk as the system disk. Files are stored contiguously on the output disk, eliminating disk fragmentation.
  9. Store the original system disk.
  10. Halt the system.
  11. Reboot the system using the newly created system disk.

11.17.6 Using InfoServer Tapes to Back Up and Restore System Disks

On VAX systems, you can back up the system disk to an InfoServer tape and restore the system disk from an InfoServer tape.

How to Perform This Task

  1. Boot the system from the SYS1 directory using the current version of the OpenVMS CD-ROM, which can be in a reader on the InfoServer or on a local drive.

    Note

    The boot command you use for your computer depends on the type of system you have. For more information about booting your system, refer to the installation and operations supplement for your computer.
  2. Choose option 1 from the menu system.
  3. At the prompt, you can perform the backup of your system disks.

Example 11-1 shows the procedure for backing up a system disk to an InfoServer tape.

Example 11-1 System Disk Backup to an InfoServer Tape

>>>  B/R5:10000100 ESA0
Bootfile: ISL_SVAX_071
-ESA0 
 Network Initial System Load Function 
 Version 1.1 
 
 
  FUNCTION        FUNCTION 
    ID 
    1     -       Display Menu 
    2     -       Help 
    3     -       Choose Service 
    4     -       Select Options 
    5     -       Stop 
 
 Enter a function ID value: 3
  OPTION          OPTION 
    ID 
    1     -       Find Services 
    2     -       Enter known Service Name 
 
 Enter an Option ID value: 2
Enter a Known Service Name: VMS072
   OpenVMS VAX Version 7.3 Major version id = 3 Minor version id = 0 
 
%SYSINIT-E, error opening page file, status = 0000025C 
%SYSINIT-E, error opening swap file, status = 0000025C 
%SYSINIT, primary PAGEFILE.SYS not found; system initialization continuing 
%SYSINIT, no dump file - error log buffers not saved 
%SYSINIT-E, error mounting system device, status = 00000F64 
$!  Copyright (c) 2000 Compaq Computer Corporation.  All rights reserved. 
$set noverify 
 
 
 
    Copyright © (c) 2000 Compaq Computer Corporation.  All rights reserved. 
 
 
    Installing required known files... 
 
    Configuring devices... 
 
    **************************************************************** 
 
    The menu can be used to execute DCL commands and procedures for 
    various "standalone" tasks, such as backing up the system disk. 
 
    Please choose one of the following: 
 
        1)  Execute DCL commands and procedures 
        2)  Shut down this system 
 
Enter CHOICE or "?" to repeat menu: (1/2/?) 1
    WARNING -- 
 
    The normal VMS startup procedure has not executed. 
    Some commands and utilities will not work as documented. 
 
 
    Enter DCL commands -- Enter "LOGOUT" when done. 
    When you enter "LOGOUT" a logout message will be displayed, 
    and you will be returned to the menu.
 
$$$ MCR ESS$LADCP SHOW SERVICE/TAPE
$$$ MCR ESS$LADCP BIND/WRITE/TAPE TZL04_TAPE
$$$ MOUNT/FOREIGN MADn
$$$ BACKUP/IMAGE DKA100:  MADn:SYS_DISK.BCK/SAVE_SET
.
    .
    .
$$$ LOGOUT
  Process SYSTEM_1 logged out at  2-FEB-2000 23:35:17.52 
 
    **************************************************************** 
 
 
    The menu can be used to execute DCL commands and procedures for 
    various "standalone" tasks, such as backing up the system disk. 
 
    Please choose one of the following: 
 
        1)  Execute DCL commands and procedures 
        2)  Shut down this system 
 
Enter CHOICE or "?" to repeat menu: (1/2/?)


Previous Next Contents Index

  [Go to the documentation home page] [How to order documentation] [Help on this site] [How to contact us]  
  privacy and legal statement  
6017PRO_052.HTML