tcl.:files

Verb: Access/TCL, Releases: R83 2.2 and AP 6.1

Restores entire file system from 'file-save' media.

Syntax

:files {(options}

Description

initiates a full restore as an alternative to reloading from the 'options' prompt.

The proper media type must be indicated with the appropriate 'set-' command prior to using this command.

First, the system goes into single user mode as if 'maxusers (s' was entered. Then, each line is wrapped up as if a 'shutdown' command was entered. All workspace is released and the overflow table is cleared. The user is prompted for reallocation.

Do you wish to disable file reallocation (y/<n>)?:

This question can be bypassed by using either ':files (n' or ':files (r'.

Then, you are prompted to insert the media.

Load reel #1 and press return:

This prompt can be bypassed by using ':files (l'.

Options

l Skip the 'Load reel #1 and press return' message.
n Skip the 'Do you wish to disable file reallocation' message answering 'yes' so that files are NOT resized.
r Skip 'Do you wish to disable file reallocation' message answering 'no' so that files are resized.
z Skip Incremental and Transaction log prompts answering 'n' to each which allows generating indexes to automatically take place.

Example

set-sct
block size: 16384
:files (nlz

All data will be lost, continue (y/n):

Wrapping up process on line 1
Wrapping up process on line 2
Wrapping up process on line 3

Building overflow list....
Diagnostics.. sucessfully completed
Block size: 16384
1 mds
1 mds > dm
1 mds > devices
1 mds > devices > devices

Generating indexes for 'dm > devices > devices'

14:51:32 10 Oct 1993
Starting Background Processes...

Notice in the above example, the options chosen allow the bypassing of all
prompts except the first one.

See Also

Command Name Type Description
tcl.maxusers Verb: Access Displays/sets maximum number of Pick users.
reallocation Attribute Defining Item References attribute 13 of the current item.
tcl.set-8mm Verb: Access Selects/attaches 8mm cartridge.
tcl.set-floppy Verb: Access Attaches floppy diskette drive to current process.
tcl.set-half Verb: Access Attaches half-inch tape drive to current process.
tcl.set-sct Verb: Access Attaches streaming cartridge tape to current process.
tcl.set-device Verb: Access Attaches device (sct/floppy/half) on AIX.
tcl.set-tape-type Verb: Access Indicates type of half-inch tape drive.
tcl.set-sct-dma Verb: Access Sets dma channel for sct.
TCL.SHUTDOWN Verb: Access Invokes orderly system shutdown procedure.
tcl.t-verify Verb: Access Validates contents of save tape.
ue.20d7 User Exit Initiates a restore of the entire file system.
restore Definition

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.