Create backup of database existing standby database
I have a scenario where in I need to create a database of Eve from an existing database in standby.
Version of database is 11.2.0.2.0 on Linux. I'm looking for the RMAN duplicate 'of database' to create the new of the day before. But the copy fails with the error below.
From backup Aug 14, 15
using channel ORA_DISK_1
channel ORA_DISK_1: from data file copy
copy of the control file ensures
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 14/08/2015 10:13:31
RMAN-05501: abandonment of duplicate target database
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 14/08/2015 10:13:31
ORA-01671: control file is a backup, can't make a standby control file
Anyone have an idea on this?
This happens as a lock. If I try to apply the 11715084 patch now, it will roll back patch 11815753 and I would get the error related to start not mounted.
Anyone has an idea on how to fix this?
Please re-read my previous posts. Apply the last PSU for 11.2.0.2.0, on the other, you may need to upgrade.
Take a look at this
Bug 11815753 is fixed at 11.2.0.2.5 and bug 11715084 is fixed at 11.2.0.2.9 power supply. I suggest you apply 11.2.0.2.9 PSU that it would contain the bug fixed in the preceding the PSU as well.
HTH
11.2.0.2 updates set to update Patch - list patches in each power supply (Doc ID 1340011.1)
-Shivananda
Tags: Database
Similar Questions
-
Need help to create backups of database
Hello I am a dba in training (mainly SQL server but allso Oracle databases), I'm reading the book of the SYBEX OCP.
I'm trying to create a backupon of the database Oracle 11 g R2 32 bit server stand alone on a Windows 7 Ultimate 64 bit computer Dell Vostro laptop
(Note that I have installed in my mother tongue Dutch, so I translated the messages I got)
I have created a database of training and added a letter (ID, letter) table that contains the values 1, 2 A, B 3, C
I now want to put the database in log mode archive
I did the following steps
ALTER system set log_archive_dest_1 =' location = c:\Oracle\Archivelog'
It worked
ALTER system set log_archive_format='tr_%s_%t_%r_%d.arc"
It did not work
immediate stop
Database is closed
Database has been decoupled
ORACLE instance has been closed
Startup mount
ORA-12514: TNS:listener is not currently of service requested in connect descriptor
I checked that the tnsnames.ora and listener.ora here two fine.
I try startup mount
ORA - 24324:service uninitialized handle
ORA-01041: internal error. hostdef extension doesn't exist
After the training of TNSPING
AMT Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production 02-FEB-2
011 11:32:26
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Gebruikte parameterbestanden:
C:\Oracle\DB\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
TNSNAMES adapter used voor herleiden van of alias.
Poging om contact you maken met (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = Clairvu-JDW)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TRAINING)))
OK (10 msec.)
Which means it works
I try lsnrctl services which gives to tehe next result
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on February 2, 2011 11:36
: 40
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Setting is the photos puts (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = Clairvu-JDW)(PORT=1521))).
Listener van geen voor services support.
Uitvoeren van Eindverslag is was.
Know me that the listener does not support services
So can someone tell me what's wrong and how to fix
Edited by: Resender February 2, 2011 02:46have you restarted your listener after he set up?
$> lsnrctl reload
Then try to connect again:
$> set ORACLE_SID = training
$> sqlplus/nolog
SQL > conn virtue sysdbaThank you
Thierry -
Create the new database of complete hot RMAN, atrchivelog and backup control files
Hi all
I'm trying to create the new database U1234 of P1234 of full hot RMAN, atrchivelog and control P1234 file backup.
Here are my steps
(1) to restore the control file
#! / bin/sh
ORACLE_SID = P1234
export ORACLE_SID
RMAN nocatalog target / < < EOF | Tee restorecontrol.out
startup nomount pfile=/u01/oradba/admin/U1234/scripts/restore/restore071009U1234/initP1234.ora;
the value of DBID 6767676;
run
{
allocate channel d1 type disk;
controfile catering to ' / u02/oradba/U1234/control/P1234_control01.ctl';
Restore controlfile to ' / orarman/restore/P1234/cf_P1234_c-00';
change the editing of the database;
}
EXPRESSIONS OF FOLKLORE
(2) database stop then restart the database with the new contraol file using pfile.
(3) restore data files
#! / bin/sh
ORACLE_SID = P1234
export ORACLE_SID
RMAN nocatalog target / < < EOF | Tee restore_dbfiles.out
Run {}
the value of newname for datafile 1 to ' / u05/oradba/U1234/dbfile/U1234_system01.dbf';
the value of newname for datafile 2 to ' / u05/oradba/U1234/dbfile/U1234_undotbs01.dbf';
the value of newname for datafile 3 to ' / u05/oradba/U1234/dbfile/U1234_sysaux01.dbf';
the value of newname for datafile 4 to ' / u06/oradba/U1234/dbfile/U1234_users_d01.dbf';
the value of newname for datafile 5 to ' / u06/oradba/U1234/dbfile/U1234_tools_d01.dbf';
the value of newname for datafile 6 to ' / u08/oradba/U1234/dbfile/U1234_audt_x01.dbf';
the value of newname for datafile 7 to ' / u07/oradba/U1234/dbfile/U1234_audt_d01.dbf';
the value of newname for datafile 8 to ' / u07/oradba/U1234/dbfile/U1234_audt_d02.dbf';
the value of newname for datafile 9 to ' / u08/oradba/U1234/dbfile/U1234_lh_x01.dbf';
restore the database;
switch datafile;
}
EXPRESSIONS OF FOLKLORE
ORA-27063: number of bytes read or written is incorrect
SVR4 error: 28: no space is available on the device
Now, I missed the space during the restoration of data files and want to restore remaining who is 3 and 4 of datafile datafile.
Can you please let me know how I can restore it.
I need to change the names of database after the successful restoration.
DBVERSION 10.2.0.1
operating system: solaris 10
Thanks in advance.Hello..
Do you have free space? If Yes, then you can try: -.
RUN {}
SET NEWNAME for DATAFILE 3 to ' / u05/oradba/U1234/dbfile/U1234_sysaux01.dbf';
RESTORE THE 3 DATA FILE;
DATAFILE 3 SWITCH;
}[http://www.oracle-base.com/articles/9i/DBNEWID.php]
Anand
-
create the new database programmatically
I am creating a new MS Access database you want to connect a few results for in a labview program using the toolkit of connectivity datab ase. The examples show how link and create a new table in an existing database file, but I want to create a new database and then insert a new table inside for my results. Any ideas?
You have installed Access where you can create a blank MDB file? If so, you can create an and store it as a template in your program folder. Copy and paste when you run your routine and use table VI to create in the Toolbox to create tables to write. It is possible to create tables in an INSERT, but you can't control the properties of the fields. The OP in this thread is doing this thing. (http://forums.ni.com/t5/LabVIEW/Database-connectivity-toolkit/m-p/3046359#M868188)
-
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.
-
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.
-
Is it possible to create a new MS SQL database from a query or a coldfusion script?
We try to create respective databases and their data sources on the fly. We have conquered the creation of a new source of data successfully and coldfusion has a variety of support for creating tables, change their etc.,.
but you can create a new database itself with coldfusion on the fly?
Thanks in advance,
Brian
For example, it would be possible to run this script where #FORM.datasource # is a form of a web form variable...
CREATE the DATABASE [#FORM.datasource #] ON PRIMARY
(NAME = no #FORM.datasource #', FILENAME = is C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\#FORM.datasource#.mdf', SIZE = 2048 KB, FILEGROWTH = 1 024 KB)
OPEN A SESSION
(NAME = no #FORM.datasource #_log ', FILENAME = is C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\#FORM.datasource#_log.ldf', SIZE = 1024KO, FILEGROWTH = 10%)
GO
EXEC dbo.sp_dbcmptlevel @dbname = no #FORM.datasource #', @new_cmptlevel = 90
GO
IF (1 = FULLTEXTSERVICEPROPERTY ('IsFullTextInstalled'))
Start
EXEC [#FORM.datasource #]. [dbo]. [sp_fulltext_database] @action = "disable."
end
GO
ALTER DATABASE [#FORM.datasource #] ANSI_NULL_DEFAULT OFF SET
GO
ALTER DATABASE [#FORM.datasource #] SET ANSI_NULLS OFF
GO
ALTER DATABASE [#FORM.datasource #] SET ANSI_PADDING OFF
GO
ALTER DATABASE [#FORM.datasource #] SET ANSI_WARNINGS OFF
GO
ALTER DATABASE [#FORM.datasource #] SET ARITHABORT OFF
GO
ALTER DATABASE [#FORM.datasource #] SET AUTO_CLOSE OFF
GO
ALTER DATABASE [#FORM.datasource #] AUTO_CREATE_STATISTICS is SET TO
GO
ALTER DATABASE [#FORM.datasource #] AUTO_SHRINK OFF SET
GO
ALTER DATABASE [#FORM.datasource #] SET AUTO_UPDATE_STATISTICS ON
GO
ALTER DATABASE [#FORM.datasource #] SET CURSOR_CLOSE_ON_COMMIT OFF
GO
ALTER DATABASE [#FORM.datasource #] SET CURSOR_DEFAULT GLOBAL
GO
ALTER DATABASE [#FORM.datasource #] SET CONCAT_NULL_YIELDS_NULL OFF
GO
ALTER DATABASE [#FORM.datasource #] SET NUMERIC_ROUNDABORT OFF
GO
ALTER DATABASE [#FORM.datasource #] SET QUOTED_IDENTIFIER OFF
GO
ALTER DATABASE [#FORM.datasource #] RECURSIVE_TRIGGERS OFF SET
GO
ALTER DATABASE [#FORM.datasource #] AUTO_UPDATE_STATISTICS_ASYNC OFF SET
GO
ALTER DATABASE [#FORM.datasource #] SET DATE_CORRELATION_OPTIMIZATION OFF
GO
ALTER DATABASE [#FORM.datasource #] SET SIMPLE PARAMETERIZATION
GO
ALTER DATABASE SET READ_WRITE [#FORM.datasource #]
GO
ALTER DATABASE [#FORM.datasource #] SET RECOVERY FULL
GO
ALTER DATABASE [#FORM.datasource #] SET MULTI_USER
GO
ALTER DATABASE [#FORM.datasource #] SET PAGE_VERIFY CHECKSUM
GO
USE [#FORM.datasource #]
GO
If NOT EXISTS (SELECT name FROM sys.filegroups WHERE is_default = 1 AND name = no PRIMARY') ALTER DATABASE [#FORM.datasource #] by DEFAULT MODIFY FILEGROUP [PRIMARY]
GOTechnically no, because ColdFusion does nothing. There is no bundle up the SQL string and pass it to the database driver.
But yes, you can provide any valid SQL inside a block of
and it will be passeed to the database and the database is going to do everything that the SQL statement attempts to ask him to perform. Of course, this assumes that security has not been implemented to prevent such use in the database. I.E. it is generally considered a very bad idea to have the database account ColdFusion connects with to create, modify and delete permissions. The ColdFusion Administrator also offers a security feature to try to deny these chains of command from the SQL statements being processed.
But if you're willing to live with that risk, you can have your CFML code are all sorts of powerful things with your database, just be aware that if, you can get your CFML to do, hackers may be able to do the same.
-
"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
-
Can I create a web database search that does not use Javascript?
Can I create a web database search that does not use Javascript?
While it would be possible to do it through custom coding, this type of web database search would not supported by Eloqua.
-
How can I create a new database without table using database configuration
How can I create a new database without table using database configuration
You can search for your "DBA 2 days" version oracle documentation for your version. You should also read the manual of the concepts. Create your own schema is pretty basic, all you have to do is to create a user. Don't use dba or system for your own objects.
-
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
-
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?
-
I can't access my main database after you create the second database.
I installed oracle server 11.2.0.1.0 on windows server 2008, the installer to create a database for me called "orcl", then I could connect with the database
use System Manager, I created another user in this db called x... etc, then I created an another database called 'pure', using dbca (database configuration
assistance), I put the password of user on the system (in pure db) is 'oracle', after the creation process, I was able to connect with this database
using System/oracle but
I tried to connect to the first db using System/Manager, that I could not, I get "name of user and password invalid connection refused."
I tried conn system/manager@orcl, but I could not also...
Help me please to connect with the first database.
Thank you.
C:\>set ORACLE_SID = orcl
System/Manager C:\>sqlplus
-
ORA-20002: you can't create links from database
HI Experts,
Creating database link, I get the error below. Anyone of you could please have some light on this error. I googled for this error and did not get any update.
Oracle version: 11.2.0.3
The user with whom I created this link of database DBA privilege.
SQL > create database link temp_LINK connect to account identified by * using "(DESCRIPTION = (ADRESSE = (COMMUNUITY=tcp.world) (PROTOCOL = TCP)(Host=myself.us.lev.com) (Port = 1525)) (CONNECT_DATA = (SID = LNDB1DB)))'; "
create database link temp_LINK connect to account identified by * using "(DESCRIPTION = (ADRESSE = (COMMUNUITY=tcp.world) (PROTOCOL = TCP)(Host=myself.us.lev.com) (Port = 1525)) (CONNECT_DATA = (SID = LNDB1DB)))'; "
*
ERROR at line 1:
ORA-00604: error occurred at the SQL level 1 recursive
ORA-20002: you can't create links from database
ORA-06512: at line 4Thank you..
Well Yes, this request confirmed suspicion of SB.
The datadictionary is your friend
Maybe you are looking for
-
iMac 2015 randomly crashes and restarts
I have a 2015 27 "iMac 4 GHz with 32GB of RAM from OWC and necessary devices connected via USB and Thunderbolt running El Capitan (updated) and are experiencing random crashes every day. Most of the time I'm just browsing through Safari. All of a sud
-
I forgot my password for my MacBook pro Please help‼️‼️‼️ IM trying to finish my taxes‼️
-
With XP, it was possible to control new windows opened properly or fainted at inside and out. Is it possible in Win 7 to disable the melted effect?
-
How to: save pictures of the Player library to use on another computer portable flash
I just got a new laptop with Windows 7. I had to download some photos that I need a disc because I need it for something that I do on my old computer. Dvd/cd player to my computer old/burner left suddenly. So, I want to save these photos on a flas
-
As I mentioned in the title, something was really annoying me: everything what I drag the image she draws from the scene or import directly to the scene, the image will be automatically extended. Pls find the below screenshot. Hope someone could help