11.01.2013 Views

View PDF - Njit.edu

View PDF - Njit.edu

View PDF - Njit.edu

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

orrowdev<br />

borrowdev<br />

Purpose<br />

Prerequisites<br />

Syntax<br />

Semantics<br />

Example<br />

Use the borrowdev command to borrow a drive.<br />

You use the borrowdev command if a backup or restore job is requesting assistance.<br />

You can reply to the input request by using the rpyjob command, but this technique<br />

can be cumbersome for multiple commands because obtool issues a new prompt<br />

after each command. The borrowdev command temporarily overrides the device<br />

reservation made by the requesting job and enables you to execute arbitrary library or<br />

drive commands. You can use the returndev command to release the drive and use the<br />

catxcr or rpyjob commands to resume the job.<br />

You must have the right to manage devices and change device state to use the<br />

borrowdev command.<br />

borrowdev::=<br />

bor rowdev drive-name ...<br />

drive-name<br />

Specifies the name of the drive that you want to borrow.<br />

In Example 2–5, backup job admin/6 is not proceeding. Executing the catxcr<br />

command reveals that Oracle Secure Backup cannot find a usable tape for the backup.<br />

Example 2–5 Displaying the Transcript for a Hanging Backup<br />

End of tape has been reached. Please wait while I rewind and unload the tape. The Volume ID of the<br />

next tape to be written is VOL000007. The tape has been unloaded.<br />

obtar: couldn't perform auto-swap - can't find usable volume in library (OB device mgr)<br />

Enter a command from the following list:<br />

load .. load the tape from element into the drive<br />

unload .. unload the tape from the drive into element <br />

help .. display other commands to modify drive's database<br />

go .. to use the tape you selected<br />

quit .. to give up and abort this backup or restore<br />

:<br />

Assume that you press the Enter key to return to the obtool prompt. In Example 2–6,<br />

you insert a new tape into slot 2 of the library, borrow the tape drive, load the volume<br />

from slot 2 into the drive, and then release the drive with the returndev command.<br />

2-8 Oracle Secure Backup Reference<br />

See Also: "Device Commands" on page 1-12 for related commands

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!