On Friday 12 May 2006 13:27, Paul Bijnens wrote:
Sorry for the delay - I've been away for a month.
>
> When all else fails, read the manual: (man amanda.conf, "exclude"...)
>
I've read it so many times, but still am not getting my head around it.
> >> Where did you put that file? give the complete path? It is on borg?
> >
> > On borg - in two places, /home/amanda.exclude
> > and /usr/local/etc/amanda/Daily/amanda.exclude
>
> The first one is correct. At least, if that is /home of the
> client!
>
OK - I'm working with that and have dropped the second one.
> >> Try 'amcheck -c borg /home'
> >
> > amcheck -c Daily /home
> >
> > Amanda Backup Client Hosts Check
> > --------------------------------
> > Client check: 1 host checked in 0.000 seconds, 0 problems found
>
> Ok. Now what are the contents of that file?
>
I've lost the thread here - which file do you want to see, please?
> To exclude /home/anne/Photos and /home/anne/recordings for the DLE
> /home, it should be
>
> $cat /home/amanda.exclude
> ./anne/Photos
> ./anne/recordings
>
I amended that file so that it exactly matches your entry, but still I'm
getting a level 5, with a warning that the backup is too big for the
available space.
>
> Now the weird stuff, just to check/verify.
> The file must be a text file (not e.g. an MSWord file).
> It must have unix line endings (\n) and not DOS (\r\n).
> Spaces in the file (at the end) are significant. Make sure there
> are no unwanted spaces or tabs or carriage returns (hexdump -C).
> The names of the files are case sensitive too.
>
I removed a trailing space, but I think there's nothing else. I'll check it
again in the morning.
>
> Different solution using excludes is also possible.
> Instead of storing the patterns in a file on the client, you can
> put them in the disklist file on the server too. Use this syntax
> for the disklist:
>
> borg /home {
> program "GNUTAR"
> compress CLIENT BEST
> index yes
> exclude file "./anne/Photos" "./anne/recordings"
> } 1
And this would exclude the whole tree under ./anne/Photos etc.? Maybe I
should try that way tomorrow.
All thoughts gratefully received
Anne
pgpyNRxH9cY7a.pgp
Description: PGP signature
|