-
Recent Posts
Recent Comments
Archives
- May 2015
- April 2015
- February 2015
- January 2015
- December 2014
- September 2013
- August 2013
- February 2013
- January 2013
- November 2012
- October 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- January 2012
- December 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
Categories
Meta
Category Archives: RMAN
Write RMAN OUTPUT DATA TO A LOG FILE
login in rman rman target sys/pass@production catalog rmancat/rman spool log to ‘mytext.log’; LIST BACKUP; spool log off;
Posted in RMAN
Leave a comment
SOME USEFUL RMAN COMMAND
1. TO LIST ALL RMAN stored script RMAN>LIST SCRIPT NAMES;
Posted in RMAN
Leave a comment
To create RMAN yearly backup script
1. First login to RMAN 2. create script yearly_backup comment “yearly backup of 2011 of Whole Database” { allocate channel t1 type ‘sbt_tape’ parms ‘ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)’; sql “alter system switch logfile”; backup incremental level 0 database tag ‘year_closing_2011’ keep until time … Continue reading
Posted in RMAN
Leave a comment
RMAN INCREMENTAL BACKUP
run { allocate channel t1 type ‘sbt_tape’ parms ‘ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)’; #sql “alter system switch logfile”; backup incremental level 1 database; backup archivelog all; delete noprompt archivelog until time ‘sysdate -3’; }
Posted in RMAN
Leave a comment
RMAN LEVEL 0 BACKUP
run { allocate channel t1 type ‘sbt_tape’ parms ‘ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)’; sql “alter system switch logfile”; backup incremental level 0 database; backup archivelog all; delete noprompt archivelog until time ‘sysdate -3’; }
Posted in RMAN
Leave a comment
Recovery Catalog Creation (Tivoli)
Create Catalog Database and User 1. First Create a catalog database. 2.Log in as sys and create tablespace for RMAN backup; SQL> create tablespace rman_ts datafile ‘/cityfs/test/rman_ts01.dbf’ size 100M; Tablespace created. 3.Create the Recovery Catalog Owner in the database CREATE … Continue reading
Posted in RMAN
Leave a comment
How to free flash recovery area ?
How to free flash recovery area ? Answer : delete the file manually from the operating system (using the ‘rm’ command) , the files should location should be known by the parameter db_recovery_file_dest For Example if db_recovery_file_dest = /data/recover Then … Continue reading
Posted in RMAN
11 Comments