About this task
RMAN uses the format parameter in
the RMAN script to generate unique backup file names. Because all
backup objects inserted into the Tivoli Storage
Manager backup
storage pool have unique file names, they never expire on the Tivoli Storage
Manager server.
As a result, Data Protection for Oracle requires
the following Tivoli Storage
Manager policy
domain settings:
- Backup copy group values
- Data Protection for Oracle provides
the tdposync utility to remove unwanted backup objects
from the Tivoli Storage
Manager server.
Set the following Tivoli Storage
Manager backup
copy group options:
When Data Protection for Oracle marks
a backup object inactive, that object is deleted from the Tivoli Storage
Manager server the
next time expiration processing occurs. A backup object is marked
for immediate expiration when you delete it through RMAN with the Data Protection for Oracle interface
or with the tdposync utility. Note, an inactive backup
object cannot be restored through RMAN with the Data Protection for Oracle interface.
Note: - The Tivoli Storage
Manager administrator
must also register your node by specifying backdelete yes in
order for backup objects to be deleted. However, be aware that a backup
object is marked for immediate expiration when backdelete
yes and you delete it through RMAN with the Data Protection for Oracle interface
or with the tdposync utility. Note, when backdelete
no is specified and a deletion request is made, the request
fails and an error message displays.
- The following backup copy group options are not applicable to Data Protection for Oracle:
- frequency
- verexists
- retextra
- mode
- serialization
Data Protection for Oracle accepts
default values for these options.
- An archive copy group is not required (although
it can exist) because Data Protection for Oracle stores
all objects as backup objects on Tivoli Storage
Manager.
- Management class
- Tivoli Storage
Manager uses
management classes to manage backups on the Tivoli Storage
Manager server.
When you back up a database, the default management class for your
node is used. Because the policy requirements for Data Protection for Oracle might
be different from the wanted settings for the regular Tivoli Storage
Manager backup-archive
clients, you must have a different management class that is defined
for Data Protection for Oracle. You
must define a separate policy domain where the default management
class has the required settings. Then, register all Data Protection for Oracle nodes
to that domain.
If you choose to define a new management class
within an existing policy domain, not the default management class
for that domain, then you must add an include statement
to the Data Protection for Oracle options
file to bind all objects to that management class.
The following
steps assign a management class name orcbackup to
all Oracle backups with a default file space name adsmorc:
- Add this inclexcl entry under
the server stanza you use in the dsm.sys file:
inclexcl /u01/oracle/include.def
- Add this inclexcl entry under
the server stanza you use in the dsm.opt file:
inclexcl C:\myfile\include.def
-
Add the following
include entry
to the
/u01/oracle/include.def file:
include /adsmorc/.../* orcbackup
Add the following
include entry
to the
C:\myfile\include.def file:
include \adsmorc\...\* orcbackup
Note: The
file space name in the
include/exclude statement
must match the file space name that is defined with the
tdpo_fs option.
If a file space name other than the default value
adsmorc is
used:
- You must specify the file space name with the tdpo_fs option.
- You must specify the file space name that is defined in the tdpo_fs option
in the include/exclude statement.
All the files that are backed up with a default file space
name of adsmorc are assigned to management class orcbackup.
Note: Data Protection for Oracle stores
all objects as backup objects on Tivoli Storage
Manager storage,
so an archive copy group is not required, although it can exist.
See
your Tivoli Storage
Manager administrator
or see the Tivoli Storage
Manager Administrator's
Guide for more information about defining or updating Tivoli Storage
Manager policy
domains and copy groups.