Amanda-Users

Re: amcheck: "No include for 'diskname'"?

2003-02-21 12:22:44
Subject: Re: amcheck: "No include for 'diskname'"?
From: Jean-Louis Martineau <martinea AT IRO.UMontreal DOT CA>
To: Kirk Strauser <kirk AT strauser DOT com>
Date: Fri, 21 Feb 2003 10:42:57 -0500
Hi Kirk,

include works only at one level directory unless you try this untested
patch.

Jean-Louis

On Thu, Feb 20, 2003 at 07:57:38PM -0600, Kirk Strauser wrote:
> I've been tinkering with my disklist entries.  Right now, I'm using the
> following setup to split a very large filesystem into a few manageable
> chunks:
> 
>     # Special large directories
>     kanga.honeypot.net        /usr/share                      
> compressed-tar-with-excludes    -1      local
>     kanga.honeypot.net        /usr/share/media                
> uncompressed-tar-with-excludes  -1      local
>     kanga.honeypot.net        /usr/share/media/music/albums   
> uncompressed-tar                -1      local
>     kanga.honeypot.net        /usr/share/media/music/singles  
> uncompressed-tar                -1      local
> 
> using the following dumptypes:
> 
>     #### Tar backups with exclude files
> 
>     define dumptype uncompressed-tar {
>         root-tar
>         priority medium
>     }
> 
>     define dumptype compressed-tar {
>         uncompressed-tar
>         compress client fast
>     }
> 
>     define dumptype uncompressed-tar-with-excludes {
>         uncompressed-tar
>         comment "Non-root partitions without compression, plus an exclude 
> list"
>         exclude list ".amanda.excludes"
>     }
> 
>     define dumptype compressed-tar-with-excludes {
>         compressed-tar
>         comment "Non-root partitions without compression, plus an exclude 
> list"
>         exclude list ".amanda.excludes"
>     }
> 
> 
> Since this setup has been working perfectly for months, I feel obligated to
> start tampering with it.  I was looking at the example disklist that ships
> with Amanda, and decided to try the following syntax instead:
> 
>     # /usr/share, minus ./media
>     kanga.honeypot.net share /usr/share {
>             comp-user-tar
>             exclude "./media"
>             } -1 local
> 
>     # /usr/share/media, minus ./music/{albums,singles}
>     kanga.honeypot.net share-media /usr/share {
>             user-tar
>             include "./media"
>             exclude "./media/music/albums" "./media/music/singles"
>             } -1 local
> 
>     # /usr/share/media/music/albums
>     kanga.honeypot.net share-albums /usr/share {
>             user-tar
>             include "./media/music/albums"
>             } -1 local
> 
>     # /usr/share/media/music/singles
>     kanga.honeypot.net share-singles /usr/share {
>             user-tar
>             include "./media/music/singles"
>             } -1 local
> 
> 
> This seems to me like it should work, but when I run amcheck to test it, I
> get:
> 
>     Amanda Backup Client Hosts Check
>     --------------------------------
>     ERROR: kanga.honeypot.net: [No include for 'share-singles']
>     ERROR: kanga.honeypot.net: [No include for 'share-albums']
>     Client check: 2 hosts checked in 0.525 seconds, 4 problems found
> 
>     (brought to you by Amanda 2.4.3)
> 
> 
> What the heck does 'No include for ...' mean?  I found the string in an
> Amanda source file, but couldn't make heads or tails of its significance.  A
> quick Google returned nothing.
> -- 
> Kirk Strauser
> In Googlis non est, ergo non est.



-- 
Jean-Louis Martineau             email: martineau AT IRO.UMontreal DOT CA 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834

Attachment: include.dir.diff
Description: Text document

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