next up previous contents index
Next: Related Documents Up: Accessing TFTR Data on Previous: Directories for Applications

Management of the User Disks

User disks are for source, procedures, text, executables, etc. Each user is given a quota on one of these disks. Most files are archived . Occasionally multiple versions that are more than two months old are purged.

A logical name is defined that allows access to that user's top level directory. All users should reference directories by these logical names. For example, use REAL$:[CUPLOT] instead of RX1:[REAL.CUPLOT] or SCOTT$:[000000] instead of RX1:[SCOTT] for the top level directory. Note the $ in the logical name. Since users are occasionally moved from one user disk to another, procedures will continue to work after the move if the logical names are used.

At regular intervals (currently once a month), operations runs a procedure that uses the ARCHIVER program to archive your files. The files that get archived include the highest version of each file in your entire directory structure, excluding directory files and ``temporary'' files, that meet either of the following conditions:

  1. The file has not been previously archived by this system, or
  2. The file has been modified since it was last archived by this system.
(A ``temporary'' file is defined to be a file with any of the following extensions: .TMP, .TEM, .OBJ, .MAP, .LIS, or .LOG). Once a file has been archived by this system, it is given an access control list (ACL) entry with an identifier of SYS$ARCHIVED. You can use this access control entry (ACE) to tell if a given file has been archived for you.

In addition to the regular archiving that is done for you by operations, you can force a file to be archived and given the SYS$ARCHIVED ACE by using the command ASAVE . To retrieve files archived by this system, you should use the command ARECOVER . The ARECOVER command can also be used to get a directory of what files have been archived and when they were archived. The ASAVE and ARECOVER commands run procedures that were written at PPPL to provide you with an easy interface to ARCHIVER. On startup ARECOVER accesses the most recent ARCHIVER index, which has information about all files saved since the last index split. If the file was saved before the start date for the present index, ARECOVER will fail to find it in the default index but will give you the option to search an older index.

To list files that have been archived, with the option to restore a file:

$ ARECOVER CBAY.FOR
ARC_RECOVER - Procedure To Recover Archived User Files
-- Archive V1.8 Brief listing of archived files for THOMPSON
71774.ARQ on 11-JUL-1989 20:21  HX2:[THOMPSON.RGA]CBAY.FOR;158
88546.ARQ on 15-AUG-1989 00:59  HX2:[THOMPSON.RGA]CBAY.FOR;161

SEQUENCE NUMBER(S) of file(s) to be restored (* for all): 88546
Enter directory for file restore [[THOMPSON.RGA]]:   <RETURN>
%ARC_RECOVER-I-FILPRO HX2:[THOMPSON.RGA]CBAY.FOR;161 processed
To cause a file to be archived:
$ ASAVE CBAY.FOR
To see if files on the disk have been archived:
$ DIR/ACL/DATE CBAY.FOR

CBAY.FOR;161         21-JUL-1989 12:50:24.60
          (IDENTIFIER=SYS$ARCHIVED,...)
CBAY.FOR;160         21-JUL-1989 02:04:36.62
CBAY.FOR;158         21-JUN-1989 09:48:56.56
          (IDENTIFIER=SYS$ARCHIVED,...)

For more information on the archiving and retrieving of user files, type $ HELP @PPL ARCHIVE. Report any problems using this system by sending MAIL to GRIPE.


next up previous contents index
Next: Related Documents Up: Accessing TFTR Data on Previous: Directories for Applications

Marilee Thompson
Fri Jul 11 11:22:04 EDT 1997