It worked! Thank you very much. It looks like there may be a bug in the "exclude <files...>" directive, then, because no matter how I worked it, it wasn't working.
Michael Martinez System Administrator (Contractor) Information Systems and Technology Management CSREES - United States Department of Agriculture (202) 720-6223 -----Original Message----- From: Gene Heskett [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 6:08 PM To: Martinez, Michael - CSREES/ISTM; 'Jon LaBadie'; '[EMAIL PROTECTED]' Subject: Re: ./var/adm not being excluded On Thursday 13 June 2002 11:50, Martinez, Michael - CSREES/ISTM wrote: >Tried excluding the entire directory --- no go. > >Another question for ya: if I use the "exclude list" option, does my > list file need to be in an amanda directory (var/amanda) or can it be > anywhere? My Sco Unix installation has amanda installed in > /usr/local. On the other hand, my amanda server has amanda in > /var/lib The "exclude file" can be anyplace that the line in *your* backup config (define dumptype etc) description in amanda.conf tells amanda to look. By using that mechanism, one can have different exclude lists for different backup styles or machines. Typically, it might look like this snippet from amanda.conf: define dumptype user-tar { root-tar comment "user partitions dumped with tar" exclude list "/usr/local/etc/amanda/DailySet1/exclude.gtar" compress server best priority medium } >Michael Martinez >System Administrator (Contractor) >Information Systems and Technology Management >CSREES - United States Department of Agriculture >(202) 720-6223 > > >-----Original Message----- From: Jon LaBadie [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, June 12, 2002 9:30 PM >To: '[EMAIL PROTECTED]' >Subject: Re: ./var/adm not being excluded > > >On Wed, Jun 12, 2002 at 11:32:47AM -0400, Martinez, Michael - > CSREES/ISTM > >wrote: >> I had posted this msg before, but I had given the wrong info. >> >> I'm backing up / on one of my clients. I would like to exclude >> /var/adm/syslog from the backup. >> >> On my server:amanda.conf, I have defined a disklist entry with >> "exclude "./var/adm/syslog"" and I'm using this in my disklist file. >> >> But it's not working. tar continues to give me an error (actually a > >failure) > >> about "/var/adm/syslog: changes as we read it." It should not be a fatal error. I'm not sure why that should be anything but an info advisory. FWIW, I don't see any messages about that in my reports here, or at home. Do you have another cron job running something that would cause this logfile to be appended to while amdump is running? Amanda would rather have the run of the machine if it can. >> Now, I know this isn't much of a problem. But since my Amanda report >> gets mailed out every day to the IT director and the project >> manager, I'd like > >to > >> NUKE this FAILURE message, cuz they think the backup is failing. > >Do you need to backup anything under /var/adm? >Maybe exclude the entire directory. The entrys in the exclude file should be in the form of a relative to . style, as in if you want to skip that directory tree, then the file should contain a line that reads ./adm and that whole tree will, or should be skipped. Of course it follows that an identically named directory someplace else in the system will also be skipped when using this "relative" syntax. -- Cheers, Gene CE @ WDTV-5, CBS for N. Central WV