RMAN Command for Database Backup

** The database must be in Archivelog mode **

RMAN Command for Level 0 backup


run
{
allocate channel d1 device type disk format '/tmp/ORCL_L0_%U.bkp';
BACKUP AS COMPRESSED BACKUPSET incremental level 0 DATABASE PLUS ARCHIVELOG DELETE INPUT;
}

RMAN Command for Level 1 backup


run
{
allocate channel d1 device type disk format '/tmp/ORCL_L1_%U.bkp';
BACKUP AS COMPRESSED BACKUPSET incremental level 1 DATABASE PLUS ARCHIVELOG DELETE INPUT;
}


No comments:

Post a Comment

ASM and Database does not auto start in Oracle restart environment (After Server start)

 If you are supporting Any Oracle restart environment and if you notice that your ASM instance and Database instance does not start automati...