I’ve been on vacation, so I’m coming late to this discussion.
I’ve had problems trying to one-off dump a DLE  is its name matches
another name.   It’s true we haven’t answered why the $ doesn’t fix that.
But --

I give them “nicknames”.

disklist file:
MACHINE   Main2019  /dir/subdir/name/2019 …..  {
 tar
 exclude "./subdir/*"

}

MACHINE   SubOf2019  /dir/subdir/name/2019/subdir   tar

Then I do dumps or restores by using the “nickname”  which is not multiple 
matched.

amdump CONFIG   MACHINE  Main2019
amdump CONFIG MACHINE  SubOf2019

Deb Baddorf
Fermilab

> On Jun 11, 2019, at 9:32 PM, Jon LaBadie <[email protected]> wrote:
> 
> On Tue, Jun 11, 2019 at 11:47:15AM +0100, Nuno Dias wrote:
>> Thanks, but I'm already doing that (the exclude)
>> 
>> This is what I have in disklist
>> 
>> MACHINE      /dir/subdir/name/2019   {
>>  tar
>>  exclude "./subdir/*"
>> 
>> }
>> 
>> MACHINE /dir/subdir/name/2019/subdir tar
>> 
>> Because this are very big directories, I want to dump only one every
>> time, anyone know how I can do this? 
>> 
> 
> Two ideas
> 
> 1) instead of trying to exclude everything you don't want,
> consider including the one you do want.  That should auto-
> exclude all else.
> 
> 2) have a separate DLE for each directory you want.  Have
> them do only full backups.  Run your amdump in such a way
> that only one DLE is dumped each day.
> 
> -- 
> Jon H. LaBadie                 [email protected]
> 11226 South Shore Rd.          (703) 787-0688 (H)
> Reston, VA  20190              (703) 935-6720 (C)


Reply via email to