Hi Jens,


>Yura Pismerov <[EMAIL PROTECTED]> writes:
>
>> You can't setup a separate exclude list for each entry in disklist file.
>> In this particular case you just need to put ./home and ./var into
>> exclude file and make 3 separate entries for /, /home and /var in the
>> disklist. I assume you don't have ./home and ./var under /home and /var
>> (i.e /home/var or /var/home directories).
>
>2.4.2 makes it possible to define dump types directly in the
>disklist. And since dump types can define the filename for an exclude
>file you can have seperate exclude files for each disk entry (of
>course you could also define the dump types in amanda.conf and use
>different dump types for each disk entry).
>

This is an interesting new feature for me.

>This is very useful if you change the disklist automatically (I use it
>for splitting up a ~300 GB filesystem so every disk entry will fit on
>a 35 GB DLT tape).
>
>In the case of splitting / into /, /home and /var I would define a
>dumptype directly in the disklist for / with an exclude file
>containing ./home and ./var as suggested above and use a "normal" dump
>type for /home and /var.
>

Some things are unclear to me.

  01 Because of dump don't support exclude file lists/patterns, I have to
use
     gtar, if I want to benefit from this feature?

  02 If I create an exclude file for the '/home' disklist entry, what about
     the files in '/' ? If I include an entry like '/*' in those exclude
list,
     '/home' won't be tar'ed too?

  03 In the amanda man page I read about the exclude amanda.conf parameter:

       exclude [list] "string"
               Default: none.  The string is passed as a file name
               value to the GNU tar  --exclude  or  --exclude-from
               option.  In the case of exclude list, the file must
               be available on the backup client host.

     and from tar --help I read about the --exclude parameter:

           --exclude=PATTERN        exclude files, given as a globbing PATTERN
       -X, --exclude-from=FILE      exclude globbing patterns listed in FILE

     01 My assumption is, that the amanda exclude "string" (not using the
list
        option) is passed to the tar parameter that expects the globbing
file
        PATTERN?
     02 If yes, can I define in the local dumptype an exclude PATTERN for
the
        appropriate disk entry, so I don't have to create and maintain a
        corresponding exclude list file at the client side? Which will
mean,
        can I maintain all exclude PATTERNS in the disklist file?

>/Jens
>--
>Jens Bech Madsen
>The Stibo Group, Denmark

mike

Reply via email to