Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
View PDF |
Purpose
Use the unrmsection
command to undo the effect of the rmsection command. The command resets the deleted flag in the backup section records, which you can view by executing the lssection command.
The unrmsection
command fails if the volume containing the selected backup sections has already been recycled or unlabeled after all of the backup sections it contains were deleted.
See Also:
"Section Commands" for related commandsPrerequisites
You must have the right to manage devices and change device state to use the unrmsection
command.
Syntax
unrmsection::=
unrmse•ction [ --nq ] [ --oid/-o oid-list ]...[ --vid/-v vid { --file/-f filenumber-list }... ]
Semantics
Does not display a confirmation message. If you do not specify this option, then the command displays a confirmation message. The message is described in "Command Execution in Interactive Mode".
Selects backup sections with the object identifiers matching those in oid-list. Refer to "oid-list" for a description of the oid-list placeholder.
Selects backup sections contained on the volume specified by vid.
Selects the backup sections with the file numbers specified in the list. Refer to "filenumber-list" for a description of the filenumber-list placeholder.
Example
Example 2-156 undoes the deletion of two backup sections that have an attribute of deleted
.
Example 2-156 Undoing the Deletion of Backup Sections
ob> lssection BSOID Volume File Sect Level Client Created Attributes 100 VOL000001 1 1 0 brhost2 03/24.09:52 never expires 105 RMAN-DEFAULT-000002 1 1 0 stadv07 03/24.10:13 deleted 106 VOL000002 1 1 0 brhost2 03/24.10:13 never expires 107 VOL000003 1 1 0 brhost2 03/24.10:13 never expires 108 RMAN-DEFAULT-000002 2 1 0 stadv07 03/24.10:14 deleted 109 VOL000003 2 1 0 brhost2 03/24.11:27 never expires 110 VOL000003 3 1 0 brhost2 03/24.11:27 never expires ob> unrmsection --nq --oid 105,108 ob> lssection BSOID Volume File Sect Level Client Created Attributes 100 VOL000001 1 1 0 brhost2 03/24.09:52 never expires 105 RMAN-DEFAULT-000002 1 1 0 stadv07 03/24.10:13 content manages reuse 106 VOL000002 1 1 0 brhost2 03/24.10:13 never expires 107 VOL000003 1 1 0 brhost2 03/24.10:13 never expires 108 RMAN-DEFAULT-000002 2 1 0 stadv07 03/24.10:14 content manages reuse 109 VOL000003 2 1 0 brhost2 03/24.11:27 never expires 110 VOL000003 3 1 0 brhost2 03/24.11:27 never expires