A partial backup copies parts of the data area and stores them on tape. There are two types of partial backup:
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.
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:
If performing the save to physical tape, load a tape in the tape drive. Be sure the tape or diskette is write-enabled.
T-SELECT the appropriate logical tape unit and press ENTER.
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.
Type T-ONLINE and press ENTER again.
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.
On the system console, log on to the INCR-SAVE account by typing at the TCL prompt:
LOGTO INCR-SAVE |
If the PASSWORD prompt appears, type the password. It will not appear on the screen. Messages similar to the following display:
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? |
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:
DO YOU WANT A FILE STATISTICS REPORT? |
Type Y to send the File Statistics Report to the printer. For more information, see The File Statistics Report.
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. |
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.
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 |
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.
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 # |
Load the next tape, then type C to continue.
If you requested a filesave verification in Step 10, these messages display:
* FILE-SAVE VERIFICATION * MOUNT REEL #1 THEN PRESS <ENTER>> |
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.
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.
When the INCR-SAVE Proc has finished, it logs itself off and the logon prompt displays:
Logon Please: |
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:
On the system console, log on to the SYSPROG account by typing at the TCL prompt:
If the PASSWORD prompt appears, type the password. It does not appear on the screen.
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.
T-SELECT the appropriate logical tape unit and press ENTER.
Type T-ONLINE and press ENTER again.
At the TCL prompt, type:
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? |
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:
FILE-SAVE LABEL = |
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.
When the account-save has finished, a message displays and control returns to TCL.
Unload the tape from the drive.
See Also