oracle 11g RMAN backup procedure

Published on June 2016 | Categories: Types, Instruction manuals | Downloads: 72 | Comments: 0 | Views: 350
of 3
Download PDF   Embed   Report

oracle 11g backup through RMAN. Its incremental backup steps.

Comments

Content

Oracle 11g RMAN Incremental Backup
DB should be backed up in ARCHIVELOG mode for Incremental Backup. 1. ORACLE_HOME=/u01/app/oracle/product/11.0.1/db_1 export ORACLE_HOME ORACLE_SID=orcl1 export ORACLE_SID PATH=$PATH:$ORACLE_HOME/bin 2. $ sqlplus / as sysdba SQL> Select log_mode From v$database; O/P -> Make sure the DB is in ARCHIVELOG mode SQL> exit 3. rman target=/ 4. RMAN> Backup incremental level 0 database plus archivelog delete input; 5. RMAN> exit 6. SQL to check the size of the Backup $ sqlplus / as sysdba SQL> Select a.set_count, a.start_time, a.completion_time, sum(b.blocks) From v$backup_set a, v$backup_datafile b Where a.set_count = b.set_countand to_char(a.start_time, 'mm/dd/yyyy hh24:mi:ss') = (Select to_char(max(start_time), 'mm/dd/yyyy hh24:mi:ss') From v$backup_set Where incremental_level = 0)

group by a.set_count, a.start_time, a.completion_time; --------To do a incremental level 1 backup 7. rman target=/ RMAN> Backup incremental level 1 database plus archivelog delete input; 8. RMAN> exit Note: To check the size of the incremental level 1 Backup use SQL in step 6 except use incremental_level = 1 in the inner Where clause. ----------------------------------------------------------

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close