rmbackup

Purpose

Use the rmbackup command to remove a backup request, set of backup requests, or all backup requests that are queued in obtool. A backup request is held locally in obtool until you execute the backup command with the --go option, at which time Oracle Secure Backup makes all backup requests into dataset backup jobs and forwards them to the scheduler.

See Also:

"Backup Commands" for related commands

Syntax

rmbackup::=

rmb•ackup { --all/-a | backup-item ... }

Semantics

--all/-a

Removes all backup requests in the queue.

backup-item ...

Specifies an identifier assigned by obtool to a backup request created with the backup command. The identifier is a small integer number. Execute the lsbackup command with the --long option to display backup identifiers.

Example

Example 2-123 queries the backup requests awaiting delivery to the scheduler and deletes the backup request with the identifier 2.

Example 2-123 Deleting a Backup Request

ob> lsbackup --long
1:
    Dataset:                fullbackup.ds
    Media family:           (null)
    Backup level:           full
    Priority:               100
    Privileged op:          no
    Eligible to run:        upon "backup --go"
    Job expires:            never
    Restriction:            any device
2:
    Dataset:                partialbackup.ds
    Media family:           (null)
    Backup level:           full
    Priority:               100
    Privileged op:          no
    Eligible to run:        upon "backup --go"
    Job expires:            never
    Restriction:            any device
ob> rmbackup 2
ob> lsbackup --long
1:
    Dataset:                fullbackup.ds
    Media family:           (null)
    Backup level:           full
    Priority:               100
    Privileged op:          no
    Eligible to run:        upon "backup --go"
    Job expires:            never
    Restriction:            any device