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:
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 processedTo cause a file to be archived:
$ ASAVE CBAY.FORTo 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.