Re: exclude DLEs

2016-05-05 Thread Stefan G. Weichinger
Am 04.05.2016 um 23:00 schrieb Jean-Louis Martineau:
> It's not possible to exclude a DLE
> 
> What I would do:
> Add a new empty dumptype (dle_exclude)
> Make the dle you want to exclude inherit from that dumptype
> 
> and run: amdump CONF -oDUMPTYPE:dle_exclude:strategy=skip
> the day you do not want them.
> 
> You can verify it is correctly set with:
>   amadmin CONF disklist
>   amadmin CONF disklist -oDUMPTYPE:dle_exclude:strategy=skip
> diff the 2 outputs, only the strategy for the exclude dle should differ

sounds good, I will try that asap!

thanks for both replies, Stefan



Re: exclude DLEs

2016-05-04 Thread Debra S Baddorf

> On May 2, 2016, at 2:29 PM, Stefan G. Weichinger  wrote:
> 
> Am 2016-04-20 um 09:11 schrieb Stefan G. Weichinger:
> 
>> It depends ;-) I think it would be more elegant to not have to use
>> "amadmin force". Everything covered by the amanda config, no need to
>> remember two things. But that's academic discussion in a way ;-)
> 
> additional q here:
> 
> customer wants two DLEs in the config only dumped on friday.
> 
> I know how to only INCLUDE DLEs with "amdump config host1 host2" or so.
> But I am unsure if there is the possibility to EXCLUDE some DLEs.
> 
> reading manpage amanda-match now.
> 
> I think of a bigger cronjob skipping these 2 DLEs from mon-thu and
> including them on friday.
> 
> Anyone with experience?
> Is it possible?
> 
> thanks, Stefan
> 

>From the defeaning silence, I’m guessing you may have to specify which 
>nodes/DLEs to backup
on Mon-Thu,  in your cronjob
   amdump configname   node1  node2 node4
or
  amdump confignamenode1  node2   node3   DLE2  DLE3  node4

and only on Friday can you do a simple
 amdump configname
with no nodes or DLEs after it.

If anybody has a better idea, than let this serve as  “BUMP”  for the question.


Deb Baddorf


Re: exclude DLEs

2016-05-02 Thread Stefan G. Weichinger
Am 2016-04-20 um 09:11 schrieb Stefan G. Weichinger:

> It depends ;-) I think it would be more elegant to not have to use
> "amadmin force". Everything covered by the amanda config, no need to
> remember two things. But that's academic discussion in a way ;-)

additional q here:

customer wants two DLEs in the config only dumped on friday.

I know how to only INCLUDE DLEs with "amdump config host1 host2" or so.
But I am unsure if there is the possibility to EXCLUDE some DLEs.

reading manpage amanda-match now.

I think of a bigger cronjob skipping these 2 DLEs from mon-thu and
including them on friday.

Anyone with experience?
Is it possible?

thanks, Stefan