Amanda-Users

Re: control files in disks

2006-01-15 12:51:15
Subject: Re: control files in disks
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Sun, 15 Jan 2006 12:45:13 -0500
On Sun, Jan 15, 2006 at 05:24:00PM +0000, Jens Theisen wrote:
> Hello,
> 
> is there a way to control what in a disk given in the disklist should be
> backed up, when only access to this disk is given?
> 
> I'm thinking of a user controlling what should be backed up by putting
> something in his home directory. Clearly it can be undesirable to backup
> it all; one might want all configuration files, but not the software
> intalled there.

Assuming you are backing up with gnutar, not dump,
have you read the docs or the amanda.conf comments
and checked out the "exclude" and "include" directives?

If each user's home directory is a separate disklist entry (DLE)
then this should be simple.

If your DLE is backing up a higher level directory, say say a
single DLE of /home rather than separate DLEs like /home/jens
and /home/jon, then you might have to play some games.  You
could tell your users to put their excludes/includes in some
file name you specify, say ~/.backup-exclude and ~/.backup-include.
Then as part of the cronjob that runs amdump, run a script that
combines all the users exclude/include files into single master
files that are used by amanda.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

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