Você está na página 1de 2

RMAN backup deleting..!!

Deleting all RMAN backups:


RMAN>delete backup;
RMAN > List Backup Summary;
//To check the List of Backup taken using rman,
S If value is X , back up is Expired That means backup does not exist physically
If Value is A, back up is not Expired
Date if Back Up is too old then back up may have crossed retention period and is
Obsolete.
RMAN> crosscheck backup;
//To check backups that physically existing in the database or no.
RMAN> delete obsolete;

Will prompt with a message asking for confirmation.

RMAN> delete noprompt obsolete;

Will not prompt asking for confirmation

RMAN>delete obsolete recovery window of 10days; can specify our own retention

RMAN > delete expired backup;

to delete all expired backups

-----------------------------------------------------------------------------------------------------------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.

Você também pode gostar