Oracle9i Recovery Manager Reference Release 1 (9.0.1) Part Number A90136-02 |
|
RMAN Commands , 31 of 60
A subclause specifying the status of a backup or copy in relation to a retention policy. The KEEP
option marks the backup or copy as exempt from the retention policy (that is, not obsolete), and the NOKEEP
option undoes any existing exemptions.
This example makes a long-term backup of the database and specifies that it should never become obsolete and that the logs required to recover it should not be retained:
BACKUP DATABASE KEEP FOREVER NOLOGS;
This example specifies that any long-term copies of datafiles 1, 2, 3, 4, and 5 should lose their exempt status and so become eligible to be obsolete according to the existing retention policy:
CHANGE COPY OF DATAFILE 1,2,3,4,5 NOKEEP;
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|