Databases Reference
In-Depth Information
You can use the mkmf command with numerous options. In the simple example here, the options are as follows:
vidunique creates a unique volume ID for the new media family.
writewindow specifies a time window for the write window , which is the time during which
you can update the volume set by adding backup images to it. OSB can use the volume family
for backups until the write window remains open. In the example here, the write window is set
to 14, which means all volumes in this media family will be available for update for 14 days.
retain specifies the amount of time for which the volumes in the media family are retained
before being possibly overwritten. In the example, the retention parameter is set to 28 days.
However, each volume in the backup expires only after 42 days after the first time OSB makes
a backup to the volume, since OSB adds the write window duration (14 days) to volume
retention time (28 days) to arrive at the volume expiration time (42 days).
The last item in the command,
family_time , is the name of the media family. The next
example shows how to create a content-managed media family, again by executing the mkmf
command:
[oracle@virtual1 ~]$ obtool --user admin --password Ninamma11
ob> mkmf --vidunique --writewindow forever family_content_1
ob>
By giving the value forever for the writewindow parameter, you're specifying that OSB can update all volumes
in this media family indefinitely. The name of the media family is family_content_1 .
How It Works
Create media families to separate your OSB tape volumes into meaningful groups. For example, if you want to retain
a set of tape volumes for six months, you can do so by using a time-based media family and specifying 180 days as the
value for the retain parameter.
The key thing to understand is that all volumes that are members of a media family share the same retention and
other characteristics. Note that this applies to all volumes, no matter when they were created.
The default volume expiration policy for a media family is the content-managed policy. A volume that's a
member of such a family expires when the status of all the backup pieces stored on that volume is set to be deleted .
Media volumes that belong to time-managed policy-based media families, on the other hand, will expire only when
the expiration time is reached, as explained in the Solution section of this recipe.
Creating an OSB Database Backup Storage Selector
Problem
You want to create a database backup storage selector for OSB.
Solution
You can configure a database backup storage selector by using the web tool or the mkssel command in obtool, or by
using the Enterprise Manager. In this recipe, we show you how to create a database backup storage selector using the
mkssel command in obtool .
 
Search WWH ::




Custom Search