Escolar Documentos
Profissional Documentos
Cultura Documentos
RMAN>delete obsolete recovery window of 10days; can specify our own retention
-----------------------------------------------------------------------------------------------------------RMAN :
To take backup of full database, connect to rman database
RMAN > backup as backupset database;
To also include Archive Log
RMAN> backup as backupset database plus archivelog;
To include only Tablespace
RMAN> backup as backupset tablespace tablespace_name;
We can specify a TAG name for the backup, to identify while recovering.
RMAN> Backup as backupset tag tag_name tablespace tablespace_name;
To Compress the backupset.
RMAN> backup as compressed backupset tag tag_name tablespace tablespacename;
We can check all backup list
RMAN> list backup summary;
While backup is running we can view the processes running.
SQL> Select option ,status,mbytes_processed, start_time, end_time from v$rman_status;
Recovery:
RMAN > report schema;
//to check Permanent Tablespace and Temporary Tablespace with datafile location.