On Fri, 17 May 2002 at 6:04pm, Alexander Belik wrote
> --------------------------------------------------------------------
> news sda6/all sda6 {
> high-tar
> exclude "./spool/news" "./spool/uucp"
> } 6
> --------------------------------------------
> I just want to exclude non-interesting dir's (dont backup them at all)
> But I have strange rezult in amanda report:
>
> /-- news sda6/all lev 0 STRANGE
> sendbackup: start [news:sda6/all level 0]
> sendbackup: info BACKUP=/bin/gtar
> sendbackup: info RECOVER_CMD=/bin/gtar -f... -
> sendbackup: info end
> ? gtar: Cannot add file ./spool/news/alt/business/61867: No such file or
> directory
> ? gtar: Cannot add file ./spool/news/alt/business/61868: No such file or
> directory
> [skip 200Kb]
> Why it backup this dir? Where I am wrong? How to exclude two dirs?
If you want to exclude more than one entry, then you need to use an
exclude list. Change the dumptype entry to :
exclude list "/var/local/exclude.list"
Then create /var/local/exclude.list *on the client* with your entries in
that file (one per line). Of course, you can put the exclude list file
whereever you want -- /var/local is just an example.
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University