Backup full database, backuing's up controlfile?
HelloI'm on 8174
is that enough to cold back up the database?
stop immediately;
bootable media;
Run {}
allocate channel t1 type 'SBT_TAPE ';
Send "NB_ORA_POLICY =...";
full backup in format "bk_ %%t U_" (data base);
}
or do I
backup current controlfile;?
I can see here http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76990/rmanconc.htm#436070
This statement "a full backup is different from a full database backup, which is a backup copy of all the data files and the current control file."
is this means
full backup of database, backuing's up controlfile? (I think so) and restoring it requires any archivelogs? (I think not)
Thank you very much
Published by: user9145417 on August 25, 2010 16:42
Yes, you will need to take backup of the backup control file.
Tags: Database
Similar Questions
-
RMAN asking newspapers to archive old (deleted) after a backup full database
Hello guys,.
Am a little lost here. Is there something I'm missing. Would be great if you guys can report to help me learn.
We are 11 GR 2. I tried to restore a database to a new machine. I have a RMAN backup with the archive logs.
The current sequence number is 272.html but when I 'Recover databse' RMAN is asking me for sequence 3. 3 of the sequence, I guess has been deleted manually and we do not have a backup of it. I ran cross-check to clear in the RMAN Repository. He said that validation succeeded for all available logs.
The sequence 3-119 number are missing (accidentally deleted). We have backups only from sequence number 134 - 272.When I throw summary restoring a complete database of backup it complains about missing archives. Did not really understand what is happening. Would be great if someone can help out me.
Thank you
It seems that one or several or all the data in the backup files are older than the SEQUENCE # 3. Make a BACKUP of the LIST and view details of control point for each of the data files.
Another alternative is that one or several areas of storage is / was in BACKUP STARTED at the RMAN backup mode.
Hemant K Collette
-
Is make Journal required for backup of database hot and cold water?
Hi Experts,
Please explain--again it takes to backup of database hot and cold water?
Thank you
Did you backup managed user or RMAN backup. In RMAN backup, you only need logs archived. But in the cold backup managed user, you don't need the redolog also if the PB was properly arrested. Jut copy the DBF and controlfile and put it there to the target server and during the recovery of redolog files will be created automatically.
Please note that the database must be correctly stopped before cold backup is taken.
-
Difference between the backup of database to copy and backup of database
Hi all
Kindly differentiate between backup database copy and backup of database.
Thanks in advance.
Hello
With image backups, you have the option of two things:
1. use these as rman backup and ask to restore them to the desired location (the same that we do in restoration of backupsets).
2. tell the database to use these files. This is possible by ' switch database copy. This is useful when the recovery will take a long time. This allows you to move the users directly to the backup that you restore to the original location. In other words, your database remains open with the users who access the copy.
in both cases, you would:
1 restore a controlfile
2. the backup catalog
RMAN > catalogue start with noprompt "/ backup location, in this case copy data files."
3A. If you want to restore the database, so you might as same as usual:
run
{
Set up until...
newname Set...
restore the database...
recover the database...
}
ALTER database open resetlogs;
3B. If you want to "switch" to the backup, you must run:
switch database to copy;
recover the database up to the...
ALTER database open resetlogs;
NOTE: before open resetlogs, remember that your online log file location is valid for the server on which you are restoring. See:
Select Member from v$ logfile;
Thank you
Renu
-
"Backup of database error" message blackBerry Smartphones
Hello
I have the version "BOLD" 4.6.0.162 and Desktop Manager version 4.7 working with XP SP3. In the past, I got my phone from backup. Until several weeks ago, I am unable to back up my phone and received the message "backup of databases error." It happens at different stages during the progress of the transfer.
I followed the suggestions posted by françoys, http://supportforums.blackberry.com/rim/board/message?board.id=Bold&message.id=3676&query.id=57237#M3676, but still no go.
My questions are:
1 has any who found the solution yet?
2. can I still perform the update (System, critical applications software, etc. via Desktop Manager) without losing files data base and music and picture my contact?
3. is the advanced option in the backup and recovery solution?
Thank you.
Ok. I solved the problem.
I have 'forward' option of backup and moved the point by point. There were a few elements indicated errors then I "cleaned" them. Once all items have been moved, I did regularly back up again. It worked fine now.
Hope this might help other who is facing a similar problem.
-
Hi all
I use my database cluster for my running app that sits on MS SQL.
who uses many users both on the live production by many users at a time server.
BUT I'm unable to perform an online backup of database and offline backup, I can't take as it uses on the live production server
If anyone can help me for you even
Thanking you
Concerning
Tarun Kaushik
Hello
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the Windows SQL Server Forums.
http://social.technet.Microsoft.com/forums/en-us/category/SQLServer
-
full database export error ORA-31693 ORA-01555: snapshot too old: rollback segment
Hello
normal full database export, I do it for my databases to which I subscribe. I recently check the export log in one of the databases, and it had the following errors:
ORA-31693
ORA-02354
ORA-01555: snapshot too old: rollback segment
my database is 11 GR 2 and the Linux environment.
any help please?
Hello
This error indicates you have given LOB in your tables and binds to the parameter size undo_retention.
Check this: https://geodatamaster.wordpress.com/2014/11/08/expdp-ora-31693-ora-02354-ora-01555/
You must increase the size of undo_retention
-
Can we take a backup of database pending?
Hello
Can we take backup of database pending when the don't use no DataGuard? If Yes, can I restore that backup of my primary database?
Oracle 11.2.0.3 Standard
Kind regards
Melo.
Rafael Melo says:
Jhon,
Thank you for your quick response. I just did not understand clearly what that means "not being able to depend on RMAN to follow...» ». Please, can you explain that?
OBS.: the first time that you intend to use on the eve of the database.
Kind regards
Melo - Br
Think of the RMAN Repository. How one will distinguish between files that are part of the primary and which are part of the manual standby? In a Data Guard environment, he can, because you can save all db_unique_names. You do not have this feature with an old manual.
-
Hello
I take the backup of database using Oracle SQL Developer in windows, but I want a script that will backup and can copy to a different database? Please help me
I take the backup of database using Oracle SQL Developer in windows, but I want a script that will backup and can copy to a different database?
Use RMAN to take the backup of the database - so you can copy the backup to a different database.
If you "want a script" then you must write the script yourself.
What kind of help did you expect a person to provide?
-
Backup SQL database for vcenter
Hello
I recently installed a version of vcenter 4. It comes for free with SQL server 2005. I want to backup my database. Can I use 2008 Management Studio Express to back up the database? Here is the link I'm talking about:
http://www.Microsoft.com/download/en/details.aspx?ID=22985
Thank you
I usually install Management Studio in the same edition as the database. However, I'm pretty sure that a new Management Studio supports the old databases to 100%.
André
-
Cold backup of database primary affect DR sync
Hello
We have some 10gr 2 DR of installation,
We are planning for the cold primary database backup on every Sunday.
It's going to affect DR sync if the primary database is not available at the time of the cold backup.
Thank youNo Impact
-
How to COPY a BACKUP as the... CONTROLFILE can be used for the OPEN database
I create a document such as a "How To" to move a position for a Junior DBA controlfile.
But it seems that I'm the Junior because I am facing the following...
Action plan:
Move/rename a Controlfile
Version of the database: 11.2.0.3
Controlfiles moving of:
/ goldengate/ORCL/ORADATA /.
TO:
/ GoldenGate/ORCL/controlfile
Step 1: Set up environment variables
$> export ORACLE_SID = ORCL1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$> echo $ORACLE_SID
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORCL1
$> export ORACLE_BASE = / u01/app/oracle
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$> echo $ORACLE_BASE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/ u01/app/Oracle
$> export ORACLE_HOME=$ORACLE_BASE/product/11.2.0.3/dbhome_1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$ echo $ORACLE_HOME
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/U01/app/Oracle/product/11.2.0.3/dbhome_1
Step 2: Check control_files parameter
$> echo "see THE PARAMETER control_files | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
control_files string/goldengate/ORCL/ORADATA/control
ol01. CTL, / goldengate/ORCL/ORA
DATA/control02.ctl
Step 3: Closing the open database
$> echo 'SHUTDOWN IMMEDIATE'; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The database is closed.
The database is dismounted.
ORACLE instance stops.
Step 4: Editing of the database
$> echo "STARTUP MOUNT"; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORACLE instance started.
Total System Global Area 4275781632 bytes
Bytes of size 2235208 fixed
822084792 variable size bytes
3439329280 of database buffers bytes
Redo buffers 12132352 bytes
Mounted database.
Step 5: Creating a copy of the current controlfile
$> echo "AS BACKUP COPY CURRENT CONTROLFILE FORMAT ' / goldengate/ORCL/CONTROLFILE/control01.copy.ctl'; ' | RMAN target / nocatalog
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Recovery Manager: release 11.2.0.3.0 - Production Fri Oct 22 17:03:27 2015
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORCL (DBID = 1420762587, is not open)
using the control file of the target instead of recovery catalog database
RMAN >
From 22 October 15 backup
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 58 type of device = DISK
channel ORA_DISK_1: from data file copy
copy the current control file
tag name=/goldengate/ORCL/CONTROLFILE/control01.copy.ctl output file = RECID = 1 STAMP = 893783011 TAG20151022T170329
channel ORA_DISK_1: datafile copy complete, duration: 00:00:03
Backup finished at 22 October 15
RMAN >
Complete recovery manager.
Step 6: Change of parameter control_files
$> echo "ALTER SYSTEM SET control_files='/goldengate/ORCL/CONTROLFILE/control01.copy.ctl' SCOPE = SPFILE;" | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Modified system.
Step 7: Closing of the mounted database
$> echo 'SHUTDOWN IMMEDIATE'; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORA-01109: database is not open
The database is dismounted.
ORACLE instance stops.
Step 8: Installation of the database
$> echo "STARTUP MOUNT"; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORACLE instance started.
Total System Global Area 4275781632 bytes
Bytes of size 2235208 fixed
822084792 variable size bytes
3439329280 of database buffers bytes
Redo buffers 12132352 bytes
Mounted database.
Step 9: Check control_files parameter
$> echo "see THE PARAMETER control_files | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
control_files string/goldengate/ORCL/CONTROLFILE/c
ontrol01. Copy.CTL
Step 10: Open the mounted database
$> echo "ALTER DATABASE OPEN"; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ALTER DATABASE OPEN
*
ERROR on line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option of database open
$> echo "ALTER DATABASE OPEN NORESETLOGS"; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ALTER DATABASE OPEN NORESETLOGS
*
ERROR on line 1:
ORA-01610: recovery using BACKUP CONTROLFILE option must be
Then...
$> sqlplus/nolog
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SQL * more: Production release 11.2.0.3.0 the game Oct 22 17:14:43 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
SQL > CONNECT sysdba virtue
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Connected.
SQL > RECOVER DATABASE with the HELP of BACKUP CONTROLFILE until CANCEL;
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORA-00279: change 621941 September at 22/10/2015 16:57:33 needed to screw 1
ORA-00289: suggestion:
/U01/app/Oracle/product/11.2.0.3/dbhome_1/DBS/arch1_11_892981851.dbf
ORA-00280: change 621941 thread 1 is in sequence #11
Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
Cancel
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Cancelled media recovery.
SQL > ALTER DATABASE OPEN;
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ALTER DATABASE OPEN
*
ERROR on line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option of database open
Issues related to the:
What am I misunderstanding? BACKUP COPY THAT isn't really a COPY.
Why I can't use the 'copy' of the controlfile created by RMAN?
Note:
If I just copy the controlfile to the new location when the database shuts down everything works fine.
Thanks in advance.
Juan M
It is also mentioned in https://docs.oracle.com/cd/E11882_01/server.112/e25494/control.htm#ADMIN11288
Create additional Copies, rename and move the control files
-
Full database backup time varies after you apply the hotfix.
Hello gurus,
I applied a patch last week to my database to 10.2.0.5, initially it was 10.2.0.1.Before the patch of the database took 10 hours to finish the job of backup rman through OEM and used to seize the 590 GB of data. After the patch, that the rman job complete in 2 hours and it is only win about 220 GB without errors
The total size is 590 GB but 220 used space and free is 370 gb.
Magic question is why it takes 2 hours to complete and only backup 220 GB in 10.2.0.5 compare to 10.2.0.1.
I used this query to check the size of the database.
SESSION_KEY, INPUT_TYPE, STATUS,
TO_CHAR (START_TIME, "mm/dd/yy HH24 '") start_time,
TO_CHAR (END_TIME, "mm/dd/yy HH24 '") end_time.
elapsed_seconds/3600 hrs
v $ RMAN_BACKUP_JOB_DETAILS
order by session_key;There are several bugs fixed in 10.2.0.5 which can realize:
6967455 RMAN BACKUP FILE may be slow
7119336 backup backupset RMAN does not parallelize in multiple channels
7173341 internal cleaning RMAN can be slowThis note MOS can provide more details:
10.2.0.5 Patch set - list of bug fixes by problem Type [ID 1088172.1]
Best regards
mseberg
-
Hi all.
I really need your help on this:
(1) version: 11.2.0.1 EE / Windows.
(2) database does not start, don't get database.
Alert.log info:
Instance of stopped by USER, pid = 3652
2015-11-22 15:57:19.763000 - 04:30
I found this after using adrci:
2015-11-22 15:49:15.727
SESSION ID: (191.1) 2015-11-22 15:49:15.727
CUSTOMER ID :() 2015-11-22 15:49:15.727
NAME OF THE SERVICE :() 2015-11-22 15:49:15.727
MODULE NAME: (sqlplus.exe) 2015-11-22 15:49:15.727
ACTION NAME :() 2015-11-22 15:49:15.727
Informational message:
Control file 1 has seq 2713995, low 2713994 file # 0
Error: kccpb_sanity_check_2
Control file sequence number mismatch!
fhcsq: bhcsq 2713995: 2714016 cfn 0
2015-11-22 15:49:15.758
USER (ospid: 2504): put an end to the instance
Verification of MOS Note: 435436.1 I must:
(1) to restore a backup of a controlfile and recover
OR
(2) to recreate the controlfile
OR
(3) restore the backup data and recovery
It is a database, that I was not, up to now administer. But:
(1) I tried from the database with addressed controlfile (the one located in FRA). No luck. (Create pfile from spfile / startup pfile)
(2) the database is not mount / open. It hangs on the editing process. So I can not issue an alter database controlfile to trace.
It seems that my options are:
(1) manual creation of controlfile with open resetlogs option. This option is viable, but risky if we miss a datafile or something GOLD
(2) restoration of RMAN backup. The thing is that the most recent copy of automatic backup of controlfile is since a few days early (4 / 5 days).
I found this link: http://gavinsoorma.com/2009/07/rman-recovery-from-loss-of-all-control-files/
The procedure seems easy, but since this controlfile is not in the current SNA of database (data files, etc.). I'm not sure it if it would work.
So in short, I think I have an automatic backup controlfile and it's OK. but a little old. I can restore from this copy of CF?
Please I'm pressed real here, so help will be greatly appreciated!....
Thanks in advance!
Best regards, Luis...!
Hello
It seems that my options are:
(1) manual creation of controlfile with open resetlogs option. This option is viable, but risky if we miss a datafile or something GOLD
(2) restoration of RMAN backup. The thing is that the most recent copy of automatic backup of controlfile is since a few days early (4 / 5 days).
It seems that you have few options,
In my opinion, you should start with option 2), but you have logs archived redo and all and all the backups of catalog and perform a restore.
After, if not works, you must manually create the control files, but you are right, you must carefully on all the data files. Here a log generated in the last level 0 RMAN backup could help you, don't forget the newspaper are all entries of data for backup files.
I wish to have more ideas to help you, but I have no other.
I hope this helps.
Kind regards
Juan M
-
DG advice backup, backup the database ensures 11 GR 2
Hello world
I have a few problems with the way backups are installed in my DG Environment. I searched high and low and not really found an easy answer to how set up your backups DG.
It is said this, another says that. So I ask here in the forum.
What is the right way to safeguard a DG Environment? Some emissions of debates just do a normal backup on the standby only, another says that you must back up the controlfiles primary as well (this is where my problem begins)
We have recently upgraded a DB 11 GR 1 material in GR 11, 2 and now the old system no longer works. The old plant was on standby and spfile backup + controlfile backup on the primary node. this moment fails with an invalid sequence of function calls ANU2614E to the Protection of data for Oracle (tape backup)
This particular error occurs when I run a backup controlfile on the primary before the backup on the previous day. If I jump the backup controlfile on the primary, standby backup properly, including the controlfile + spfile.
There is also an obsolete script delete running in each script (controlfile backup etc.), could also questions cause I guess. But it worked well in 11 GR 1 material.
So I'm tender hand, trying to find the right way of backup, everyone says different.
Sincerely
Johnny
What is the right way to safeguard a DG Environment?
Support of primary or secondary is more correct than the other.
You can use a backup made on the previous day in order to restore and recover a database and vice versa.
Data files, control files and archive backups are interchangeable in a Data Guard environment.
Where you backup should depend on the load. If the primary can handle the load without causing a problem with ALS then I would backup here.
The main things I'd do with Data Guard RMAN are as follows:
Select the block change tracking.
Always use the auto backup.
Always use an FIU.
Keep Flashback Database.
And always put this on the primary (CONFIGURE ARCHIVELOG DELETION POLICY to APPLIED on all THE previous DAY ;))
Sequence ANU2614E invalid.
Strange, if you use a third-party software with RMAN I could check this:
RMAN fails ORA-19511 ANU2614E invalid sequence of function calls to the Protection of data for Oracle (Doc ID 1300134.1)
Otherwise, I opened a support ticket as soon as POSSIBLE.
Best regards
mseberg
Maybe you are looking for
-
HELP Please! AC750 D6000 couldn't change the QoS settings
Hello Could someone teach me how to enable QoS settings in Netgear genius? Currently, it could not be changed, the checkbox is grayed out (just like the inserted picture) Thank you!!!
-
How to check defective R50e caused by the Panel or the cable of the Panel?
It's been long that I couldn't see my windows on the screen. I have to hook it up to an external monitor to display the content in my windows. Everything works well except the Panel screen does not display anything, but only dull black screen. It is
-
Hi im currently a 51 R2 X owner. IM finding my GTX 960 stock is barely run some games on graphs fallout IE 4 with rates reaching up to 60 fps but falling to about 28 in some cases. Basically what I am asking, is it, is it interesting to buy a new GPU
-
How to identify which windows is my serial number?
I lost my HD and bought a new.I have the license in my computer, I have the number but where I say which windows is erased (vanished).Have I not any place can I put my serial number and tell me what windows is? See you soon
-
I have an 8700 phone. 1. I need to define a fortnightly recurring appointment in my calendar. However, there is no option to select a mode bi-weekly. The recurrence only available options are None, daily, weekly, monthly, annual. Help, please! 2. I p