|
Oracle Home |
|
Home > Oracle Database Administration (DBA) > Backup & Recovery > RMAN Configuration |
|
Oracle Database 10g Administration (DBA): Backup and Recovery |
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RMAN Configuration |
||||||||||||||||
|
1. Which is the default RMAN configuration ?
show all; NOTES:
2. How could I restore the actual configuration to the default value ?
CONFIGURE RETENTION POLICY CLEAR; CONFIGURE BACKUP OPTIMIZATION CLEAR; CONFIGURE DEFAULT DEVICE TYPE CLEAR; CONFIGURE CONTROLFILE AUTOBACKUP CLEAR; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK CLEAR; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT CLEAR; CONFIGURE DEVICE TYPE DISK CLEAR; CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK CLEAR; CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT CLEAR; CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK CLEAR; CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT CLEAR; CONFIGURE CHANNEL DEVICE TYPE DISK CLEAR; CONFIGURE CHANNEL DEVICE TYPE SBT CLEAR; CONFIGURE MAXSETSIZE CLEAR; CONFIGURE SNAPSHOT CONTROLFILE NAME CLEAR;
3. Using substitution variables
RMAN can make use of substitution variables in creating format strings to generate UNIQUE file names. If the file names are not unique the files will be overwritten and the data will be lost.
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 30 DAYS; >> After 30 days the backup will become OBSOLETE.
CONFIGURE RETENTION POLICY TO REDUNDANCY 3; >> The latest 3 backups will NOT be OBSOLETE. The others will be.
When configuring a retention policy, RMAN will NOT cause backups to be automatically deleted.
REPORT OBSOLETE; -> List the backups (on disk) that have become obsolete with the current retention policy. DELETE OBSOLETE; -> Delete the obsolete backup files. delete
noprompt obsolete;
NOTES:
More information about this subject ( RMAN Configuration ) you can get from www.in-oracle.com
|
|
Home > Oracle Database Administration (DBA) > Backup & Recovery > RMAN Configuration |
|
Different Romanian Links/ Linkuri romanesti diferite |
Disclaimer: The views expressed on this web site are my own and do not reflect the views of Oracle Corporation. You may use the information from this site only at your risk. Copyright (c) 2009-2011 Paul Catalin Tomoiu. All rights reserved.