

	    INSTALLATION INSTRUCTIONS FOR ARCHIVE/UNARCHIVE FILES

    If you have not done so previously, you will need to make a directory
    under '/' called 'unarchive' that is owned by root and has read/write
    permissions for root and read permissions for group and others.  In
    addition, you will need to make a directory under '/usr/tools' called
    'archive' which will contain all the programs used in the archive/
    unarchive programs when they are tarred from tape to your hard disk.
    This directory will have the same ownership and permissions as the
    /unarchive directory previously mentioned. 

    If you have not archived files before, you will also need to make
    a file under /usr/adm called 'archtable'. The instructions for 
    making these directories and setting the permissions on them 
    follows:

    1.  Making /unarchive directory:

	Login to your system as root and enter the following commands.

		# cd /
		# mkdir unarchive
		# chmod 644 unarchive
		# chown root unarchive
		# chgrp root unarchive

    2.  Making the archtable file under /usr/adm:

	Do this step only if you have not archived files previously otherwise
	go to step 3.

		# cd /usr/adm
		# > /usr/adm/archtable
		# chmod 0664 archtable
		# chown root archtable
		# chgrp root archtable

    3.  Making archsrc directory under /usr/tools and copying archive
	programs into this directory:

	Remain logged on as 'root' and enter the following commands:

	    If the /usr/tools directory does not exist:
		#mkdir /usr/tools
	    then:
		# cd /usr/tools
		# mkdir archsrc
		# cd archsrc
		# tar xvf /dev/rmt0

    4.  Installing the programs:

	Remain logged on as 'root'.  Check to see that you are still in
	/usr/tools/archsrc. Determine what version of UNIX you are running
	on your system.  These programs have been written to run on various
	versions of BSD4, SYSTEMV and XENIX.

	If you are running on a version of BSD4.x , enter:

		# make bsd

				-2-


	If you are running on a version of SYSTEM V, enter:

		# make sys5

	If you are running SYSTEM V on a Sperry 5000/80, enter:

		# make sperry

	If you are running SYSTEM V on a Plexus P60, enter:

		#make p60

	If you are running on a version of XENIX, enter:

	    # make xenix

    5.  Edit the crontab file.

	If you are running on a version of BSD4.x or XENIX, add the following 
	lines to the /usr/lib/crontab file.

	30  1,3,5,7,9,11,13,15,17,19,21,23  *  *  1-5   /etc/unarch.ck
	35      23          *         *           1-5   /etc/ck.disk

	If you are running on a version of SYSTEM V, add the following lines
	to the /usr/spool/cron/crontabs/adm file.

	30  1,3,5,7,9,11,13,15,17,19,21,23  *  *  1-5   /etc/unarch.ck
	35      23          *         *           1-5   /etc/ck.disk

    6.  Run the mk.sysadm program.

	You must be root to execute this program.  It stores the login id of
	whoever you name as system administrator.  To execute this, enter:
	
	    # /etc/mk.sysadm 

	This program will then prompt you for the login id.

    7. (OPTIONAL) If you have used a previous version of the archive/unarchive
	programs, you must execute this step.  If this is the first time that
	you have installed the archive/unarchive programs, skip this step. 
	This step will edit the /usr/adm/archtable file to insert an additional
	retention flags field.  To execute this, enter:

	    # /etc/table.edit

	The previous format of the archtable is:

	    volid   date-archived  full-pathname-of-files

	The new format of the archtable (after table.edit is run) will be:

	    volid  retention-flag  date-archived  full-pathname-of-files

	Next you will have to convert the date field of the archtable file
	from the old format DD-MMM-YYYY to the new format YYMMDD.  To perform
	this conversion you must run the convert program on your archtable.
	To execute this, enter:

	    # /usr/tools/ymd -f /usr/adm/archtable
