Backups User managed to RMAN
Hi,
RE: Oracle 9i, 9.2... on Linux Red Hat.
I am managing around 10 Oracle databases. Currently they are user managed backups.
I need to move to RMAN backups.
Any good up-to date [Oracle notes / Metalink doc ID / Sample code] you can suggest?
Thanks in advance.
You find all documentation here on OTN, start with
Oracle® Database Backup and Recovery Quick Start Guide
http://download-uk.oracle.com/docs/cd/B19306_01/backup.102/b14193/toc.htm
Even if you don't plan to use EM as backup/recovery GUI, you may use it to create scripts as templates, which later will run outside of EM.
Werner
Similar Messages
-
After user managed restore, RMAN not work.
[oracle@blade1-redhat ~]$ rman target / catalog rman/rman@infra
Recovery Manager: Release 9.2.0.8.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: PROD (DBID=26786809)
connected to recovery catalog database
RMAN> backup database;
Starting backup at 22-FEB-07
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 02/22/2007 12:12:55
RMAN-03014: implicit resync of recovery catalog failed
RMAN-03009: failure of full resync command on default channel at 02/22/2007 12:12:55
RMAN-20032: checkpoint change# too low
RMAN-20032 checkpoint change# too low
Cause: The checkpoint change# is less than the one of the previous resync or the checkpoint change# is null.
Action: Make sure that the right control file is used
Hi,
I am using right control file
Thanks.After user managed restore,From where did you restore?? Means from RMAN itself or from some other backup source?? Did you open it with resetlogs?? What actually you did can you explain in little detail.
Daljit Singh -
User managed coldbkp vs rman cold backup
Hi,
I confused about rman cold backup in no catalog mode while restore the backup.please anyone clarify it.
1,I am not confused about user manged cold backup.I took the backup (spfile,control file,redo file,datafile,password file.)Is it right one?
2,In rman cold backup in no catalog mod, we used backup sets for backup,control file is autobackup is enabled.
The backup set format is not OS format.The backup stored at flash recovery area.
Just assume,
I lost all files(spfile,control file,redo file,datafile,password file.)How to recover that.
I am not able to identity spfile & control file in backupset in flash recovery area.
How to identity the spfile,control file during the restoration?
3,Rman takes the copy of online redo file in cold backup?
If it's not,How to recover the database & in user managed backup,copy of online redo log file is must?
4,What is the difference between dbid & sid?when it is used?
5,Can i specifty format for spfile when i take the backup? can i use trace file(control file ) for restoration?
I read the oracle documents, but I am not understand the above things clearly.please anyone rectify it.user3266490 wrote:
Hi,
I confused about rman cold backup in no catalog mode while restore the backup.please anyone clarify it.
1,I am not confused about user manged cold backup.I took the backup (spfile,control file,redo file,datafile,password file.)Is it right one?
Yes,you are right,but first need SHUTDOWN IMMEDIATE;
>
2,In rman cold backup in no catalog mod, we used backup sets for backup,control file is autobackup is enabled.
The backup set format is not OS format.The backup stored at flash recovery area.
If you do not explicitly configured rman then yes it will backup to FRA.
Just assume,
I lost all files(spfile,control file,redo file,datafile,password file.)How to recover that.
First need SET (EXPORT) ORACLE_SID and then
rman target /
startup force nomount;
restore spfile from 'autobackuplocation';
startup force nomount;
restore controlfile from 'autobackuplocation';
catalog start with 'backupandarchiveloglocation';
restore database;
recover database;
alter database open resetlogs;
I am not able to identity spfile & control file in backupset in flash recovery area.
From rman you can execute LIST BACKUP or LIST BACKUP OF CONTROLFILE;
How to identity the spfile,control file during the restoration?
3,Rman takes the copy of online redo file in cold backup?No,RMAN do not backup online logs,due to this do not need.
If it's not,How to recover the database & in user managed backup,copy of online redo log file is must?
If cold backup then you can open database with resetlogs option and online logs will create automatically(if you did not copy this logs)
>
4,What is the difference between dbid & sid?when it is used?
DBID is unique identify database in recovery catalog and using this you can restore controlfile easily.But SID is ORACLE_SID and identify instance.This is environment variable like ORACLE_HOME
5,Can i specifty format for spfile when i take the backup? can i use trace file(control file ) for restoration?
Yes you can identify format manually for spfile. ALTER DATABASE BACKUP CONTROLFILE TO TRACE ... this statement use to getting script for recreating controlfile again.So this is not backup and you can notuse for restoring controlfile.If you do not have a backup of controlfile and all datafilesd available then you can use this statement.
I read the oracle documents, but I am not understand the above things clearly.please anyone rectify it.All these and with all situation clearly explained below doc
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/toc.htm -
Doubt between RMAN and User Managed Backup
Friends,
OS: RHEL AS 3.0
DB: 9iR2
Currently we are taking user managed backup.
rman is in testing(learning) process.
Is it possible to take rman backup and user managed backup of a database one after another?
what i mean is.....suppose, if we configure rman for auto backup at 9pm daily. can i take user managed backup before 8pm or after 10pm?
Am i have to take any precaution's?
suppose, rman is failed can i restore the db with user managed backup?
thanksYes, it is possible to perform both user managed backups and RMAN backups.
It is a waste of resources, but it is possible.
You would need to make sure both backups do not overlap each other.
Whether you can restore your database with user managed backup depends completely on the quality of the user managed backup, and whether you have proper (and tested) restore procedures in place.
Sybrand Bakker
Senior Oracle DBA -
Is User-managed Backup&Recovery Useless Because of RMAN?
Is user-managed backup&recovery method useless because of RMAN?
Nice dicussion!
Also, one has to remember that if your database is using ASM, RMAN is the only option for backup/restore/recover (atleast in 10g).
Can SAN Snapshot/SplitMirroring be used to take a backup of database using ASM?
--MM -
User managed backup and rman oralce 10g
hi guys
what are the enhancement of user managed backup and rman in oralce 10g
would u pls tell me in understandable manner
thanks in advanceHi,
what are the enhancement of user managed backup and rman in oralce 10g
would u pls tell me in understandable manneRefer below link
http://dbataj.blogspot.com/2008/05/rman-versus-user-managed-backup-part-i.html
Hope helps.
Regards,
X A H E E R -
Hi,
I have following question
User Managed backup
1)when i take user mananged backup i want to know whether DDL operation is permitted or not
2) when i take user mananged backup i want to know whether WE ADD/REMOVE TABLESPACE ??
Rman backup
1)when i take RMAN backup i want to know whether DDL operation is permitted or not
2) when i take Rman backup i want to know whether WE ADD/REMOVE TABLESPACE ??
RegardsHi,
Please go through the below links to get much familiar with user managed backup's and rman backup's.
Oracle9i User-Managed Backup and Recovery Guide
Release 2 (9.2)
http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/toc.htm
Making User-Managed Backups
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/osbackup.htm
Oracle9i Recovery Manager (RMAN)
http://www.oracle-base.com/articles/9i/RecoveryManager9i.php
RMAN Backup Concepts (11g R1)
http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmcncpt.htm
Overview of RMAN Backups (10g R2)
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup001.htm
Oracle RMAN Backups: Pushing the "Easy" Button
http://www.oracle.com/technetwork/articles/havewala-rman-grid-089150.html
Hope this helps you understand clearly about both the user managed backups and rman backups. :)
Thanks,
Balaji K. -
User Managed Hot Backup via Sql
Hi being a bit old school - I am trying to understand the steps required for a Hotbackup managed via Sql ( sorry all RMAN fans ! )
I understand that I can backup each tablespace in turn ( via the necessary ALTER TABLESPACE <x> BEGIN BACKUP and then take it out of backup)
I presume also that I simply take a backup of my control file ( wither as binary or as trace if need be )
I am also guessing that you do not backup the Redo Logs ( since you will reset these on any recovery anyway )
The bit I am not sure about is the Undo Tablespace - can it be backup in eactly the same way as any of the other tablespaces ?
Are there any other components that I need to backup ( apart from archive logs )
thanks,
JimEdStevens wrote:
Jim Thompson wrote:
Hi being a bit old school - I am trying to understand the steps required for a Hotbackup managed via Sql ( sorry all RMAN fans ! )
I understand that I can backup each tablespace in turn ( via the necessary ALTER TABLESPACE <x> BEGIN BACKUP and then take it out of backup)
I presume also that I simply take a backup of my control file ( wither as binary or as trace if need be )
I am also guessing that you do not backup the Redo Logs ( since you will reset these on any recovery anyway )
The bit I am not sure about is the Undo Tablespace - can it be backup in eactly the same way as any of the other tablespaces ?
Are there any other components that I need to backup ( apart from archive logs )
thanks,
JimI'm old school too. Been in this business over 30 years. Still prefer a command line interface.Me too.
>
But c'mon .... user managed backups? How about dictionary managed tablespaces? initialization parameter files instead of spfiles? Ok, I'll give you the DMT (old skool hippies should be lol now). But user managed backups do have their place, and seriously, I think plain old parameter files are in many cases better than strange binary things that need special software to manipulate and require you to remember arbitrary things. I cuss at regedit every time...
>
What is the business or technical justification for not going with rman?
I can still remember my grandfather arguing with the guy at the tire store, insisting they put inner tubes in those "newfangled" tubeless tires . . .My last lawn tractor had much better luck with tubed replacement tires than tubeless with puncture sealant. Naturally as soon as I bought a new tractor I got a puncture, it doesn't come with sealant. Anyone who's ever struggled with a bead that doesn't set in without a high pressure air pump will appreciate grandpa's point of view. As well as sew-ups. -
User Managed Backup audit reporting
Customer is asking to give this information, i am wondering how i can get this , We are not using RMAN, User managed backups are being used, I am wondering if i can pull this information through data dictionar/dynamics views, if yes send me the queries plz
Please provide the following information as it relates to the applicable system(s):
(a) Type of backup application used for data backups (i.e. TSM, netbackup, etc)
(b) Frequency performed, such as daily, weekly, full volume, differential or incremental.
(c) Evidence of the last 2 iterations of data backups the date/time of successful completion. (The objective of the backup should be to restore files successfully to another system in time of failure.)Mithu,
No one can provide you with the information, if you are performing backup on the database then you should know the answer.
There are not Oracle technical questions, rather when and how you did your backup and approve of such.
Check the backup schedule and logfiles of your backup -
During user mode hot backup lots of redo gets generated as the entire block is written when any changes are made to a block which is in hot backup mode.But during Rman hot backup less redo are generated why is this so and whatz the logic invloved? and how oracle recovers the file that has been backed up through Rman.
Could you please explain me regarding this in detail it will be really helpful.
kumareshFrom Article Note:76736.1 RMAN FAQ: Recovery Manager -- Frequently Asked
To understand why RMAN does not require extra logging or backup mode,
you must first understand why those features are required for non-RMAN
online backups.
A non-RMAN online backup consists of a non-Oracle tool, such as cp or
dd, backing up a datafile at the same time that DBWR is updating the
file. We can't prevent the tool from reading a particular block at the
exact same time that DBWR is updating that block. When that happens,
the non-Oracle tool might read a block in a half-updated state, so that
the block which is copied to the backup media might only have been
updated in its first half, while the second half contains older data.
This is called a "fractured block". If this backup needs to be restored
later, and that block needs to be recovered, recovery will fail because
that block is not usable.
The 'alter tablespace begin backup' command is our solution for the
fractured block problem. When a tablespace is in backup mode, and a
change is made to a data block, instead of logging just the changed
bytes to the redo log, we also log a copy of the entire block image
before the change, so that we can reconstruct this block if media
recovery finds that this block was fractured. That block image logging
is what causes extra redo to be generated while files are in backup
mode.
The reason that RMAN does not require extra logging is that it
guarantees that it will never back up a fractured block. We can make
that guarantee because we know the format of Oracle data blocks, and we
verify that each block that we read is complete before we copy it to the
backup. If we read a fractured block, we read the block again to obtain
a complete block before backing it up. non-Oracle tools are not able to
do the same thing because they do not know how to verify the contents of
an Oracle data block.
Backup mode has another effect, which is to 'freeze' the checkpoint in
the header of the file until the file is removed from backup mode.
We do this because we cannot guarantee that the third-party backup
tool will copy the file header prior to copying the data blocks.
RMAN does not need to freeze the file header checkpoint because we
know the order in which we will read the blocks, which enables us to
capture a known good checkpoint for the file. -
Does anyone know if there is any truth to the rumor I heard that
only RMAN backups will be supported in future releases? An
Oracle Univ. instructor said that user managed backups may be
desupported in the near future.Maybe you will start from reading the docs:
http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96572/toc.htm
Best Regards
Krystian Zieja / mob -
User-managed backups of a 10g DB using ASM
Is it possible to do user-managed backups of a 10g database which is using ASM?
When I run the following SQL command
SELECT NAME FROM v$datafile;
It returns
+DBDATA/db_test/datafile/system.256.617633575
+DBDATA/db_test/datafile/users.259.617633757
The ASM is setup in 'normal redundency' across 2 partitions, both of which are not formatted.
If there is anyone who has done user-mangaged backups on a 10g DB using ASM who could provide an insight I would be greatful.
Basically what I would like to know is how do I access the datafiles, so I can back them up to a location of my choosing?I think it's a good product, we use it for many years now. A big advantage is Backtrack automates not only backups (that do all products), it also provides automatic restore/recovery in many cases (not in all!). That means the product detects what is wrong with the database and automatically performs all necessary steps to bring back the database to working. In case of trouble that's good for operators by night and also good for the DBA, who does not need to come.
Disadvantage (may be true for all 3rd party products) Backtrack is always behind Oracle's newest technology, so it took some time to support ASM and it's still not a full support.
There's no problem with online backups, Backtrack uses the traditional way (ALTER TABLESPACE BEGIN BACKUP .... END BACKUP), they don't use RMAN technology in the background.
We use both in our company, Backtrack and RMAN. Besides the technical point of view, there's also a license issue. Backtrack's license fee is due to amount of data, the larger your databases the larger the fee.
Werner -
I am a newbie to Oracle. I am having a question regarding user managed hot backup. My oracle version is 11.2.0.2 and OS version is OEL.
What will happen, if we perform User Managed Hot Backup without setting tablespaces in BEGIN BACKUP mode?aee649c3-9d9a-40a3-bd64-460990851489 wrote:
I am a newbie to Oracle. I am having a question regarding user managed hot backup. My oracle version is 11.2.0.2 and OS version is OEL.
What will happen, if we perform User Managed Hot Backup without setting tablespaces in BEGIN BACKUP mode?
The bigger question is why you would do a user managed backup in the first place. User managed backup means user managed recovery. The oracle supplied utility for database backup is 'rman', and the 'r' stand for 'recovery' -- as in "Recovery Manager". Not using rman to do your backups is akin to not using the spare tire, jack, and lug wrench that came with your car to fix a flat tire.
============================================================================
BTW, it would be really helpful if you would go to your profile and give yourself a recognizable name. It doesn't have to be your real name, just something that looks like a real name. Who says my name is really Ed Stevens? But at least when people see that on a message they have a known identity. Unlike the system generated name of 'ed0f625b-6857-4956-9b66-da280b7cf3a2', which is like going to the pub with a bag over your head.
============================================================================ -
How do I use DBV utility for User Managed Backup?
Dear all! I am a student, studying RMAN and User Managed Backup. But I did not understand how to use the DBVerify utility to check a block or a backup of control file.What's command can I do?
Thanks for your reply!DBV is a utility which workd with Oracle Datafiles not with controlfiles.
controlfile can be always recreated by you, just issue in a time of backup:
alter dabase backup controlfile to trace; in case you will have corrupted binary copy of controlfile you will have an option to use this trace to recrete it.
Best Regards
Krystian Zieja / mob -
Is the recovery techniques for RMAN and user managed are different
Hi Gurus,
I want to know the exact difference b/w RMAN and user managed recovery.
Is the difference is too much or if we know the user managed recovery,can we do the recovery using the RMAN...
Regards,
pradeepuser6738165 wrote:
Hi Gurus,
I want to know the exact difference b/w RMAN and user managed recovery.
Is the difference is too much or if we know the user managed recovery,can we do the recovery using the RMAN...
Regards,
pradeepHi Pradeep and welcome to the forum
I'd suggest you to check the Oracle Documentation to find out the difference by yourself
RMAN Recovery Concepts
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc2.htm#i1007882
Performing User-Managed Recovery
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/osrecov.htm#BABBBBBB
RMAN has great advantages over the User-Managed techniques. RMAN uses it's own RMAN commands to perform backup or recovery, while with user-managed backup and recovery you use SQL commands
By knowing the main backup and recovery concepts, you can perform both
Maybe you are looking for
-
Getting the latest file from application server
Hi, I have to retrieve the latest file posted in R/3 from the application server to ISU which conatins the file name with timestamp. regards Mac
-
Just bought 64-bit Windows 7, which detected and reInstalled my All-in-One's Printer and Copier, working well, so I don't want to buy new, but did not install Scanner. My 1310 Series installation disk was not for Windows 7, actually, nothin
-
Do I need multiple Vendor ID and device ID ?
Hi I am developing a Compact PCI/ PXI card. Will I need a different DEVICE ID for each card, so that Labview can recognise between two cards. Is the distinction between two cards having the same vendor ID done on the basis of Device ID's or is it don
-
ClassCastException error when trying to cast to a subclass of JRootPane
In connection with using key bindings for a JFrame, which I achieve by using key bindings for pane = jFrame.getRootPane(), I created a subclass ACJRootPane of JRootPane so that I can have my own processKeyBinding method which returns after a key has
-
Datacard connectivity issues in Windows 10 technical preview?
I have installed and run windows 10 setup. Windows 10 is truly awesome, but i am facing one issue which is "datacard (MTS MBlaze) connectivity to internet". The datacard device is detected successfully. While clicking "connect" to internet, it is say