I ended up writing a script to use the commmand 'vos dump' to dump each AFS volume to a local disk partition, then back up that partition with standard backup utilities. The 'vos dump' command creates a file on the local disk that contains the entire volume, including all of the ACLs. Since you can have links in AFS to the same volume multiple times, it's a lot safer to do volume-based backups rather than walking AFS.
I could get you a copy of my dump script if you're interested; I'd just have to scrub out all of our site-specific information. Brian On Mon, Oct 01, 2007 at 10:14:39PM +0100, Jose Calhariz wrote: > On Mon, Oct 01, 2007 at 03:41:16PM -0400, Derek Atkins wrote: > > Jose Calhariz <[EMAIL PROTECTED]> writes: > > > > > On Mon, Oct 01, 2007 at 11:25:03AM -0700, Russ Allbery wrote: > > >> Jose Calhariz <[EMAIL PROTECTED]> writes: > > >> > > >> > I have lost a fileserver because of a corruption on the reiserfs v3. > > >> > Something like 1000 volumes and 100GB of data were lost. The backups > > >> > were made using amanda with standard tar. > > >> > > >> > My problem is the recovering of the data to the surviving filesystem > > >> > is taking too much time. Something like 7 hours to recover 7 GB. > > >> > Will I need 100hours to recover from tar 100GB? > > >> > > >> What did you tar up? I can think of a lot of possibilities (the raw > > >> namei > > >> filesystem, the contents of AFS archived with admin credentials, tarballs > > >> of volume dumps), and the answer somewhat depends. > > > > > > I have tarballs with the contents of AFS using admin credentials. > > > > Note that you'll have to manually repair the acls; tar doesn't save > > them. > > It's on my todo list, to find a command to export and import AFS > acls. So it can be collected by tar. > > > > > -derek > > > > Jos? Calhariz > > -- > P.S. [En_US] The sig below is from my random sig-generator, which strangely > often seems to pick signatures which are apropriate to the message at > hand! > > P.S. [Pt_Pt] A assinatura em baixo ? do gerador aleat?rio de > assinaturas, que estranhamente, escolhe com frequ?ncia assinaturas que > parecem apropriadas ao email! > -- > Infeliz o povo que precisa de herois. > -- Bertold Brecht -- Brian Sebby ([EMAIL PROTECTED]) | Unix and Operation Services Phone: +1 630.252.9935 | Computing and Information Systems Fax: +1 630.252.4601 | Argonne National Laboratory _______________________________________________ OpenAFS-info mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-info
