Partial Backup Procedures

A partial backup copies parts of the data area and stores them on tape. There are two types of partial backup:

  1. Incremental backups. Using the INCR-SAVE Proc, the user can save all changes made to the data area since the last full backup or filesave.

  2. Account-saves. Using the ACCOUNT-SAVE Proc, the user can save all the files belonging to one or more accounts.

Backing Up Recent Changes

Backups made with the incremental backup Procs are cumulative: that is, the tapes they produce contain all groups updated since the last full backup, no matter how many incremental backups may have been done in the meantime. Thus the most recent incremental backup tape contains the most data.

The following procedure describes how to use the INCR-SAVE Proc. Use this procedure to back up all changes made to the data area since the last full file-save:

  1. If performing the save to physical tape, load a tape in the tape drive. Be sure the tape or diskette is write-enabled.

  2. T-SELECT the appropriate logical tape unit and press ENTER.

  3. If performing the save to a virtual tape file, perform a SET-TAPEFILE if the virtual tape file is not already mapped to the selected logical tape unit.

  4. Type T-ONLINE and press ENTER again.

  5. Ensure that all users are logged off, then use the MAXUSERS command to set the number of users who can log on to 1. This prevents users from logging on while the incremental filesave is in process.

  6. On the system console, log on to the INCR-SAVE account by typing at the TCL prompt:

  7. LOGTO INCR-SAVE

  8. If the PASSWORD prompt appears, type the password. It will not appear on the screen. Messages similar to the following display:

  9. DEVICE ATTACHED BLOCK SIZE: nnnnn

    BLOCK SIZE: nnnnn

    [6004] TAPE ON LINE

    BLOCK SIZE: nnnnn

    INCREMENTAL FILE SAVE BEGINNING AT

    hh:mm:ss dd mmm yyyy

    CONSOLE LISTING TO PRINTER?

  10. Type N for a list of account-names and file names to be displayed on the system console as they are saved. Type Y for a printed list. This prompt then displays:

  11. DO YOU WANT A FILE STATISTICS REPORT?

  12. Type Y to send the File Statistics Report to the printer. For more information, see The File Statistics Report.

  13. Type N if you don’t want to print the report. File statistics are recorded in the STAT-FILE file, which you can list using the LIST-FILE-STATS command. This prompt then displays:

    DO YOU WANT TO DO A FILE-SAVE VERIFICATION?

       

    NOTE

    Rocket highly recommends doing a filesave verification.

  14. Type Y to verify the backup medium (that is, make sure it is valid, having no parity or data errors). A list of what was saved displays after the incremental filesave is finished.

  15. Type N if you do not want to perform the verify.

    The system now checks the backup medium and the drive to make sure the recording process is working. Messages similar to the following display while the test is run:

    FILE SAVE DEVICE AND MEDIA CHECK

    WRITE 20 RECORDS AND EOF

    REWIND AND READ 20 RECORDS

    If the following message appears, either the tape is damaged or the drive is not working properly:

    RECORD nn DOES NOT EQUAL WRITTEN RECORD

    nnn BYTES OUT OF nnn DO NOT MATCH

    FIRST BAD BYTE IS AT POSITION nnnn

    BAD BYTE = xx;  WRITTEN BYTE = xx

  16. Unload the tape, reload it, and start the INCR-SAVE Proc over again, beginning at Step 3. If this doesn’t work, try again with a different tape. If it doesn’t work with any tape, call your system supplier. If the INCR-SAVE Proc works with the second tape, it means the first tape is bad and should be discarded.

  17. If the test is successful, the following message displays and the incremental filesave begins:

    NO ERRORS

    Accounts and files are listed on the screen as they are saved.

    If the system reaches the end of the tape before the incremental filesave is finished, a prompt similar to the following displays:

    LOAD REEL # 02 ON LTU# 01

    LABEL 01 dd mmm yyyy filename      #

  18. Load the next tape, then type C to continue.

  19. If you requested a filesave verification in Step 10, these messages display:

    * FILE-SAVE VERIFICATION *

    MOUNT REEL #1 THEN PRESS <ENTER>>

  20. Reload the first reel of the incremental filesave and press ENTER. All accounts and files present on the incremental filesave tape are listed on the screen.

  21. Repeat this step for the remaining tapes in the incremental filesave, unload the previous tape and load the next tape until all of the remaining tapes have been loaded.

  22. When the INCR-SAVE Proc has finished, it logs itself off and the logon prompt displays:

    Logon Please:

  23. Unload the tape from the tape drive, logon and reset the maximum number of users who may log on (MAXUSERS). The system is now ready for use.

Backing Up an Account

The following procedure describes how to use the ACCOUNT-SAVE Proc. Use this procedure to back up the entire contents of a single account:

  1. On the system console, log on to the SYSPROG account by typing at the TCL prompt:

  2. If the PASSWORD prompt appears, type the password. It does not appear on the screen.

  3. Load a tape in the tape drive, or load a diskette in the diskette drive. In either case, be sure the tape or diskette is write-enabled.

  4. T-SELECT the appropriate logical tape unit and press ENTER.

  5. Type T-ONLINE and press ENTER again.

  6. At the TCL prompt, type:

  7. If ACCOUNT-SAVE is entered without an account name following it, you will be prompted to enter the name of the accounts(s) you want to save:

    ACCOUNT NAME?

  8. Type the name(s) of the account(s) to be saved, delimiting multiple account names with spaces. The account name must match the account name on the system exactly; do not use a synonym for the account (that is, a Q-pointer). This prompt then displays:

  9. FILE-SAVE LABEL =

  10. Type the tape label, if desired; up to 42 characters can be entered. If you do not want to label the tape or diskette, press ENTER.

  11. When the account-save has finished, a message displays and control returns to TCL.

  12. Unload the tape from the drive.

See Also

Backing Up Files

Backup and Why It Is Important

Types of Backup

Backup Strategies

Full Backup Procedures

Selective Backups

The File Statistics Report