Next: , Previous: , Up: Backing up the Mail Directory   [Contents][Index]


10.5.1 Andrew File System

If the user choses to use AFS, he should get copies of Getting Started with the Andrew File System and Protecting AFS files and directories. To use AFS, send mail to Gripe requesting an account. When Gripe replies with a password, change it to be the same as the account’s password on the workstation. This causes the user to be authenticated into AFS when he logs into his workstation (that is, he is automatically logged into his AFS account). To change the password, first log into the AFS account:

log <AFS userid>

Then issue the vpasswd command.

All of the example command lines in this section assume the user has /usr/misc/bin on his Unix shell PATH environment variable.

10.5.1.1 Copy into AFS:

Make an AFS directory to copy into:

mkdir /afs/cs.cmu.edu/user/<AFS userid>/mail-backup

This will be readable by everyone, so protect it with the following:

fs sa /afs/cs.cmu.edu/user/<AFSuserid>/mail-backup System:AnyUser none

Once the AFS account and directory to backup into have been established, the user needs a means to recursively copy his mail directory updating only those file that have changed and deleting those that no longer exist. To do this, issue the following command:

copy -2 -v -R <mail directory> <AFS backup directory>

Do not terminate either of these directory specifications with a /. The -v switch causes copy to output a line for copy and deletion, so this may be eliminated if the user desires.

10.5.1.2 Mail Directory Lives in AFS:

Assuming the AFS account has been established, and the user has followed the directions in setting-up, now make an AFS directory to serve as the mail directory:

mkdir /afs/cs.cmu.edu/user/<AFS userid>/Mail

This will be readable by everyone, so protect it with the following:

fs sa /afs/cs.cmu.edu/user/<AFSuserid>/Mail System:AnyUser none

Tell MH where the mail directory is by modifying the profile’s ".mh_profile" (see section setting-up) Path: component (see Profile):

Path: /afs/cs.cmu.edu/user/<AFS userid>/Mail

Next: Sup to a Mainframe, Previous: Backing up the Mail Directory, Up: Backing up the Mail Directory   [Contents][Index]