Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
PDF · Mobi · ePub |
Use the mkssel
command to create a database backup storage selector. Oracle Secure Backup uses the information encapsulated in storage selectors for backup jobs when interacting with Recovery Manager (RMAN). You can modify the storage selector with the chssel command.
See Also:
"Database Backup Storage Selector Commands" for related commands
"Database Backup Storage Selectors and RMAN Media Management Parameters" for an explanation of how storage selectors interact with RMAN media management parameters
Oracle Secure Backup Administrator's Guide for a conceptual explanation of storage selectors
You must have the modify administrative domain's configuration right to use the mkssel
command.
mkss•el { --dbname/-d { * | dbname[,dbname]... } | --dbid/-i { * | dbid[,dbid]... } } { --host/-h { * | hostname[,hostname]... } } { --family/-f media-family } [ --content/-c { * | content[,content]... } ] [ --restrict/-r restriction[,restriction]... ] [ --copynum/-n { * | 1 | 2 | 3 | 4 } ] [ --waittime/-w duration ] sselname
Specifies the names of the databases to which this storage selector object applies. Specifying an asterisk (*
) indicates that the storage selector applies to all database names. You cannot combine the asterisk character (*
) with individual database names.
You must specify either --dbname
, --dbid
, or both. If you specify a database name but not a database ID, then the database ID defaults to all (*
).
Specifies the database IDs of the databases to which this storage selector object applies. Specifying an asterisk (*
) indicates that the storage selector applies to all database IDs. You cannot combine the asterisk character (*
) with individual database IDs.
You must specify either --dbname
, --dbid
, or both. If you specify a database ID but not a database name, then the database name defaults to all (*
).
Specifies the names of the database hosts to which this storage selector applies. Specifying an asterisk character (*
) indicates that the storage selector applies to all database hosts. You cannot combine the asterisk character (*
) with individual hosts. You must specify at least one host name.
Specifies the name of the media family to be used for backups under the control of this storage selector object. You can specify a media family that uses either a content-managed or time-managed expiration policy. You create media families with the mkmf command.
Specifies the backup contents to which this storage selector applies. Refer to "content" for a description of the content placeholder. Specify an asterisk (*
) to indicate all content types.
Specifies the names of devices to which backups controlled by this storage selector are restricted. By default, Oracle Secure Backup uses device polling to find any available device for use in backup operations. Refer to "restriction" for a description of the restriction placeholder.
Specifies the copy number to which this storage selector applies. The copy number must be an integer in the range of 1 to 4. Specify an asterisk (*
) to indicate that the storage selector applies to any copy number (default).
Specifies how long to wait for the availability of resources required by backups under the control of this storage selector. The default wait time is 1 hour. Refer to "duration" for a description of the duration placeholder.
Specifies the name of the database backup storage selector. Storage selector names are case-sensitive and must start with an alphanumeric character. They can contain only letters, numerals, dashes, underscores, and periods (no spaces). They may contain at most 127 characters.
Example 2-94 creates a storage selector named ssel_full
. The storage selector applies to the database with a DBID of 1557185567 on host brhost2
.