Hi Debra,
thanks for the suggestion! In the end, this is what I did.
(
cat disklist.manual
generator_of_other_DLEs
) > disklist
Not a big issue, it is the same script as before with a slight
modification. I am happy amanda now works, though knowing the
limitations of disklist and reading that in amanda manuals would be
(have been) really helpful and time-saving.
Thanks again and best regards,
Nikolai Krot
On 03/09/2016 06:37 PM, Debra S Baddorf wrote:
So, it seems that amanda can only do ONE include file (just from your
experimental evidence; I’m not an expert on that, so I”m not answering that
question).
How about having your code, which generates the AUTO list, start by making a
copy of the MANUAL list, and append
the auto entries at the end of that file? New every day, but including a
copy of the fixed list at the beginning.
Deb Baddorf
Fermilab
On Mar 9, 2016, at 11:13 AM, Mikalai Krot <k...@linguistics.rub.de> wrote:
Found a similar question that was not answered
http://archives.zmanda.com/amanda-archives/viewtopic.php?t=7063
and a related question about an earlier version of amanda.
http://archives.zmanda.com/amanda-archives/viewtopic.php?t=6669
On 03/09/2016 05:07 PM, Mikalai Krot wrote:
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
--
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