On Thu, 14 Mar 2002, Jeffrey Auerbach wrote:

> I have my exclude lists on the client systems but I am not sure that they are 
> being used.  The total space that gets backed up is about 80MB or so.  
> According to amstatus it is trying to dump 633MB which is roughly half the 
> amount of space on the file system.  I'm pretty sure that my exclude lists 
> are correctly working.  
> How can I tell if gtar is using the exclude list?  If I do a ps -auxww | grep 
> gtar on the client after I run amdump from the server, I get this:
> 
> root  74765   5.6     0.4     4844    4592    ??      D       11:55am         
>0:39:54 /usr/localbin/gtar 
> --create  -file /dev/null --directory /usr --one-file-system 
> --listed-incremental /usr/local/var/amanda/gnutar-lists/smtp0da0s1e_0.new 
> --sparse --ignore-failed-read  --totals .
> 
> Notice there is not --exclude.
> 
> What did I do wrong?
> 
> jeff
> 

first, check in /tmp/amanda for easier debugging.  The runtar.*.debug
should have something like this:
runtar: debug 1 pid 29180 ruid 0 euid 0 start time Thu Mar 14 02:25:05
2002
gtar: version 2.4.2p2
running: /usr/local/bin/gtar: gtar --create --file - --directory
/export/home --one-file-system --listed-incremental
/usr/local/var/amanda/gnutar-lists/fred.quantified.net_export_home_0.new
--sparse --ignore-failed-read --totals --exclude-from
/var/amanda/exclude-list . 

Also make sure in your amanda.conf file your exclude list is defined and 
exists on the client:

define dumptype gtar {
    comment "Default Gnutar backup"
    index yes
    program "GNUTAR"
    compress client fast
    exclude list "/var/amanda/exclude-list"
}

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
Doug Silver
Network Manager
Quantified Systems, Inc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to