• Keine Ergebnisse gefunden

FILE SAVE PROCEDURES

Im Dokument File virtual File (Seite 114-118)

PROCEDURES TO BACKUP AND RESTORE THE SYSTEM

3.3 FILE SAVE PROCEDURES

The Ultimate system provides several ways of performing a complete file save of your entire disk data base. You may select the File Save option from the SYSPROG Main Menu, or use the FILE-SAVE system command (from the SYSPROG account), or log onto a special FILE-SAVE account.

Remember that a file save tape contains only the FILES

section of the disk. It does not contain the system software.

File Saving from the SYSPROG Account

File saving should only be performed by responsible system personnel. Therefore, i t is recommended that users execute file saves from the SYSPROG account only.

From the SYSPROG account, file saves may be performed by:

1. Selecting the File Save option from the Main Menu.

2. From TCL, entering a FILE-SAVE command.

File Saving from the FILE-SAVE Account

You may logon to a special FILE-SAVE account. The FILE-SAVE logon proc is a Q-pointer to the SYSPROG account's FILE-SAVE proc, and the File Save procedure is automatically invoked.

The File Save Procedure

The file save operation requires a tape (or removable CMD cartridge) to be mounted and ready to receive the files. If the tape is not ready, the system displays:

Tape unit off-line

Ensure that the File-Save tape is mounted with a write (enable) Ring, and the Tape drive is ON-LINE and at LOAD point. Hit 'RETURN' to continue.

If a write-protected tape is mounted, the system displays:

No write-ring (C)ontinue/(Q)uit?

Either mount a tape with a write ring and enter

'c'

to continue, or enter 'Q' to exit the command. A 'Q' reply causes the system to prompt:

Place Write (enable) Ring on File-Save tape and try again. Hit 'RETURN' to continue.

Once a write~enabled

operation can begin.

user presses <CR> to level.

System Management

tape is loaded and ready, the File Save If the tape is still off-line when the continue, the system returns to the TCL

Page 113 Backup/Restore

Figure A shows a sample of the messages generated by the File Save procedure. When i t has finished i t will rewind the tape and log itself OFF. Operator intervention is required only if the data to be saved exceeds one tape reel. File Saves create a complete backup of the FILES section in your disk data base (except accounts or files set up to not be saved

-"DX" files, and those requiring a special parameter - V or W - in the SAVE command).

The File Save procedure normally creates a list on the

terminal of the files i t finds as i t saves the data base. It will output error messages if i t encounters unusual or

illegal conditions but i t will attempt to continue to save data. If the terminal you run the save on is not a hard copy terminal, you may want to send the listing to your printer.

If the following options are not specified in the FILE-SAVE command, the system prompts for them:

Do you want the Console listing to go to the printer?

reply 'Y' to do so. To display the listing, reply 'N'. To exit FILE-SAVE, reply 'X'.

Enter tape block size (5008192)

-The File Save generates statistics about the saved data as a by-product. To receive a printed report, at the prompt:

Do you want to generate File statistics? (Y/N/X) reply 'Y'. To ignore the report, reply 'N'. To exit FILE-SAVE, reply 'X'.

NOTE: The FILE-SAVE command is a proc that performs a full file save, using a form of the SAVE verb:

SAVE(D,F,G,R,S,T). The SAVE and FILE-SAVE commands are detailed in the System Commands Guide.

In order to save accounts and files with the 'V' File Save option, or not save accounts and files with the

'w'

File Save option, users must execute the appropriate SAVE command (or your own user-created PROC) at the TCL level.

Note that the 'R' option resets flags that have been set by update Save procedures.

Update Saves are file saves of only the updated files in the data base. See section 3.4, UPDATE SAVE PROCEDURES, for an explanation of these procedures.

System Management Page 114 Backup/Restore

3.3.1 FILE SAVING FOR MULTIPLE TAPE REELS OR DISKS

For systems with multiple tapes or removable disk cartridges, a series of prompts are associated with handling the

additional tapes/disks.

Multiple Reel Tape Procedures

When a tape reel reaches the end-of-tape (EOT) marker, the tape is automatically rewound, and a prompt message is displayed on the terminal:

Mount reel # xx:

Label

=

name time date

where 'xx' is the two-digit hexadecimal reel number. 'Name' is the tape label. If unlabeled tapes are being used, the second line is not displayed. After the tape is mounted, loaded and ready, enter

'c'

to continue the File Save.

All file save tapes are labeled. The reel number and tape label are checked for agreement with the number and label of the previous reel. If an error is detected, one of these messages will be displayed:

Incorrect Reel # Incorrect Label Reel #1 was labeled

If the reel # message is displayed, the new reel number does not match the requested reel number (or the first tape

mounted is not reel #1). Mount the correct reel and enter , C' •

If the second message is displayed, the first tape was

unlabeled and the second was labeled. Mount the correct tape and enter

Ie'.

If the third message is displayed, the first tape was labeled and the second was unlabeled. Mount the correct tape and enter

'ct.

Disk Cartridge Procedures

The disk cartridge procedures and messages are the same as the multiple reel tape procedures, above.

System Management Page 115 Backup/Restore

Tape attached Block size: 4000 Rewinding ••.

Block size: 4000 End of file

Block size: 4000 Rewinding ...

Block size: 4000

File-Save beginning at 14:37:18 10 FEB 1986

Do you want the Console listing to go to the Printer? (Y/N/X) Do you want to generate File statistics? (Y/N/X)

Enter tape label

-Seq# of this data tape: 1

*

1 SYSTEM

1 2 SYSTEM-ERRORS

1 3 SYSTEM-ERRORS

1 4 SYSTEM-ERRORS

1 5 BLOCK-CONVERT

1 70

Ace

STAT-FILE being dumped to tape 70 items dumped

Rewinding •.•

1

o

File Save finished at 14:14:30 10 FEB 1986 File statistics Report

To Lineprinter? (Y/N/X) Y Detail Suppress «Y/N/X) N

Now generating statistics report

Count of system errors in past 2 days To Lineprinter (Y/N/X) - Y

o

«Connect time

=

72 mini CPU: 1389 lptr pages

=

2 »

«Logged off at 14:44:59 on 10 FEB 1986 » 10 FEB 1986 14:45:00 Logon please:

Figure A. Sample File Save Messages

System Management Page 116 Backup/Restore

Im Dokument File virtual File (Seite 114-118)