Oracle & PostgreSQL - Developer & Administrator
Your Personal Trainer for Oracle & PostgreSQL
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
Home
Subscribe to:
Comments (Atom)
Tip of the Day - Oracle & PostgreSQL (Fri, Jan 02 2026)
The 'grep' command in Unix with -C option $ grep -C 4 "ORA-" alert_FREE.log The 'grep -C' command is used in Unix...
No comments:
Post a Comment