Databases Reference
In-Depth Information
Renaming Users
The renuser command lets you rename an OSB user, as shown here:
ob> renuser salapati sam_alapati
The renuser command shown here renames user salapati to sam_alapati .
Removing Users
You can remove an OSB user with the rmuser command, as shown here:
ob> rmuser -nq salapati
The rmuser command in this example removes the OSB user salapati from the administrative domain after
displaying a confirmation message. The nq option is optional and specifies that there is no need for a prompt.
How It Works
You must “preauthorize” an OS user to access OSB and perform backup and recovery actions. Your OSB interaction
will be successful only if you've first authenticated the operating system user who starts the Oracle server session as an
Oracle Secure Backup user . The server session can use only the OSB user account that you create to perform backup
and recovery jobs.
You can also use the browser-based Oracle Secure Backup web tool to configure RMAN preauthorization. The
OSB web tool helps you configure an administrative domain, browse the backup catalog, and back up and restore the
file system. Once you configure a preauthorized OSB user account, the easiest way to make a connection between this
OSB account and RMAN is to simply use Database Control for that purpose.
Creating OSB Media Families for RMAN Backups
Problem
You want to create separate groups of tape volumes for different types of RMAN backup sets.
Solution
You can create named groups of tape volumes called media families that share common characteristics. You can
create separate media families for the data files and the archived redo logs, and you can assign them different
expiration and recycling policies, for example.
You can create a media family using the Enterprise Manager, the Oracle Secure Backup web tool, or the mkmf
command in obtool . In this recipe, we show you how to create a media family using the mkmf command.
You can create two types of media families: time-managed and content-managed . We provide an example
showing how to create a time-managed media family first. Here's the example:
ob> mkmf --vidunique --writewindow 14days --retain 28days family_time
 
Search WWH ::




Custom Search