Amanda-Users

disklist file maintenance

2003-09-18 15:33:23
Subject: disklist file maintenance
From: Bruno Negrão <bnegrao-amanda AT engepel.com DOT br>
To: "Brian Cuttler" <brian AT wadsworth DOT org>, "amanda users" <amanda-users AT amanda DOT org>
Date: Thu, 18 Sep 2003 16:30:17 -0300
(See brian, i´m posting your message on the list, ok?)

Oh, Let´s see if I correctly understood your problem: you need to backup
your user directories, like /home/brian,  /home/john, /home/melissa, (etc).
But you can´t simply make a backup of your entire /home directory.
So you, basically, would need a disklist file with the following entries:

machine1    /home/brian        comp-root-tar
machine1    /home/jon           comp-root-tar
machine1    /home/melissa     comp-root-tar
(and so on for every user directory)

However, you don´t want to manually edit the disklist file every time you
create and delete a user.
Is this right?

Well, the first thing that occurred to me is to do a script that runs before
amdump which would check what are the valid user directories of your machine
and would write these names in the disklist file. (actually, it would write
the correct disklist file entries, one for each directory).

If someone know anything better, share with us.

Hope it helps,
Bruno.

----- Original Message ----- 
From: "Brian Cuttler"
To: "Bruno Negrão"
Cc: "Brian Cuttler"
Sent: Thursday, September 18, 2003 3:28 PM
Subject: Re: Using amanda with just 1 tape - for testing - SOLVED



Bruno,

I realized you are writing about tapecycle (my latest guess was
that a tapecycle of 0 is a problem) but as long as you are using
tar rather than dump I've got a question.

I've got a couple of large partitions that I'd like to move
from dump to tar, but only specific partitions within the
disklist and I don't know now to divide up the data ? Dividing
at highest level on the partition by username might work ok
(directories at that level named for the data owner) but I
don't really want to maintain the disklist (look to see if
it needs updating everytime I create/remove a user data area).

Are you doing anything like this ? I'm in need of the feature
for both Solaris/IRIX servers/clients.

What version of amanda are you running ? Or rather, what is the
min version that supports what I'm hoping to do ?

thanks,

Brian



<Prev in Thread] Current Thread [Next in Thread>