Hi,
Thanks! Good to know the world is moving in the right direction :)
When I see the package updated to amanda-3.3.5, I will refactor my
configs. Added a TODO for indefinite future.
BR, Nikolai Krot
On 03/09/2016 07:04 PM, Jean-Francois Malouin wrote:
Hi,
Not sure if this is going to help you but my tests with amanda-3.3.5
show that multiple "includefile" stanzas work, along with or without
inline DLEs.
My "test" uses the command "/opt/amanda/sbin/amadmin <conf> disklist"
and checks that its output corresponds to the content of the disklist
and the includefiles.
So all the following disklist files seem to behave as expected:
1- one inline DLE + 1x includefile:
client /disk1 app-amgtar
includefile "duh-disklist-1"
2- one DLE + 2x includefiles:
client /disk1 app-amgtar
includefile "duh-disklist-1"
includefile "duh-disklist-2"
3- only includefiles:
client /disk1 app-amgtar
includefile "duh-disklist-1"
includefile "duh-disklist-2"
cheers,
jf
* Debra S Baddorf <badd...@fnal.gov> [20160309 12:37]:
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