Database Reference
In-Depth Information
e xeRCiSe 3.1 (continued)
3. Configure the retention policy to redundancy of 2:
RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
old RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
new RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
new RMAN configuration parameters are successfully stored
4. Configure control-file autobackups on:
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP on;
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters are successfully stored
5. Configure for compressed backup sets:
RMAN> CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP
TYPE TO COMPRESSED BACKUP SET;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE
TO COMPRESSED BACKUP SET;
new RMAN configuration parameters are successfully stored
6. Create a directory to hold the snapshot control file (you will want to use your own
directory paths, of course):
RMAN> host "mkdir \oracle01";
host command complete
RMAN> host "mkdir \oracle01\snapshot";
host command complete
7. Configure RMAN so the snapshot control file will be created in the new directory:
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'c:\oracle01\snapshot';
new RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'c:\oracle01\snapshot';
new RMAN configuration parameters are successfully stored
8. Exit RMAN:
RMAN> exit
Recovery Manager complete.
Search WWH ::




Custom Search