Brian Cuttler wrote:
On Thu, Mar 04, 2010 at 06:28:08AM -0500, Jean-Louis Martineau wrote:
I never like using two configs. Recovery is complex.
Why not use one config? amanda don't allow it, but you can cheat.
Edit amanda.conf every days to change the tpchanger and strategy, if
could be done by a simple script, or more easily, put the difference in
separate file and use 'includefile', that way you just needs a 'cp'
before each run.
The only problem is with autoflush, if some dump are left on holding
after a run, they can be flushed to the wrong tpchanger on the next run.
I'd thought those settings where available as -o options on
the amdump command. Single config with different lines in
cron so nothing is edited or copied ? Maybe an amadmin force
command once per week as well, just before the tape based run ?
You can change the tpchanger with -otpchanger=.... , but changing a
dumptype from command lines doesn't works with dumptype inheritance, it
works only if it is used from the disklist, it is fix in SVN.
Jean-Louis