[KLUG Members] Backup

Jeremy Leonard Lists at elite4god.com
Tue Sep 13 14:29:07 EDT 2005


Adam Tauno Williams wrote:

>> 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.
>
>
Thanks,
I made you suggested changes. We'll see what happens tonight.

Jeremy


More information about the Members mailing list