RMAN Backup Strategy Comment Needed
Hi,
Currently I'm trying to implement a backup strategy with RMAN.
Scenario: My side we're 5 days operational (Monday to Friday). I'm planning my backup as follow:
Mon – Incremental level 1 differential
Tue – Incremental level 1 differential
Wed – Incremental level 1 cumulative
Thurs – Incremental level 1 differential
Fri – Incremental level 0 (aka full database backup)
I planned Mon,Tues and Thurs as an incremental differential, while Wed as an incremental cumulative. With Wed as a cumulative backup, my thinking is that if my db is to fail on Thurs/Fri, my recovery will need to apply fewer backups but at the expense of storage.
Any comment or view about the strategy will be greatly appreciated.
Thanks and Regards
Eugene (ET)
hi,
there is Oracle suggested backup strategy
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup004.htm
other
http://books.google.cz/books?id=3aEIIqRHkY8C&pg=RA1-PA326&lpg=RA1-PA326&dq=oracle+rman+backup+stratery&source=bl&ots=DrnVZ3tZPs&sig=QajKM0SXbpoa3eWZgl5kmwmSUPI&hl=cs&ei=o6xcSvSaCpKwsAbmu8yVDA&sa=X&oi=book_result&ct=result&resnum=4
Regards,
Tom
Similar Messages
-
Will RMAN backup all the needed files for me automatically ?
I have execued the following command:RMAN>CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
I want to know: Will RMAN backup all the needed files for me automatically every 14 days and delete the metadata of the files older than 14 days automatically?---------No.158Short answer is No.
What's the definition of all needed files ? datafiles, control files, archive logs and/or online redo? and perhaps spfiles?
RMAN>CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;This is RMAN configure command, it won't do any backup by itself. You need to issue backup command to backup files needed.
You also need to delete obsolete files. The files will become obsolete after 14days but they will not remove themselves automatically. -
Starting a RMAN backup strategy
Hi,
I took an incremental level 0 backup using RMAN while the database was in mount mode.
Are the archive logs from before the update still necessary in order to perform a recovery?
If not, how do I delete them using RMAN so that my next backup using 'backup database plus archivelog...' won't backup them?
Thanks.Hi,
Are the archive logs from before the update still necessary in order to perform a recovery?Only if you need to roll forward to a point in time from a previous backup.
Can you post the output of:
show retention policy;If you know the exact start time of the level 0 backup you could delete the old archivelogs with.
delete copy of archivelog all completed before "to_date('define_time_here','YYYY-MM-DD:HH24:MI:SS')";Regards,
Tycho -
hi,
just wanted to hear some thoughts from some pros..
platform: oracle 9i on windows
i switch from user-managed backups to rman recently. My full nightly backups are abt 20GB in size on completion.
we backup to tape, but i want to keep some disk backups for faster recovery.
i do not have disk space to keep more than 3 backups at any time. Cleanup will be regular and tedious. If i use a utility like gzip after, i can get it down to abt 4-5 GB and thus keep alot of backups on disk.
Does it make sense to compress all backups "older than the latest", and reduce the size so i can keep abt a week on disk?Backup & Recovery Check List
Alejandro Vargas
Oracle Support Israel.
Rman Recovery Scenarios And Configuration
1. Complete Closed Database Recovery. System tablespace is missing
2. Complete Open Database Recovery. Non system tablespace is missing
3. Complete Open Database Recovery (when the database is initially closed). Non
system tablespace is missing
4. Recovery of a Datafile that has no backups.
5. Restore and Recovery of a Datafile to a different location.
6. Control File Recovery
7. Incomplete Recovery, Until Time/Sequence/Cancel
download the pdf format of full document in the below link:
google it oracle backup and recovery scenarios
[PDF]
Backup & Recovery Check List
File Format: PDF/Adobe Acrobat - Quick View
Oracle Support Israel. User Managed Recovery Scenarios And Configuration .... 4. recover automatic database using backup controlfile; ...
static7.userland.com/oracle/gems/.../BackupAndRecoveryChecklist.pdf
It will be very useful and helps you.
regards,
Rajeysh -
Synchronous multimaster replication Backup strategy using RMAN
Hi all,
I am using synchronous multimaster replication. my question is backup strategy has to perofirm in all the master site or only in any of 1 mastersite? what all problems will encounter in RMAn backup in my scenario please help me out with your suggestion
nagaraj.K
[email protected]You ask: "I want to configure backup strategy using RMAN. any one can help me that"
And the answer is clearly no we can not.
An RMAN backup strategy depends on your SLA (Service Level Agreement) with your customers that you didn't post. What is your down-time window? What is your skill set?
You ask: "How to configure for RMAN Incremental backup?"
Read the docs at http://tahiti.oracle.com for your version (which you didn't mention).
You ask: "What will be backup space and there size ?"
We have no idea. Are you going to create an image copy or a backup set? Read the docs and learn the difference. Are you going to turn on compression? Are you going to back up only changed blocks? We don't know.
You ask: "how to manage growing online archiving files?"
Again we can't help you without knowing your SLA. How many MG/GB are they? What period of time do you need to retain them to meet your SLA? When you figure this out back up to tape those you don't need to keep on the server.
You ask: "how to manage growing data and there disk space?"
This is one we can answer: BUY MORE DISK! That was easy.
You ask: "How we can give good performance our CPU and memory?"
Do you really expect that we can with zero knowledge of your environment, your version, your application, etc. distill into a few short paragraphs the collective wisdom of Cary Millsap, Jonathan Lewis, and the rest of the Oak Table Network membership?
Of course we can not. So what you need to do is buy Cary's book, Jonathan's book, and take their classes.
You ask: "we need keep all archive log in backup files or we need to remove old archive files?"
Remove the old ones after being absolutely sure you have a good backup.
You ask: "where we can take backup tape drive,SAN,disk removable hard disk? which one is better?"
No one solution is better than the other. They are all adequate. -
RMAN backup in ORACLE RAC database
Hi there,
We are using RMAN backup strategy for taking backups from one node(eg.node1).Database is RAC database, version 9.2.3. and OS is Solaris 5.10.
this is the configuration which we use, as follows:
Connecting to Prod.Database using catalog database.
rman catalog=rman/rman@CATDB target=sys/oracle@PRODDB(node 2).
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 30;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rmanback/_%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/CMWPROD_%s.bak';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK CONNECT 'SYS/oracle@PRODDB(node2)';
CONFIGURE MAXSETSIZE TO 7 G;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/9.2.3/dbs/snapcf_CMWPROD1.f';
As the above config shows RMAN is connecting to PROD DB (node 2). But we need to take backups (datafiles and as well as archive logs) from two nodes (i.e from node 1 and as well as node 2).
Is there any possibility for taking backups from two nodes?
Thanks,
Balu.Duplicate thread
RMAN configuration in ORACLE RAC database
Khurram -
Production Database Advance backup Strategy
Hi,
Now I am taking the backup with Rman Scripts daily after 6 PM. But the problem is that my company can not afford any data loss. I want to implement the backup advance backup startegy. Please I am going implement the advance backup strategy. Environment is
1.EBS R12.0.4
2.Database 10g R2.
4.Plateform RHEL AS 4.0.
Please guide me step by step how can I implement this backup startegy.
Help will be highly appreciated.
Regards.
pzdbaNow I am taking the backup with Rman Scripts daily after 6 PM. But the problem is that my company can not afford any data loss. I want to implement the backup advance backup startegy. Please I am going implement the advance backup strategy. Environment is What is you current backup mode
What kind of advance strategy are you looking for
If you are in archivelog mode and have your archivelogs
If you are backing up full
if you are backing up to the disk and your mirrored that disk in case of loosing disk failure
What kind of advance backup strategy you need more ?
what you need is testing the consistency of you backups. If they are consistent if you can recover the database it means you dont have data loss option with your current strategy.
Also you need to be sure about the time of backup to cover your needs. -
Rman backup full then level 0 and level 1 Weekly
Please share your thoughts of backups.
Friday -> Take a full rman backup
Saturday -> Take a level 0 rman backup -> If recovery needed restore full and apply level 0 ?
Sunday -> Take a level 1 rman backup -> If recovery needed restore full and apply incremental 1 ?
Monday -> Take a level 2 rman backup -> If recover needed restore full and apply incremental 1 ?
Tuesday -> Take a level 1 rman backup -> If recover needed restore full and apply incremental 2 ?
Wednesday -> Take a level 2 rman backup -> If recovery needed restore full and apply incremental 1 ?
Thursday -> Take a level 1 rman backup -> If recovery need restore full and apply incremental 2 ?
ThanksPlease note that Full and level 0 backs are same...
Sunday -> Take a level 0 rman backup
Monday -> Take a level 1 rman backup
Tuesday -> Take a level 1 rman backup
Wednesday -> Take a level 2 rman backup
Thursday -> Take a level 1 rman backup
Friday-> Take a level 1 rman backup
Saturday -> Take a level 1 rman backup
Taking level 2 in the middle of the week, so that in case of any recovery you need ao apply changes since the last level 0, 1 or 2 -
Regarding an External HD Backup Strategy...
I have tried some of the suggestions for a backup strategy and need more help. I partitioned the external drive (LaCie 250 GB via Firewire 800) into three volumes: one volume large enough for a clone of my internal HD, one volume for Mac OS X and TechTool Pro, and one for data.
1. When partitioning using Apple's Disk Utility, I could only choose one "option" for all volumes: the best options included "GUID Partition Table" (If I want to use that disk to start up an Intel-based Mac) or Apple Partition Map (If I want to use that drive as a non-startup disk with any Mac). I checked the box for Mac OS 9 drivers to be installed and chose the Apple Partition Map. I did this because I used SuperDuper! to clone my HD and checked the option to make that backup bootable (which is an option in SuperDuper). Is it still bootable on a non-GUID formatted drive? Are the Mac OS 9 drivers necessary? Does it hurt to have them?
2. When I install Mac OS X and TechTool Pro on the other volume, how do I make that volume bootable? When this is done, do I have to boot from this volume to update to 10.4.9? Will the Mac OS 9 drivers hinder this volume when I try to boot from it?
3. In case I do need to reformat using the GUID Partition Table, can I still store data on a volume that I don't intend to boot from? Should I still install the Mac OS 9 drivers if I am installing Mac OS X?
4. Is there a way to safely test these bootable volumes and the backup?
Thank you for your time and advice.1. GUID is fine, but you don't need an OS9 drivers on an Intel Mac, no harm if they are on there.
2. At start up you hold down [option] and it will list all possible Boot volumes, select the one you wish to use.
3. Yes you can store data on any format, the main impact the format has in that case is whether the volume is read/write capable from Mac OS and/or Windows.
4. Once you've made your clone of the main hard drive onto the external volume, reboot holding down [option] and try booting from it ... -
Hi everybody
What are the steps needed if move the RMAN backup to other location in the OS level
(ie) every week i have to move the backup to other locationThere are not problem for example:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\comp>set ORACLE_SID=W
C:\Documents and Settings\comp>sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Mon Apr 26 14:53:08 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
C:\Documents and Settings\comp>sqlplus "sys/sm as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Mon Apr 26 14:53:15 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 12
Current log sequence 14
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 125829120 bytes
Fixed Size 1288100 bytes
Variable Size 71305308 bytes
Database Buffers 46137344 bytes
Redo Buffers 7098368 bytes
Database mounted.
SQL> alter database archivelog;
Database altered.
SQL> alter databaseop;
alter databaseop
ERROR at line 1:
ORA-00940: invalid ALTER command
SQL> alter database open;
Database altered.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
C:\Documents and Settings\comp>rman target sys/sm
Recovery Manager: Release 10.2.0.2.0 - Production on Mon Apr 26 14:55:58 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: W (DBID=754336873)
RMAN> backup database;
Starting backup at 26-APR-10
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=144 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSTEM01.DBF
input datafile fno=00003 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSAUX01.DBF
input datafile fno=00005 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\EXAMPLE01.DBF
input datafile fno=00002 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\UNDOTBS01.DBF
input datafile fno=00004 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 26-APR-10
channel ORA_DISK_1: finished piece 1 at 26-APR-10
piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_04_26
\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP tag=TAG20100426T145611 comment=NON
E
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:34
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 26-APR-10
channel ORA_DISK_1: finished piece 1 at 26-APR-10
piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_04_26
\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP tag=TAG20100426T145611 comment=NON
E
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:05
Finished backup at 26-APR-10
RMAN> crossckeck backupset;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter
, backup, beginline, blockrecover, catalog, change, connect, copy, convert, crea
te, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flas
hback, host, {, library, list, mount, open, print, quit, recover, register, rele
ase, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, s
et, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport
, upgrade, unregister, validate"
RMAN-01008: the bad identifier was: crossckeck
RMAN-01007: at line 1 column 1 file: standard input
RMAN> crosscheck backupset;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
0_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP recid=1 stamp=717346573
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
0_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP recid=2 stamp=717346669
Crosschecked 2 objects
RMAN> delete expired backupset
2> ;
using channel ORA_DISK_1
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
1 1 1 1 EXPIRED DISK D:\ORACLE\PRODUCT\10.2.0\FLASH_R
ECOVERY_AREA\W\BACKUPSET\2010_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
2 2 1 1 EXPIRED DISK D:\ORACLE\PRODUCT\10.2.0\FLASH_R
ECOVERY_AREA\W\BACKUPSET\2010_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
Do you really want to delete the above objects (enter YES or NO)? y
deleted backup piece
backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
0_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP recid=1 stamp=717346573
deleted backup piece
backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
0_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP recid=2 stamp=717346669
Deleted 2 EXPIRED objects
now i copy all backup to c:\db
then
RMAN> catalog start with 'c:\db';
searching for all files that match the pattern c:\db
List of Files Unknown to the Database
=====================================
File Name: C:\db\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
File Name: C:\db\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
Do you really want to catalog the above files (enter YES or NO)? y
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: C:\db\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
File Name: C:\db\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
RMAN> list backupset;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1 Full 592.76M DISK 00:01:26 26-APR-10
BP Key: 4 Status: AVAILABLE Compressed: NO Tag: TAG20100426T145611
Piece Name: C:\DB\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
List of Datafiles in backup set 1
File LV Type Ckp SCN Ckp Time Name
1 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSTEM01.
DBF
2 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\UNDOTBS01
.DBF
3 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSAUX01.
DBF
4 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\USERS01.D
BF
5 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\EXAMPLE01
.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
2 Full 6.80M DISK 00:00:04 26-APR-10
BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20100426T145611
Piece Name: C:\DB\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
Control File Included: Ckp SCN: 947720 Ckp time: 26-APR-10
SPFILE Included: Modification time: 26-APR-10
RMAN> -
WHAT IS BEST STRATEGY FOR RMAN BACKUP CONFIGURATION
Hi all,
my database size is 50GB I want TAKe WEEKLY FULL BACKUP AND INCREMENTAL BACKUP
WITHOUT RECOVERY CATALOG.by follwing commands
weekly full database backup
run
backup as compressed backupset
incremental level=0
device type disk
tag "weekly_database"
format '/sw/weekly_database_%d_t%t_c%c_s%s_p%p'
database;
I want do CONFIGURE RMAN BY FOLLWING stragtegy
CONFIGURE RETENTION POLICY TO REDUNDANCY window of 14 days.
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
'\SW\AUTOCFILE_'%F';
and other is by default
sql>alter system set control_file_record_keep_time=15 days;
os--aix6 and for two database 10g2 and 11g2
what is best configuration strategy for rman backup.AND BACKUP WITH RECOVERY CATALOG OR WITHOUT RECOVERY CATALOG
PLEASE TELL ME
Edited by: afzal on Feb 26, 2011 1:45 AMFor simply two databases, there really wouldn't be a need for a recovery catalog. You can still restore/recover without a controlfile and without a recovery catalog.
From this:
afzal wrote:
CONFIGURE RETENTION POLICY TO REDUNDANCY window of 14 days.I am assuming you want to keep two weeks worth of backups, therefore these:
alter system set control_file_record_keep_time=15 days;
CONFIGURE RETENTION POLICY TO REDUNDANCY window of 14 daysShould be:
RMAN> sql 'alter system set control_file_record_keep_time=22';
RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14;22 would give you that extra layer of protection for instances when a problem occurs with a backup and you want to ensure that data doesn't get aged out. -
Need Advice on Backup strategy
Hi,
Database version:10.2.0.
Database Size:60GB.
Daily Updation Approximately :2GB.
I need some advice on my backup strategy.
My backup startegy:
Monthly Once, Date: 1 Full backup (Incremental level 0).
Daily Incremental level 2 backup from Date: 2 to 6.
Weekly Once Incremental leve 1 backup on Date:7.
Daily Incremental level 2 backup from Date:8 to 13.
Weekly Incremental level 1 backup on Date:14.
Daily Incremental level 2 backup from Date:15 to 21.
Weekly Incremental level 1 backup on Date:22.
Daily Incremental level 2 backup from Date:23 to 28.
Weekly Incremental level 1 backup on Date:29.
My system requirments are i have only 70GB disk to store the backups, i can store only the full backup in it.So what i am doing is, Am storing the full backup in my disk and am transfering the Incrmental level 1(weekly Once backup) to the Tape and deleting the Daily level 2 backups, after taking that weekly backup.
Is my strategy correct or should i do anything different plz give me some advice.
TIA,This backup strategy doesn't look bad. However the 70G of free space will be a pain in the neck. I suggest you to increase storage. Have you considered archivelog too? This average 2G daily transaction rate will increase storage requirements, sooner or later, so backup storage requirements.
~ Madrid -
Need Advice on RMAN backup script
Hi;
Can any one advice if any error or guide to make RMAN backup proper :
Backup Policy are:
1. 0 level backup
2. current log file is arvhived before backing up
3. backup whole database (datafiles)
4. backup separate control file
5. backup is done on disk
6. control file auto backup ON
7. only 7 days archive log are need to be preserve ; old need to be deleted
### one time paramters seting
RMAN> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
RMAN> CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'O:\rman\backup\Auto_Ctrl_weekly_%F';
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
### Command for weekly 0 level backup
run {
allocate channel c1 type disk;
sql 'alter system archive log current';
backup incremental level 0 tag = weekly_database format 'o:\rman\backup\full_weekly_%d_%s_%p_%t'(database);
release channel c1;
configure controlfile autobackup format for device type disk to 'o:\rman\backup\auto_ctrl_weekly_%f';
allocate channel c1 type disk;
backup tag = weekly_arch archivelog until time 'sysdate-7' format 'o:\rman\backup\archive_weekly_%d_%s_%p_%t';
delete archivelog until time 'sysdate-7';
release channel c1;
Regards
SmithDear Pierre F.;
Actually, I just added in my backup plan to have daily backup through RMAN, instead of COLD backup.
I have planned to take cold backup once a week. here is the side of data:
*** datafile 410
*** size of database : 86 GM
*** relog files size : 250MB
*** daily archive logs are : 250MB * 4(number of files) = 1GM aprox.
yes, time constraint is there; just because of the size of database. and we r going for 24/7
Is this script going to run only one per week ?
Ans: no I this was level 0 backup; i will take level 1 incremental backup with same script daily too.
Do you have any other RMAN script ?
ANS: no, I will modify same script for incremental.
after local copy of backup all backup files (RMAN) will be copy over network to backup server or we can install LTO tape device to copy directly from database server.
kindly advise me I am new in RMAN.
regards;
SMITH -
RMAN backups need info about available options
Hi All
In our new 10.2.0.3 RAC environment on windows 2003 os we have our database configured on ASM and oracle home placed on OCFS. As it is a prod environment, we do not have the comfort to shutdown the cold copy of the database and so we're running the daily rman full db backup .. however, in case of an event where the datafiles need a restore.. I am not sure if the rman backup i take will be sufficient.. I issue the below command to take the full database backup and I get a compressed back up set..
RMAN> backup up device type disk format 'd:\database\%U' database;
I do have the FRA configured on ASM DG but i see that this DG is almost free. could any please advice what are the options available for me to take the entire database backup (including files) which can help me restore the datafiles if necessary.. my database is about 70GB in size but is very critical for organisations functioning..
thanks!
Sarat.Thanks for the quick reply steve and werner...
Because we are doing a daily Full database backup (compressed) I did not include the archive logs to be backed up. In our environment, we keep moving arc logs to another archive location regularly. and once back up is complete and successful we clean up all archives using another job as we no longer would need them in case if we need to restore from the RMAN backup.. and as we retain all archives between one rman bkp and the next one.. we are also not backing up these along with the database.. Is this dangerous? I thought we will always have one database copy (compressed) available on disk and can help us restore from it if required.. But my major concern is what if a datafile is accidentally deleted/ disk fails on ASM. In this case.. the RMAN backup will not be sufficient because if cannot create the physical structure.. in such a case, will configuring the FRA it self be sufficient? Do I need to perform any additional steps to ensure the physical structure can also be restored? Please advice..
rman is configured to backup control file and sp file and my exact script looks like below .. and we run it every day
crosscheck backup;
crosscheck backup of controlfile;
delete force noprompt obsolete;
delete backup;
backup device type disk format 'D:\oracle\DBBackUp\%U' database;
exit; -
Need to Configure RMAN backup in 8.1.7.4.1
I have been asked to design a backup and recovery strategy for our production and test databases
I got 2003 Enterprise server with 3 disks of each 300gb.
There are 10 databases running in versions 8,9,10 with 5 production and 5 UAT database.
The sum of the Db will be around 70Gb
I got 200Gb free space in 2 disks
how can i design a BACKUP startegy here. I have palnned to use RMAN backups.
Any useful links and proper guiding from you people expected.
Right Now there is only export backup in Night.
I have informed them we are running the Db in risk,.They have asked me to comeup with a plan.
Any help please
Message was edited by:
Maran.EMaran,
>
Is it possible to backup 8.1.7.4.1 by 10g database.
i can create a recovery catalog in 10g and wil i be able to backup a 8 and 9 Db
>
I have test 10g catalog with 9i. No idea with the 8i.
I guess, 8i(817) is more comportable with 10g and it should work.
Have a try with your test database and also cross check the metrix with different version in the Metalink.
Jaffar
Good news Maran,
I just come across of the following note which explains the RMAN compatibility between 8 - 10g versions.
RMAN Compatibility Oracle8i 8.1.7.4 - Oracle10g 10.1.0.4
Doc ID: Note:307022.1
In case, if you dont have access to metalink, the punch line from the note is :
SUMMARY
=======
Is best practice to use 'rule of thumb'. Always used the target database RMAN executable and the latest release of Oracle for your recovery catalog.
If you are going to use a lower version RMAN executable to backup higher version databases remember you are restricted to only the features available
in the database your using. But the executable you are using must be able to handle the feature or configuration you are using. Case and point the
RMAN-06466 error above where in 9.0.1 there is no concept of "AS BACKUPSET".
Because configure commands were executed some options in the controlfile were not understood when parsed by the lower version RMAN.
Message was edited by:
Syed Jaffar
Maybe you are looking for
-
Hi, I am creating homepage report and giving the path(Company Wide Shared Folder : Shared Report : Report folder : Acount report). Still Account is not showing in the homepage. Please help. Thanks Arpita
-
Conditionally making a field invisible.....
XMLP Gurus, Some of the values in a column has dots(.). Conditionally i have to make it invisible. I tried replacing null value for a dot using decode function, but in this case the other column values are shifting themselves up by taking place of nu
-
No web cam since windows 8 l505-s5988
I hope this is the best subforum for this (wasnt sure if this one or windows 8 subforum or another one). I recently bought a really good Satellite l505-s5988 & had to put Windows 8 on it. Everything has seemed to work great except apparently the buil
-
Hi All, Do anyone know uploading ABAP roles in Portal programatically instead 'Role upload' method? Thanks & Regards V.Das
-
Differentiating between Travel reports & Weekly Reports
I need to prepare a report for Management detailing all the trip reports and weekly reports (In weekly reports we include only petty expenses not related to travel) I know there is a report in SAP "y_ab_rpr_trip_dbl" but it shows a combination of tri