[noel@bkbox.com: Re: [OpenAFS] afs backups]
Dan Pritts
danno@internet2.edu
Mon, 14 Jul 2003 17:06:36 -0400
i suspect noel meant to reply to all...
thanks!
danno
----- Forwarded message from Noel Burton-Krahn <noel@bkbox.com> -----
Date: Mon, 14 Jul 2003 10:41:54 -0700
From: "Noel Burton-Krahn" <noel@bkbox.com>
To: "Dan Pritts" <danno@internet2.edu>
Subject: Re: [OpenAFS] afs backups
X-Spam-Status: No, hits=-22.9 required=5.0
tests=AWL,BAYES_01,ORIGINAL_MESSAGE,QUOTED_EMAIL_TEXT,REFERENCES
autolearn=ham version=2.53
X-Spam-Level:
Yes, you can use wildcards. I do this every night:
vos backupsys -prefix home. -localauth -server 127.0.0.1
That creates .backup volumes, then you have to mount the volumes to give
users access. Here's my whole nightly backup script
#! /bin/sh
# afs-backup - nightly backup script
#
# Noel Burton-Krahn <noel@bkbox.com>
# Jul 14, 2003
#
# back up all home.* volumes
vos backupsys -prefix home. -localauth -server 127.0.0.1
# list all backup volumes and make mount points for them
release=''
vos listvol 127.0.0.1 |
sed -n -e 's/^home.\(.*\).backup.*$/\1/p'
| while read login; do
backup=/afs/YOUR.AFS.CELL/backup/home/$login
[ -e $backup ] && continue
fs mkmount $backup home.$login.backup
release=1
done
if [ "$release" ]; then
vos release root.cell
fi
----- Original Message -----
From: "Dan Pritts" <danno@internet2.edu>
To: "Ron Croonenberg" <ronc@DEPAUW.EDU>
Cc: <openafs-info@openafs.org>
Sent: Monday, July 14, 2003 10:05 AM
Subject: Re: [OpenAFS] afs backups
> Hi,
>
> Sending replies to the list instead of individuals will ensure that
> the traffic is saved for posterity, and give others a chance to chime in.
>
> On Fri, Jul 11, 2003 at 02:13:36PM +0000, Ron Croonenberg wrote:
> > Hi Dan,
> >
> > Thanks for your quick response.
> >
> > Can I use any wildcards ? I mean can I use the "vos backup" with a
wildcard to
> > create backup volumes of all volumes that exist currently ?
> > (You told me it creates the .backup volumes, does it "overwrite"
existing backup
> > volumes ?)
> >
> > if this wildcard thing exists works for "vos backup" then it probably
works for
> > "vos dump" too ?
>
> I don't think you can use any wildcards. You can, however, use "vos
> listvldb" to list all the volumes in your cell, and use this to generate
> a list of volumes to back up.
>
> there are probably scripts out there to do this but i don't have one
> to offer.
>
> > I don't want to bother you too much, but it seems what I want is :
> > [1] create a backup volume of all volumes with "vos backup
> > [2] use "vos dump" to create a file that holds all the backup volumes
> > [3] when I do a tape backup I include the created file.
> >
> > I know how to do [3]
>
> each vos dump of a volume creates an individual file, but other than
> that you have the idea.
>
> >
> > Sorry for asking you these questions, but the person previously doing
"ran away
> > without notification nor documentation etc and I am not that familiar
with AFS.
>
> You should read the afs administrator's guide, which is
> available at:
> http://www.openafs.org/doc/index.htm
>
> > thanks for any hints you have,
>
> the command line help for vos, pts, and fs are reasonably good.
> It won't teach you concepts but it will help you poke around.
>
> vos help
> fs help
> pts help
>
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>
----- End forwarded message -----
danno
--
dan pritts danno@internet2.edu
systems administrator 734/352-4953 office
internet2 734/834-7224 mobile