Hallo

Sorry, I should have included version info. So, I am using amanda 3.3.3, from rhel7.

And yes, the DLEs are unique.

I experimented with changing the order of includefile directives and found out that the last one always wins.

Thanks in advance,
Nikolai Krot

On 03/09/2016 04:06 PM, Bill Carlson wrote:
Hello,

What version of amanda are you using?

Is the combined disklist composed of only unique entries?

Thanks,
--

Bill Carlson

Anything is possible, given Time and Money.
On 03/08/2016 03:48 PM, Mikalai Krot wrote:
Hi list members,

My question is how to combine in a single disklist file definitions of DLE and includefile directives. Seems that this is impossible. I tried the following cases:

### case 1 that worked

disklist contains only DLE entries of the form

server.domain.com  /etc            comp-root-tar
server.domain.com  /var/www   comp-root-tar

Result: everything works fine

### case 2, that did not work

I wanted to add more DLEs to the abive disklist by including them from an automatically generated file

server.domain.com  /etc            comp-root-tar
server.domain.com  /var/www   comp-root-tar

includefile "disklist.auto"

Result: only entries from included disklist.auto work (and reported by amadmin CONFIG disklist)

### case 3, again, no luck

I thought that mixing two types of entries is not possible and extracted case 1 into disklist.manual. Now my disklist is

includefile "disklist.manual"
includefile "disklist.auto"

Result: again, only disklist.auto works. Only the last of included files works

### WTF?

I reread the disklist manual and found an interesting clause

< The /disklist/ file determines which disks will be backed up by Amanda. The file contains /includefile/ directive or disklist entry (/DLE/).

so.. literally, only *one* includefile directive xor DLEs. Do I understand it correctly? Is it a kind of a joke or there is a reason behind this design?

Best regards,
Nikolai Krot


--
Mikalai Krot
Sprachwissenschaftliches Institut
GB 3/143
Ruhr-Universität Bochum
DE-44801 Bochum
fon +49 234 32-23910
cell +49 157 80283908


--
Mikalai Krot
Sprachwissenschaftliches Institut
GB 3/143
Ruhr-Universität Bochum
DE-44801 Bochum
fon +49 234 32-23910
cell +49 157 80283908

Reply via email to