Amanda-Users

Re: Override tpchanger?

2009-10-23 14:45:33
Subject: Re: Override tpchanger?
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: jdanderson AT lbl DOT gov
Date: Fri, 23 Oct 2009 14:25:26 -0400
On Fri, Oct 23, 2009 at 1:54 PM, Jeffrey D Anderson <jdanderson AT lbl DOT gov> 
wrote:
> I'm running amanda 2.6.1p1 with backups to virtual tapes using the new
> chg-disk method described in 'man amanda-changers'
>
> My changer specification in amanda.conf reads
> tpchanger "chg-disk:/backups/amandatapes/myconfig"
>
> Backups and restores work fine.
>
> Now I'm writing some custom scripts to archive virtual tapes, and I have a
> question.
>
> How can I override the default "tpchanger" when running amtape?  Is it
> possible?
>
> I've tried
> amtape CONFIG show -otpchanger="chg-disk:/someotherchanger"
> but the override is ignored and I get the inventory of the default changer
> (and yes, /someotherchanger exists and is properly initialized).

Amtape was still in C in 2.6.1, and still using the old changer API,
which does not support config overwrites.

I'm *very* excited that you're using these new tools!  They are still
under development, and the old changer API should be removed entirely
by the next release, so you might have better luck using trunk, rather
than the latest release.

Please send along any feedback or requests regarding the interface,
too -- to a point I've been coding in a vacuum so some third-party
criticism would be helpful.

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com

<Prev in Thread] Current Thread [Next in Thread>