Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
PDF · Mobi · ePub |
Use the extractvol
command to notify Oracle Secure Backup that you have manually removed or are removing one or more volumes from the library. You can specify the source of volume you are extracting.
Note that you do not need to use the extractvol
command if you issue the inventory command after removing the volumes.
See Also:
"Library Commands" for related commandsYou must have the right to manage devices and change device state to use the extractvol
command.
extr•actvol [ --library/-L libraryname | --drive/-D drivename ] { vol-range | se-range }
Specifies the name of the library from which you want to extract volumes.
If you do not specify --library
or --drive
, then Oracle Secure Backup uses the value of the library or drive variable. Oracle Secure Backup issues a warning if it can obtain neither the library nor drive setting.
Specifies the name of a tape drive in the library from which you want to extract volumes.
If you do not specify --library
or --drive
, then Oracle Secure Backup uses the value of the library or drive variable. Oracle Secure Backup issues a warning if it can obtain neither the library nor drive setting.
Specifies the volumes to be extracted. Refer to "vol-range" for a description of the vol-range placeholder. Execute the lsvol command to display volume information.
Specifies a range of storage elements from which volumes are to be extracted. Refer to "se-range" for a description of the se-range placeholder.
Example 2-36 notifies Oracle Secure Backup that the volume in storage element 1 of library lib1
has been manually removed. Note that the sample lsvol output has been reformatted to fit on the page.
Example 2-36 Extracting a Volume
ob> lsvol --library lib1 Inventory of library lib1: in 1: volume VOL000002, barcode ADE201, 47711424 kb remaining in 2: volume VOL000001, barcode ADE203, 48359360 kb remaining in dte: volume RMAN-DEFAULT-000002, barcode ADE202, 47773408 kb remaining, content manages reuse, lastse 3 ob> extractvol --library lib1 1 ob> lsvol --library lib1 Inventory of library lib1: in 1: vacant in 2: volume VOL000001, barcode ADE201, 48359360 kb remaining in dte: volume RMAN-DEFAULT-000002, barcode ADE202, 47773408 kb remaining, content manages reuse, lastse 3