Do I need to use standby database in begin backup mode to take the backup?
Hi All,
I have a 10g(10.2.0.4) primary database with standby on a solaris platform. I need to create another standby database for the same primary.
I have stopped the recovery on existing standby database and started copying(os copy) the files from existing standby to 2nd standby server. However I haven't kept the existing standby database(mounted) in begin backup mode. Is it okay?
Thanks,
Arun
Backup mode for a mounted database?
orclz>
orclz> startup mount
ORACLE instance started.
Total System Global Area 788529152 bytes
Fixed Size 3050600 bytes
Variable Size 373293976 bytes
Database Buffers 406847488 bytes
Redo Buffers 5337088 bytes
Database mounted.
orclz>
orclz> alter database begin backup;
alter database begin backup
ERROR at line 1:
ORA-01109: database not open
orclz>
Similar Messages
-
Need help on Standby database v8.1.7 on Windows
Hello All,
Our current setup to create a standby database consists of a bunch of scripts. I'm trying to convert this such that we can use OEM 9.2 and have jobs to do the backup and be able to create the standby database using point and click. Does anyone have this setup?
This is where I am....I've created the primary database and the standby database. They both work well and next i try to do a failover. The failover works and my new primary database is now active. I want to recreate the standby database now (old primary).
I do a backup of the new primary database do say D:\backup\. I go on the standby and I restore the controlfile. Next when I attempt to do the restore, I get the following error: RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 1 found to restore.
How can i fix this? Is there a way to tell RMAN that the backup is under D:\Backup\? How do I catalog the files? I remember on 10g you could do this..but that's if you use a recovery catalog. In this case, i'm using the controlfile to do the restore...not using Recovery Catalog.
Any assistance is appreciated.
Thanks!Upon reading the document i am not clear on upgrade path like do i need to upgrade clusterware as well or not?You need to upgrade the clusterware before RDBMS....therefore it is not optional. You first need to upgrade the clusterware and then the RDBMS.
The steps listed by you seems to be in order (from a high-level). -
Use standby-database as standby-database after creating primary database
First I will tell what we have and what I did.
We have a standby database on server B that was not started. We did a cold copy to server A and opened the database on server A as primary database. Now we wonder if we can use the standby database on server B to apply archives without creating a new copy to server B. The standby database on server B is waiting for sequence 2900, while the database on server A started with a new sequence.
Is it possible somehow to start the recovery again on the standby databsae on server B without creating a new copy?
Forgot to mention: db-version is 9.2.0.7.0, OS is SunOS 5.10Writing seperate code is not needed, Oracle will copy the files if the log_archive_dest is set to the right value.
However, it is solved!
What I did:
- create standby controlfile on the primary
- copy standby controlfile to standby database
- on standby: startup nomount / alter database mount standby database
- on primary: set log_archive_dest_2 to trigger the copying of archivelogs to the standby
Right now the standby database is recovering. -
How to open a "manual" Physical standby database in read/write mode
Hi,
I am running Oracle Database 10g Release 10.2.0.3.0 - 64bit Production Standard Edition on Linux version 2.6.9-42.0.8.ELsmp ([email protected]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3))
I've created a physical standby database, but since I am running Standard Edition, I am not using the DataGuard features. I use the rsync utility to copy over the archivelogs to the standby database, and I apply them periodically to the standby database.
The standby database is started this way :
startup nomount pfile='/u01/oradata/orcl/initorcl.stdby';
alter database mount standby database;
Everything runs perfectly fine, I can do "alter database open read only" and then I can do selects into tables to confirm that everything is up to date.
The thing is, if I shutdown immediate the database, then do just startup :
shutdown immediate;
startup;
The database opens with no error messages, but is still in read-only mode...
I read that the default behavior for a standby database is to open read-only, like I am experiencing, but I would like to know what is the right way to open it correctly in read-write mode (I understand that after that, my standby will not be standby anymore and that I will have to recreate my standby database).
Thanks,
MatHello,
There're features which allows you to open a Standby database in Read/Write mode but for all I know
it needs Entreprise Edition.
In Enterprise Edition you can use Logical Standby database. More over, for Physical standby there's
a way by using flashback database so as to rolling backward the database and avoiding to recreate
the Standby.
In Standard Edition I'm afraid that you'll have to recreate your Standby database.
Best regards,
Jean-Valentin -
Should the STANDBY database be in NOMOUNT Mode?
Hi There,
Just setup DataGuard and want to monitor the primary and standby databases via the grid. However, I can not configure the standby database because the standby database is in NOMOUNT mode. Was I suppose to mount it? If not, how do I configure the standby database with the enterprise manager in NOMOUNT.
Thanks.
JJennifer;
Yes the standby should be in MOUNT mode before apply starts. Or No, to NOMOUNT if you prefer.
Oracle 11g Data Guard: Grid Control Management
http://www.databasejournal.com/features/oracle/article.php/3826706/Oracle-11g-Data-Guard-Grid-Control-Management.htm
Install DataGuard using Oracle Enterprise Manager 10g grid control
http://dbatips.wordpress.com/2007/02/17/install-dataguard-using-oracle-enterprise-manager-10g-grid-control/
Manage Your Existing Data Guards with Enterprise Manager Cloud Control
http://www.gokhanatil.com/2012/04/manage-your-existing-data-guards-with.html
oracle dataguard setup using enterprise manager grid control 11g
http://oracleinstall.wordpress.com/2011/08/21/1250/
Super Good
http://gavinsoorma.com/2011/03/creating-a-11g-data-guard-physical-standby-database-using-enterprise-manager-grid-control-10-2-0-5-2/
The oracle document Data Guard Broker 10g Release 1 (10.1) Part Number B10822-01 cover this in detail
http://docs.oracle.com/cd/B14117_01/server.101/b10822/gui.htm
OR for 11
http://docs.oracle.com/cd/B28359_01/server.111/b28295/title.htm
http://docs.oracle.com/cd/B28359_01/server.111/b28295/toc.htm
See Starting Up and Shutting Down a Physical Standby Database in the Data Guard Concepts and Administration
Data Guard Concepts and Administration 11g Release 2 (11.2) E10700-02
Best Regards
mseberg
Edited by: mseberg on Apr 27, 2012 3:22 PM -
Hello, I have a macbook air Mac OS 10.10.1 I download java because i need to use Facebook video chat, I already had java. now the computer is telling me overtime i start my computer that i need to download a java complement. what can i do?
Hi AnibalG,
Thanks for the question. Based on what you stated, it seems like you need to download Java. I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
Java for OS X 2014-001
Thanks for using Apple Support Communities.
Cheers,
Mario -
If the offline tablespace will be backuped when I issue the BACKUP DATABASE
will the offline tablespace be backuped if I issue the BACKUP DATABASE command?------No.148
Message was edited by:
frank.qianSimple answer is yes. Use the SKIP OFFLINE to skip offline tablespaces.
sys@ORCL> create tablespace test datafile 'c:\oracle\product\10.2.0\oradata\orcl\test01.dbf' size 100m autoextend on
2 extent management local uniform size 1m;
Tablespace created.
Elapsed: 00:00:06.96
sys@ORCL> alter tablespace test offline;
Tablespace altered.
Elapsed: 00:00:02.54
sys@ORCL> select tablespace_name, status from dba_tablespaces;
TABLESPACE_NAME STATUS
SYSTEM ONLINE
UNDOTBS1 ONLINE
SYSAUX ONLINE
TEMP ONLINE
USERS ONLINE
EXAMPLE ONLINE
TEST OFFLINE
7 rows selected.
Elapsed: 00:00:00.01
sys@ORCL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
c:\sql>rman
Recovery Manager: Release 10.2.0.2.0 - Production on Mon Jan 15 11:40:06 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target /
connected to target database: ORCL (DBID=1133000557)
RMAN> backup database;
Starting backup at 15-JAN-07
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=159 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
input datafile fno=00005 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
input datafile fno=00006 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEST01.DBF
input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 15-JAN-07
channel ORA_DISK_1: finished piece 1 at 15-JAN-07
piece handle=C:\ORACLE\PRODUCT\10.2.0\ORADATA\BACKUP\0AI7IGP2_1_1 tag=TAG20070115T114018 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
Finished backup at 15-JAN-07
Starting Control File and SPFILE Autobackup at 15-JAN-07
piece handle=C:\ORACLE\PRODUCT\10.2.0\ORADATA\BACKUP\C-1133000557-20070115-02 comment=NONE
Finished Control File and SPFILE Autobackup at 15-JAN-07
RMAN> -
I noticed today that my last back-up was this a.m. and it has tried several times to back up since but I keep getting this message
Time Machine couldn’t complete the backup to “TimeCap”.
The backup disk image “/Volumes/Data/ MacBook Pro ."sparsebundle” is already in use.
I have never had this problem before and don't know what to do. I am not that great around computers so if anyone can help I would appreciate it. I did try to do some research but could not understand any of the content I read. I sure don't know what "sparsebundle" is and this is the first time I ever heard the term.
If anyone can help woold appreciate it.
I have Version 10.9.1This is a standard issue..
Been around since LION but you missed out.. !! Well the old rule applies.. there are three types of Mac users.
1. The bugs have bitten you, and you have done the work arounds.
2. The bugs are biting you and you are now trying to find out what is going on.
3. The bugs will bite you. And in the meantime you laugh at everyone with problems and say it must be all their fault. Doesn't happen to my system.
You were simply in the last group.. now, with the wonders of mavericks to help, you got bit.
The solution is simple.. unplug the power cord from the TC .. count to 10.. power up the TC again.
No luck look at the more technical help.
C12 here. http://pondini.org/TM/Troubleshooting.html
Your naming might also be an issue if this continues to happen.. see C9. -
Need to backup and remove photo library from my iphone. This library was previously backup on a hard drive that crashed. So these photos are only in the photo library and not in the camera roll. If I do a full backup, it only takes the camera roll.
So this is a 2 part question:
1) how to I backup the Photo Library to my new hard drive (as the last one was unrecoverable but previously backed up)
2) how do I remove the Photo Library form my phone (preferably after backup in item 1)
Thanks, JanisSince it has always been very basic to backup your computer and all it's data, Apple provides no way for you to transfer music from your iPhone back to your computer. As you know, you can re-download all iTunes purchases, but music that you ripped yourself you'll have to just re-rip again.
You can try and find 3rd party applications that might help you. I'm sure you'll pay, however.
Let this be a very important lesson learned.
Best. -
Time Machine backup not completed because the "backup disk image"/Volumes/Data/MacBookAir.sparsebundle" is already in use. ??
Reboot the TC.. this is most common issue since Mountain Lion.
Look at the More Like This just on the right column. -
When I back up my macbook pro to time capsule 3TB, this appears:
"Time Machine couldn’t complete the backup to “Time Capsule”.The backup disk image “/Volumes/Data-1/Macintosh.sparsebundle” is already in use."
and I'm not able to back up. What do I do?As noted in the link I posted, that's fine if you're the only user logged-on to the only Mac using the TC's disks (internal and/or USB externals). If not, that may corrupt other data being written, especially other backups.
-
"Time Machine couldn’t complete the backup to “***Network Name***’ The Backup disk image “/Volumes/Data/MacBook Pro.sparsebundle” is already in use"
What does this mean and how do you fix it?I got that the file is in use, what is the trick to release the file. This has something to do with X.8, never had this problem befor I uploaded .8
-
I have rebooted in Mountain Lion (all updated)on my MacBook Pro and keep getting this error:
"Time Machine couldn't complete the backup to (drive). The backup image (myvolume).sparesebundle is already in use.)
I have a 2TB time machine with about 240GB left. Any ideas?
Thanks, JeffPlease look over to the right side of this page under the heading of More Like This for multiple answers and solutions.
-
Upgrading Installations that use Standby Databases
I have applied patch 6810189 and upgraded Oracle10g Database on my local machine, Now I am planing to apply it on test machine for that I need additional steps for upgrading Physical Standby database as said in README.html of p6810189_10204_Win32.zip
*7.1.2 Upgrading Installations that use Physical or Logical Standby Databases*
For information about physical standby databases, review document 278641.1.
Can anybody forward me this document or any suggestions for upgrading physical standby database..
THanks.thanks :)
but I am looking for complete steps, starting from applying patch to production then at standby database.... etc..etc -
Recovering primary using standby database
Hi all,
Here we have a dataguard environment with db1(db_unique_name) as primary and db2(db_unique_name) as physical standby database. We configured dataguard in 10g environments and we are not using grid control. And now we want to configure rman for incremental backups.After configuring we successfully took full backup in standby plus archive logs. Then as the test case we dropped one datafile from the primary and tried to recover it. It is showing the following error. Also when i tried 'crosscheck backup' from primary it is showing that all the backups taken in standby are 'expired'. But from RMAN connected to standby the same backups are showing as 'available'. Can anyone help to fix this?
On primary:
[oracle@db1 NIOS]$ sqlplus / as sysdba;
SQL*Plus: Release 10.2.0.3.0 - Production on Thu Sep 6 02:58:11 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> alter database datafile 4 offline; (after deleting datafile from system level)
Database altered.
[oracle@db1 NIOS]$ rman target sys/oracle@db1 catalog rman/oracle@appsdb
Recovery Manager: Release 10.2.0.3.0 - Production on Thu Sep 6 02:58:58 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: NIOS (DBID=1590630518)
connected to recovery catalog database
RMAN> restore datafile 4;
Starting restore at 06-SEP-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=107 devtype=DISK
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00004 to /u01/app/oracle/oradata/NIOS/users01.dbf
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp
ORA-19870: error reading backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp
ORA-19505: failed to identify file "/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp"
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
failover to previous backup
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00004 to /u01/app/oracle/oradata/NIOS/users01.dbf
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp
ORA-19870: error reading backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp
ORA-19505: failed to identify file "/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp"
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
failover to previous backup
channel ORA_DISK_1: restoring datafile 00004
input datafile copy recid=13 stamp=793208425 filename=/tmp/users01.dbf
destination for restore of datafile 00004: /u01/app/oracle/oradata/NIOS/users01.dbf
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 09/06/2012 02:59:10
ORA-19571: datafilecopy recid 13 stamp 793208425 not found in control file
ORA-19600: input file is datafile-copy 13 ()
ORA-19601: output file is datafile-copy 0 (/u01/app/oracle/oradata/NIOS/users01.dbf)
RMAN> crosscheck backup;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdsjlw_.bkp recid=18 stamp=793212040
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdtz6p_.bkp recid=19 stamp=793212087
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp recid=20 stamp=793212132
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793242038_84gdxw5j_.bkp recid=21 stamp=793212180
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T174759_84gjqrtn_.bkp recid=22 stamp=793216080
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp recid=23 stamp=793216082
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793246288_84gjs9h4_.bkp recid=24 stamp=793216129
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-1590630518-20120906-00 recid=5 stamp=793238431
Crosschecked 8 objects
On Stand-by:
[oracle@db2 NIOS]$ rman target sys/oracle@db2 catalog rman/oracle@appsdb
Recovery Manager: Release 10.2.0.3.0 - Production on Wed Sep 5 20:11:58 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: NIOS (DBID=1590630518, not open)
connected to recovery catalog database
RMAN> crosscheck backup;
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=91 devtype=DISK
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdsjlw_.bkp recid=18 stamp=793212040
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdtz6p_.bkp recid=19 stamp=793212087
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp recid=20 stamp=793212132
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793242038_84gdxw5j_.bkp recid=21 stamp=793212180
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T174759_84gjqrtn_.bkp recid=22 stamp=793216080
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp recid=23 stamp=793216082
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793246288_84gjs9h4_.bkp recid=24 stamp=793216129
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-1590630518-20120906-00 recid=5 stamp=793238431
Crosschecked 8 objects
Thanks in advance.Hello;
I would review one of these step by step :
Using RMAN Backup Files from Standby Database to Recover Primary
http://oraganism.files.wordpress.com/2009/04/backup-from-physical-standby.pdf
How to use standby backup to restore primary db
http://alexzeng.wordpress.com/2008/09/13/how-to-use-standby-backup-to-restore-primary-db/
Steps to recover the primary database's datafile using a copy of a standby database's datafile.
http://dbaregistry.blogspot.com/2010/01/steps-to-recover-primary-databases.html
RMAN in a Data Guard Environment
http://oracle.su/docs/11g/backup.112/e10642/rcmarchi.htm#CHDIFGFH
Performing a database clone using a Data Guard physical standby database
http://gavinsoorma.com/2012/04/performing-a-database-clone-using-a-data-guard-physical-standby-database/
Best Regards
mseberg
Maybe you are looking for
-
Apexir_REPORT_ID
Hello, I've an urgent question concerning interactive reports: How can I get and use the apexir_REPORT_ID in a dynamic action with "Action-type" = "Execute PL/SQL-Code"? If I choose "Action type" = "Execute JavaScript Code" I can get the apexir_REPOR
-
Hi, we are currently running EP7 SP11 in cluster (1 CI and 1 DI). We are experiencing the following issue related to JMS connection. This occured after an upgrade from EP6.0 SP19 to EP7.0 SP11. The error occurs (only on the DI) every second, directly
-
Professional CG program for the Mac?
We've recently begun using FCP at our facility, but I am finding the built in CG's to be less than professional. LiveType and Motion both require rendering them into movie clips, and the FCP and Boris CG's are barely useable (ie- they have none of th
-
Problem syncing iPhoto albums through iTunes
While using iTunes 11.0.5 to sync iPhoto 11 albums to my iPad, iTunes seems not be awaree of any update in the contents of the albums. iTunes also recognizes new albums if I create them in iPhoto, but indicates they contain 0 photos. This way I am no
-
By installing Yosemite, unable to upgrade iPhoto
just installing yosemite, everything got upgraded except iPhotos and iMovies, every time i hit the upgrade button for these softwares this is the message which appears "This update is not available for this Apple ID either because it was bought by a