[KLUG Members] Backup
Adam Tauno Williams
awilliam at whitemice.org
Tue Sep 13 10:13:06 EDT 2005
> I recently got a DAT autoloader. It holds 6 tapes.
> I've only ever used a single tape drive in Linux.
> I'm trying to figure out how to use the autoloader so I can actually
> backup all of my server at once with out changing tapes.
> Below is the backup script I've been working with.
> The backup starts fine and fills the first tape.
> It removes the first tape and loads the second tape then fails.
> It says the load operation failed. But the tape is loaded and if I
> manually start a backup it writes to the tape just fine.
What is the exit status of an "mtx next"?
I've seen autoloaders where you need to do something like "-F
nexttape.sh" where "/usr/local/bin/nexttape.sh" is something like -
#!/bin/sh
/usr/sbin/mtx next
/bin/sleep 5
- so that tar doesn't start trying to write until the changer has released the
bus and the tape drive has positioned the tape.
More information about the Members
mailing list