Note that by using tar (or similar non-AFS-aware utilities) you lose
volume information as well. Is there a particular reason not to use
backup/butc? I'd hate to try and restore using your solution. :-]
-brian
On Thu, 25 Jul 1996, Garrett D'Amore wrote:
> Oh, one minor point. I meant, why not use backup and butc? But if you
> want to save ACLs and use tar anyway, you could use some simple scripts.
> My scripts don't have anything to do with butc or the AFS backup system...
>
> -- Garrett
>
> On Thu, 25 Jul 1996 15:57:11 -0700 "Garrett D'Amore" wrote:
>
> > This is a multipart MIME message.
> >
> > --===_0_Thu_Jul_25_15:54:41_PDT_1996
> > Content-Type: text/plain; charset=us-ascii
> >
> > On Thu, 25 Jul 1996 16:13:40 -0400 Tom Nguyen wrote:
> >
> > > Hi all,
> > >
> > > Do you know if there is a way to backup only ACL under afs ?
> > > I'm thinking of backup afs files by using Unix tar. Later, if
> > > we need to restore files, we'll use tar and then restore ACL.
> > >
> > > Tom N.
> > >
> >
> > Why not just use vos backupsys and butc? I am sure that you could write
> > a couple of scripts to do this easily enough. Here are two samples. I just
> > wrote. They seem to be correct, but I've not tested them in production --
> > so use with CAUTION -- check them first on unimportant volumes. The backup
> > script is bourne shell and uses find. The restore is in perl (because it
> > needs a little more parsing saavy.) The beauty of it is that the saved
> > backup file is a simple ASCII file that you can read yourself.
> >
> > NOTE: These scripts do not attempt to create groups and/or users if they
> > don't exist. And they do no serious error checking. And they can get caught
> > in an infinite loop if you have circular mounts in AFS space. (E.g. vol
> > A is mounted in vol B, and vol B is mounted in vol A.) I consider these
> > scripts informational only, and assume no responsibility for however you
> > decide to use them!
> >
> > -- Garrett D'Amore
> > UNIX System Administration Team
> > QUALCOMM Incorporated
> > [EMAIL PROTECTED]
> >
> >
>
> --
> Garrett D'Amore <mailto:[EMAIL PROTECTED]>
> UNIX System Administration Team <http://www.qualcomm.com/~garrett/>
> QUALCOMM Incorporated
>
>
--
Brian W. Spolarich - ANS CO+RE Systems - [EMAIL PROTECTED] - (313)677-7311
Life is what happens while you're making other plans.