Author: John Oliver <joliver AT john-oliver DOT net>
Date: Thu, 9 Jan 2003 12:01:17 -0800
Can amanda send a signal to my DLT IV to unload the tape after backups are finished, so whoever goes back to swap tapes can just do it without waiting to manually unload? -- John Oliver, CCNA http://
Unnecessary. In your crontab, do something like "amdump <config> && mt rewoffl". -- John Oliver, CCNA http://www.john-oliver.net/ Linux/UNIX/network consulting http://www.john-oliver.net/resume/ ** s
Amanda can't but the mt command can. Just add mt -f TAPEDEV rewoffl to the script you call amdump from. If you currently call amdump directly, replace that by a script. Kindest regards, Niall O Broin
Author: "Brandon D. Valentine" <bandix AT structbio.vanderbilt DOT edu>
Date: Thu, 9 Jan 2003 15:19:31 -0600
An excerpt from the Amanda user's crontab on my amanda server: 45 0 * * 2-6 /usr/local/sbin/amdump Daily && /usr/bin/eject -q /dev/nst0 >& /dev/null That's all it takes. The '&&' will ensure that the
What I do with my amanda configuration is to append an "offline" command to the tape drive following the amanda run: 1 1 * * 1-5 /usr/local/amanda/sbin/amdump <configname>; mt offline The offline com
Author: Joshua Baker-LePain <jlb17 AT duke DOT edu>
Date: Thu, 9 Jan 2003 15:43:03 -0500 (EST)
No, but just have your crontab call a script rather than amdump. At the end of the script, unload the tape. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
For amdump this is easy. I didn't find a way to do this for amflush. You must start amflush in the forground in order to answer the questions, and then it backgrounds itself. So you do not know when
You may try to run amflush with the -f switch. With the -f option, amflush stays in the foreground. This is useful if amflush is run as part of another script that, for example, advances the tape af
Pavel, Sven, others ... Check if the attached script will help. I've called it "ampwait", AManda Process WAIT. By default it checks every 60 seconds for a running amflush. The period between checks (
Author: Simon Young <simon-amanda-users AT blackstar.co DOT uk>
Date: Wed, 22 Jan 2003 13:31:06 +0000
Is it really easy when using a tape changer? If you follow amdump with an amtape eject command, will you not be ejecting the tape in the 'current' slot? Once amdump has finished, isn't the current sl
The original OP did not specify a changer and I, perhaps incorrectly formed my answer based on a single drive with no changer. My experience with changers is pretty limited and the changer script I u
Author: Simon Young <simon-amanda-users AT blackstar.co DOT uk>
Date: Wed, 22 Jan 2003 15:12:07 +0000
That's what I thought, but I was hoping it would be just as easy :-) I just use a straightforward chg-multi with three external drives. The state of the changer is stored in a state file. Well, I'm q
Author: Simon Young <simon-amanda-users AT blackstar.co DOT uk>
Date: Wed, 22 Jan 2003 15:56:52 +0000
Good point, but I've accounted for that. The changer only has slots 1, 2 and 3. At the minute, each slot has it's own tape. This will change in the very near future, but it would be nice to have aman
Author: Gene Heskett <gene_heskett AT iolinc DOT net>
Date: Wed, 22 Jan 2003 13:04:33 -0500
Once configured, yes. Thats how it would work here at any rate. Amanda does not change her notion of "slot" until the next invocation of amdump or amcheck, both of which apparently start out by searc
Author: Simon Young <simon-amanda-users AT blackstar.co DOT uk>
Date: Wed, 22 Jan 2003 18:19:02 +0000
Ah! That explains it then :-) It's ok. I'm only using a pseudo-changer (i.e. three external scsi DLT drives all connected to the same box), so I would have thought it would be a common request, in th
Author: Gene Heskett <gene_heskett AT iolinc DOT net>
Date: Wed, 22 Jan 2003 14:16:52 -0500
I see now. Consult the changer script you are using, it may be possible for it to eject the tape once amanda is done with it, possibly by a modifcation to the script. I've never tried that multiple d
The standard "trick" is to call either "amtape <CONFIG> eject" or (what I do) "amtape <CONFIG> slot advance" after the amdump run. For instance: amdump <CONFIG> ; amtape <CONFIG> slot advance This s
Author: Simon Young <simon-amanda-users AT blackstar.co DOT uk>
Date: Tue, 28 Jan 2003 15:55:49 +0000
So I did this last night, and today all tapes are still in their drives. I would have expected to see one of them with a nice green 'operate handle' light :-( Hmm. I've just read this again. You say