Create a database from 32bit rman backup with NEW name on a 64bit system
Hello,
i'm more programmer than database admin but i need to set up a 10gR2 apex development server based on our productive instance in a short time.
For that i want to use a rman backup of the productive machine (SLES 10 32bit, DB10GR2+ASM, APEX 3.1).
Because of the less time i got, i want to use an existing machine (SLES 11 64bit, DB10GR2+ASM) as destination.
On this machine i want to create a new instance from the backup i took. I Already read note 881395.1 but i'm quite unsure about 2 things
a) It's VERY IMPORTANT that the development instance has another name than the productive instance.
When i follow 881395.1 and set the enviromental variable ORACLE_SID to another new name. Will this be all? Or will there be problems using another SID because of references in the controlfile or sth. like that?
b) It's VERY IMPORTANT that the datafiles aren't stored in the same path and with the same names as the productive instance. It is another server but there is already a copy of the database (our dba tried to set up a standby solution on this machine) and i don't want to bother this!
How can i rename the datafiles before restoring the backup from scatch?
I found this: set newname for datafile 1 to '<filesystem based filename>';
Will this help? Do i need to rename every single file? Or is it possible to set a path in which all datafiles will be restored?
c) What about the 32bit to 64 bit thing? Will this work? Or do i need to convert the database? How? RMAN Convert?
Or could RMAN convert anyhow used to realize the whole thing?
Thank you very much for your support!
Regards
Daniel
Hello,
i'm more programmer than database admin but i need to set up a 10gR2 apex development server based on our productive instance in a short time.
For that i want to use a rman backup of the productive machine (SLES 10 32bit, DB10GR2+ASM, APEX 3.1).
Because of the less time i got, i want to use an existing machine (SLES 11 64bit, DB10GR2+ASM) as destination.
On this machine i want to create a new instance from the backup i took. I Already read note 881395.1 but i'm quite unsure about 2 things
a) It's VERY IMPORTANT that the development instance has another name than the productive instance.
When i follow 881395.1 and set the enviromental variable ORACLE_SID to another new name. Will this be all? Or will there be problems using another SID because of references in the controlfile or sth. like that?
b) It's VERY IMPORTANT that the datafiles aren't stored in the same path and with the same names as the productive instance. It is another server but there is already a copy of the database (our dba tried to set up a standby solution on this machine) and i don't want to bother this!
How can i rename the datafiles before restoring the backup from scatch?
I found this: set newname for datafile 1 to '<filesystem based filename>';
Will this help? Do i need to rename every single file? Or is it possible to set a path in which all datafiles will be restored?
c) What about the 32bit to 64 bit thing? Will this work? Or do i need to convert the database? How? RMAN Convert?
Or could RMAN convert anyhow used to realize the whole thing?
Thank you very much for your support!
Regards
Daniel
Similar Messages
-
Create a database from 8i RMAN backup
Hi,
I am in need to recover some historic data from a historic database's RMAN backup.
The situation is ... I have one old RMAN backup of a 8i database which includes datafiles, archivellog files and control files. Init.ora file is also available.
I have installed the 8i software in a host and created the oracle service through ORADIM and pwd file through ORAPWD utility. Then copied the init.ora file under 'C:\Oracle\ADMIN\ORCL\PFILE' and the RMAN backup files under 'C:\Oracle\Ora81\DATABASE' folder.
Now I can start the instance with the init.ora file but can not mount as control files are not there. when I try to restore the control files through RMAN as...
RMAN> run
2> {
3> restore controlfile;
4> }
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06172: not connected to recovery catalog database
RMAN>
Now without the catalog database how can I restore the control files and the database from the RMAN backup?
I think the old RMAN metadata was stored in catalog database.
Any suggestion please?
regardsSorry I wrongly said that I do not have the DBID, I have DBID but I have controlfile backup as RMAN backupset, not in Binary. So even if I set DBID, RMAN asks for the catalog database, which is not available.
As I worked...
C:\>rman
Recovery Manager: Release 8.1.5.0.0 - Production
RMAN> SET DBID=1208994555
RMAN-03022: compiling command: CSET
RMAN> connect target sys/*****
RMAN-06193: connected to target database (not started)
RMAN> startup nomount
RMAN-06196: Oracle instance started
Total System Global Area 552011724 bytes
Fixed Size 65484 bytes
Variable Size 69357568 bytes
Database Buffers 482514944 bytes
Redo Buffers 73728 bytes
RMAN> run
2> {
3> allocate channel ch1 type disk;
4> restore controlfile;
5> alter database mount;
6> }
RMAN-03022: compiling command: allocate
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: allocate
RMAN-06172: not connected to recovery catalog database
RMAN> shutdown
RMAN-06402: Oracle instance shut down
RMAN> set dbid 1208994555
RMAN-03022: compiling command: CSET
RMAN> connect target sys/*** nocatalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "nocatalog": expecting one of: "newline, ;"
RMAN-01007: at line 1 column 27 file: standard input
RMAN> connect target sys/**** nocatalog;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "nocatalog": expecting one of: "newline, ;"
RMAN-01007: at line 1 column 27 file: standard input
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found ";": expecting one of: "allocate, alter, beginli
ne, catalog, change, connect, create, crosscheck, debug, delete, drop, exit, end
inline, host, {, library, list, mount, open, print, register, release, replace,
report, reset, resync, rman, rpctest, run, set, sql, "
RMAN-01007: at line 1 column 36 file: standard input
RMAN> exit
Recovery Manager complete.
C:\>rman target sys/**** nocatalog
Recovery Manager: Release 8.1.5.0.0 - Production
RMAN-06193: connected to target database (not started)
RMAN> run{
2> allocate channel ch1 type disk;
3> restore controlfile;
4> alter database mount;
5> }
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: ch1
RMAN-08500: channel ch1: sid=12 devtype=DISK
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06003: ORACLE error from target database: ORA-01507: database not mounted
ORA-06512: at "SYS.X$DBMS_RCVMAN", line 923
ORA-06512: at line 1
RMAN-06097: text of failing SQL statement: begin dbms_rcvman . setDatabase ( upp
er ( :dbname:dbname_i ) , :rlscn , :rltime , :fhdbi:fhdbi_i ) ; end ;
RMAN> -
Creating a standbay database from an rman backup
hi,
I have a situation that a standby database has a large gap in archive log files, the primary server does not now have those files. I understand that you can create a standby from an rman backup of the primary but all reading I have done shows thatn you have to have a recovery catalog to carry this out. The system I am on does not have such a catalog so is there any other way to do this?
regards
AlanRequirement 'You must have a recovery catalog in a standby requirement' is a little bit misleading. In fact you can do what you want : creating a standby from RMAN backups without having a recovery catalog. 'Duplicate target database for standby' does not require a connection to a recovery catalog.
You need mandatorily a recovery catalog, when you plan to take backups from the standby later on in order to free the primary from this task. The reason for that is it's not possible to transfer backup records from the standby controlfiles to the primary ones directly. After a backup on the standby you resync the catalog with the standby controlfile. Then you connect to the catalog and the primary,resync again and have actual backup informations in the primary controlfiles. When there's a media recovery problem, you easily can restore/recover the primary.
Werner -
How to create a table from an existing table with new column
Hi !
Please help me.
I want to create a table from an existing table with data and add two new column to the new table.
What will be the syntax?craete table new_table as select a.*, 'somevalue' new_col1, 'somevalue'
new_col2 from old_table a;Also there is a pitfall - newly created table will accept column type and precision from the select statement, so further you can be needed to modify columns
if you want to have VARCHAR2 instead of CHAR for example:
SQL> create table new_dept as select dept.*, 'New data' new_col from dept;
Table created.
SQL> desc new_dept
Name Null? Type
DEPTNO NUMBER(2)
DNAME VARCHAR2(14)
LOC VARCHAR2(13)
NEW_COL CHAR(8)
SQL> alter table new_dept modify (new_col varchar2(8));
Table altered.
SQL> desc new_dept
Name Null? Type
DEPTNO NUMBER(2)
DNAME VARCHAR2(14)
LOC VARCHAR2(13)
NEW_COL VARCHAR2(8)Rgds.
Didn't see michael's post - it reflects the fix for this problem using CAST.
Message was edited by:
dnikiforov -
Hello,
I would like to ask you about advice.
We have MSSQL 2008 R2, 32 bit. Memory is 4GB, split into 2GB for Windows and 2GB for applications. Database has recovery model simple because we have replicated data into other servers ( 2 ). Contemporary we work with 2 servers. Max memory for MSSQL is 2048
MB.
We set the backup as follows:
USE MSDB
GO
DECLARE @JMENO_ZALOHY VARCHAR(120)
SELECT @JMENO_ZALOHY = 'E:\backup\BackupSQL\1 Pondeli\DAVOSAM_'+ convert( varchar(2), datepart( hh, getdate() ) ) + '00_DEN_DIFF.bak'
SELECT @JMENO_ZALOHY
BACKUP DATABASE [DAVOSAM]
TO DISK = @JMENO_ZALOHY
WITH INIT, DIFFERENTIAL, CHECKSUM, COMPRESSION
GO
Every second or third day in log there is error message: 'There is insufficient system memory in resource pool 'internal' to run this query' Accurate in time of backup. The error is still repeat, majority in working hours.
Today I have found out, that problem is probably in compression of backup. Because if I removed word: compression, a backup normally runs without error.
Question: Is my hypothesis correct that problem is in backup with compression?
Thank you DavidHello, today evening I have ran backup command bellow. All is OK. Probably MSSQL has cleaned memory. Next attempt I will try in peak next week.
Since time I have removed word compression, in error log is not any error.
I have checked memory as soon as memory gets on top, it is about 1.707 GB the MSSQL writes into log this messgages:
2014-03-14 15:00:04.63 spid89 Memory constraints resulted reduced backup/restore buffer sizes. Proceding with 7 buffers of size 64KB.
2014-03-14 15:00:08.74 Backup Database differential changes were backed up. Database: DAVOSAM, creation date(time): 2014/01/12(22:03:10), pages dumped: 16142, first LSN: 1894063:1673:284,
last LSN: 1894063:1792:1, full backup LSN: 1894053:15340:145, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'E:\backup\BackupSQL\5 Patek\DAVOSAM_1500_DEN_DIFF.bak'}). This is an informational message. No user action is required.
2014-03-14 15:00:12.79 spid72 Memory constraints resulted reduced backup/restore buffer sizes. Proceding with 7 buffers of size 64KB.
2014-03-14 15:00:12.88 Backup Database differential changes were backed up. Database: WEBFORM, creation date(time): 2014/02/01(05:22:47), pages dumped: 209, first LSN: 125436:653:48, last
LSN: 125436:674:1, full backup LSN: 125435:689:36, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'E:\backup\BackupSQL\5 Patek\WEBFORM_1500_DEN_DIFF.bak'}). This is an informational message. No user action is required.
After that the MSSQL reduced memory on 1.692.
USE MSDB
GO
DECLARE @JMENO_ZALOHY VARCHAR(120)
SELECT @JMENO_ZALOHY = 'E:\backup\BackupSQL\6 Sobota\DAVOSAM_'+ convert( varchar(2), datepart( hh, getdate() ) ) + '00_DEN_FULL.bak'
SELECT @JMENO_ZALOHY
BACKUP DATABASE [DAVOSAM]
TO DISK = @JMENO_ZALOHY
WITH INIT, CHECKSUM, COMPRESSION, MAXTRANSFERSIZE=65536
GO
E:\backup\BackupSQL\6 Sobota\DAVOSAM_2100_DEN_FULL.bak
(1 row(s) affected)
Processed 467240 pages for database 'DAVOSAM', file 'DavosAM_Data' on file 1.
Processed 2 pages for database 'DAVOSAM', file 'DavosAM_Log' on file 1.
BACKUP DATABASE successfully processed 467242 pages in 24.596 seconds (148.411 MB/sec).
select * from sys.dm_exec_connections
where net_packet_size > 8192
session_id most_recent_session_id connect_time net_transport protocol_type
protocol_version endpoint_id encrypt_option auth_scheme
node_affinity num_reads num_writes last_read last_write net_packet_size client_net_address
client_tcp_port local_net_address local_tcp_port
connection_id parent_connection_id most_recent_sql_handle
(0 row(s) affected)
SELECT SUM (pages_allocated_count * page_size_in_bytes)/1024 as 'KB Used', mo.type, mc.type
FROM sys.dm_os_memory_objects mo
join sys.dm_os_memory_clerks mc on mo.page_allocator_address=mc.page_allocator_address
GROUP BY mo.type, mc.type, mc.type
ORDER BY 1 DESC;
KB Used type type
29392 MEMOBJ_SORTTABLE MEMORYCLERK_SQLSTORENG
9392 MEMOBJ_SOSNODE MEMORYCLERK_SOSNODE
8472 MEMOBJ_SQLTRACE MEMORYCLERK_SQLGENERAL
5480 MEMOBJ_SECOLMETACACHE USERSTORE_SCHEMAMGR
5280 MEMOBJ_RESOURCE MEMORYCLERK_SQLGENERAL
5008 MEMOBJ_CACHEOBJPERM USERSTORE_OBJPERM
4320 MEMOBJ_SOSSCHEDULER MEMORYCLERK_SOSNODE
2864 MEMOBJ_PERDATABASE MEMORYCLERK_SQLSTORENG
2328 MEMOBJ_SQLCLR_CLR_EE MEMORYCLERK_SQLCLR
2288 MEMOBJ_SESCHEMAMGR USERSTORE_SCHEMAMGR
2080 MEMOBJ_SOSDEADLOCKMONITORRINGBUFFER MEMORYCLERK_SQLSTORENG
2008 MEMOBJ_LOCKBLOCKS OBJECTSTORE_LOCK_MANAGER
1584 MEMOBJ_CACHESTORETOKENPERM USERSTORE_TOKENPERM
1184 MEMOBJ_LOCKOWNERS OBJECTSTORE_LOCK_MANAGER
840 MEMOBJ_SNIPACKETOBJECTSTORE OBJECTSTORE_SNI_PACKET
760 MEMOBJ_SOSDEADLOCKMONITOR MEMORYCLERK_SQLSTORENG
752 MEMOBJ_SESCHEMAMGR_PARTITIONED USERSTORE_SCHEMAMGR
688 MEMOBJ_RESOURCEXACT MEMORYCLERK_SQLSTORENG
616 MEMOBJ_SOSWORKER MEMORYCLERK_SOSNODE
552 MEMOBJ_METADATADB MEMORYCLERK_SQLGENERAL
480 MEMOBJ_SRVPROC MEMORYCLERK_SQLCONNECTIONPOOL
424 MEMOBJ_SQLMGR CACHESTORE_SQLCP
400 MEMOBJ_SBOBJECTPOOLS OBJECTSTORE_SERVICE_BROKER
384 MEMOBJ_SUPERLATCH_BLOCK MEMORYCLERK_SQLSTORENG
384 MEMOBJ_RESOURCEDATASESSION MEMORYCLERK_SQLGENERAL
352 MEMOBJ_SOSSCHEDULERMEMOBJPROXY MEMORYCLERK_SOSNODE
328 MEMOBJ_SBMESSAGEDISPATCHER MEMORYCLERK_SQLSERVICEBROKER
320 MEMOBJ_METADATADB USERSTORE_DBMETADATA
296 MEMOBJ_INDEXSTATSMGR MEMORYCLERK_SQLOPTIMIZER
264 MEMOBJ_LBSSCACHE OBJECTSTORE_LBSS
224 MEMOBJ_XE_ENGINE MEMORYCLERK_XE
216 MEMOBJ_GLOBALPMO MEMORYCLERK_SQLGENERAL
208 MEMOBJ_PROCESSRPC USERSTORE_SXC
200 MEMOBJ_SYSTASKSESSION MEMORYCLERK_SQLCONNECTIONPOOL
200 MEMOBJ_REPLICATION MEMORYCLERK_SQLGENERAL
192 MEMOBJ_SOSSCHEDULERTASK MEMORYCLERK_SOSNODE
176 MEMOBJ_SQLCLRHOSTING MEMORYCLERK_SQLCLR
168 MEMOBJ_SYSTEMROWSET CACHESTORE_SYSTEMROWSET
128 MEMOBJ_RESOURCESUBPROCESSDESCRIPTOR MEMORYCLERK_SQLGENERAL
128 MEMOBJ_CACHESTORESQLCP CACHESTORE_SQLCP
128 MEMOBJ_RESOURCESEINTERNALTLS MEMORYCLERK_SQLSTORENG
120 MEMOBJ_BLOBHANDLEFACTORYMAIN MEMORYCLERK_BHF
120 MEMOBJ_SNI MEMORYCLERK_SNI
88 MEMOBJ_QUERYNOTIFICATON MEMORYCLERK_SQLOPTIMIZER
72 MEMOBJ_HOST MEMORYCLERK_HOST
72 MEMOBJ_INDEXRECMGR MEMORYCLERK_SQLOPTIMIZER
64 MEMOBJ_RULETABLEGLOBAL MEMORYCLERK_SQLGENERAL
56 MEMOBJ_SERVICEBROKER MEMORYCLERK_SQLSERVICEBROKER
56 MEMOBJ_REMOTESESSIONCACHE MEMORYCLERK_SQLGENERAL
56 MEMOBJ_PARSE CACHESTORE_PHDR
48 MEMOBJ_CACHESTOREBROKERTBLACS CACHESTORE_BROKERTBLACS
48 MEMOBJ_APPENDONLYSTORAGEUNITMGR MEMORYCLERK_SQLSTORENG
40 MEMOBJ_SBASBMANAGER MEMORYCLERK_SQLSERVICEBROKER
32 MEMOBJ_OPTINFOMGR MEMORYCLERK_SQLOPTIMIZER
32 MEMOBJ_SBTRANSPORT MEMORYCLERK_SQLSERVICEBROKERTRANSPORT
32 MEMOBJ_CACHESTOREBROKERREADONLY CACHESTORE_BROKERREADONLY
32 MEMOBJ_DIAGNOSTIC MEMORYCLERK_SQLGENERAL
32 MEMOBJ_UCS MEMORYCLERK_SQLSERVICEBROKER
24 MEMOBJ_STACKSTORE CACHESTORE_STACKFRAMES
24 MEMOBJ_CACHESTORESXC USERSTORE_SXC
24 MEMOBJ_FULLTEXTGLOBAL MEMORYCLERK_FULLTEXT
24 MEMOBJ_APPLOCKLVB OBJECTSTORE_LOCK_MANAGER
24 MEMOBJ_FULLTEXTSTOPLIST CACHESTORE_FULLTEXTSTOPLIST
24 MEMOBJ_CONVPRI CACHESTORE_CONVPRI
16 MEMOBJ_SQLCLR_VMSPY MEMORYCLERK_SQLCLR
16 MEMOBJ_VIEWDEFINITIONS MEMORYCLERK_SQLOPTIMIZER
16 MEMOBJ_SBACTIVATIONMANAGER MEMORYCLERK_SQLSERVICEBROKER
16 MEMOBJ_AUDIT_EVENT_BUFFER OBJECTSTORE_SECAUDIT_EVENT_BUFFER
16 MEMOBJ_HASHGENERAL MEMORYCLERK_SQLQUERYEXEC
16 MEMOBJ_SBTIMEREVENTCACHE MEMORYCLERK_SQLSERVICEBROKER
16 MEMOBJ_ASYNCHSTATS MEMORYCLERK_SQLGENERAL
16 MEMOBJ_BADPAGELIST MEMORYCLERK_SQLUTILITIES
16 MEMOBJ_QSCANSORTNEW MEMORYCLERK_SQLQUERYEXEC
16 MEMOBJ_SCTCLEANUP MEMORYCLERK_SQLGENERAL
16 MEMOBJ_XP MEMORYCLERK_SQLXP
8 MEMOBJ_SECURITY MEMORYCLERK_SQLGENERAL
8 MEMOBJ_CACHESTOREBROKERRSB CACHESTORE_BROKERRSB
8 MEMOBJ_EXCHANGEXID MEMORYCLERK_SQLGENERAL
8 MEMOBJ_CACHESTOREVENT CACHESTORE_EVENTS
8 MEMOBJ_CACHESTOREXPROC CACHESTORE_XPROC
8 MEMOBJ_DBMIRRORING MEMORYCLERK_SQLUTILITIES
8 MEMOBJ_SERVICEBROKERTRANSOBJ CACHESTORE_BROKERTO
8 MEMOBJ_CACHESTOREOBJCP CACHESTORE_OBJCP
8 MEMOBJ_CACHESTOREXMLDBELEMENT CACHESTORE_XMLDBELEMENT
8 MEMOBJ_ENTITYVERSIONINFO MEMORYCLERK_SQLSTORENG
8 MEMOBJ_AUDIT_MGR MEMORYCLERK_SQLGENERAL
8 MEMOBJ_EXCHANGEPORTS MEMORYCLERK_SQLGENERAL
8 MEMOBJ_DEADLOCKXML MEMORYCLERK_SQLSTORENG
8 MEMOBJ_CACHESTORETEMPTABLE CACHESTORE_TEMPTABLES
8 MEMOBJ_HTTPSNICONTROLLER MEMORYCLERK_SQLHTTP
8 MEMOBJ_CACHESTOREVIEWDEFINITIONS CACHESTORE_VIEWDEFINITIONS
8 MEMOBJ_CACHESTOREPHDR CACHESTORE_PHDR
8 MEMOBJ_CACHESTOREXMLDBTYPE CACHESTORE_XMLDBTYPE
8 MEMOBJ_CACHESTORE_BROKERUSERCERTLOOKUP CACHESTORE_BROKERUSERCERTLOOKUP
8 MEMOBJ_EVENTSUBSYSTEM MEMORYCLERK_SQLGENERAL
8 MEMOBJ_CACHESTOREBROKERDSH CACHESTORE_BROKERDSH
8 MEMOBJ_SOSDEADLOCKMONITORXMLREPORT MEMORYCLERK_SQLSTORENG
8 MEMOBJ_CACHESTOREXMLDBATTRIBUTE CACHESTORE_XMLDBATTRIBUTE
8 MEMOBJ_CACHESTOREBROKERKEK CACHESTORE_BROKERKEK
8 MEMOBJ_QPMEMGRANTINFO MEMORYCLERK_SQLQUERYEXEC
8 MEMOBJ_CACHESTOREQNOTIFMGR CACHESTORE_NOTIF
(101 row(s) affected)
David -
Help with Restoring from Time Machine Backup with new Hard Drive
Hello. Recently, my hard drive died in my 24" Early 2008 Aluminum iMac. Luckily, I had a time machine backup, and I took it upon myself to replace the 320 GB Hard Drive with a 2 TB Seagate Barracuda disk. The hardware replacement (although difficult) went fine. Now, I'm having a bit of trouble restoring the new drive from my time machine backup. The new disk shows up in Disk Utility with the correct capacity. I formatted the new drive with Mac OS Extended (Journaled) using my installation disk. My only problem is that the drive isn't showing up when I am choosing which drive I want to restore my time machine backup onto. I can pick out the backup I want perfectly fine, but I can't find the new drive. Any help?
UPDATE: I restarted it (Classic IT Crowd "Have you tried turning it off and on" moment) and the drive shows up on screen. Right now, I'm waiting for it to "Calculate disk size needed for restore" and I'll keep you posted.
UPDATE 2: Currently restoring. Let's see if it's successful.
Message was edited by: funman895 -
Rman backup with standby database
Hi All,
I am looking for some suggestions for rman backup with standby database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at sql 'alter system archive log current' in rman with standby as target. which gives following errors with or without noswitch clause
RMAN> sql 'alter system archive log current noswitch';
sql statement: alter system archive log current noswitch
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
ORA-01109: database not open
Recovery Manager: Release 11.2.0.1.0
Oracle databaes Release 11.2.0.1.0 64 bit
OS:RHEL 6 x86-64 bit
Secondly, do I need to cancel manged recovery while taking rman backups on standby.
I scanned thru MOS but could find solutions for rman with active DG.
Thanks in advance726d07e6-b870-431f-8c22-a499c3ec4e0c wrote:
Hi All,
I am looking for some suggestions for rman backup with standby database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at sql 'alter system archive log current' in rman with standby as target. which gives following errors with or without noswitch clause
RMAN> sql 'alter system archive log current noswitch';
sql statement: alter system archive log current noswitch
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
ORA-01109: database not open
Recovery Manager: Release 11.2.0.1.0
Oracle databaes Release 11.2.0.1.0 64 bit
OS:RHEL 6 x86-64 bit
Secondly, do I need to cancel manged recovery while taking rman backups on standby.
I scanned thru MOS but could find solutions for rman with active DG.
Thanks in advance
"I scanned thru MOS but could find solutions for rman with active DG."
Howto make a consistent RMAN backup in an Standby database in Active DataGuard mode (Doc ID 1419923.1) -
we upgrade 10.2.4.0 database from 32bit (Windows 2003 os ) to 64 bit (windows).
the steps:
1. Install 10g server and client in 64 bit server and run patch set.
2. Restore rman db backup (from 32bit machine ) to 64bit server. Migrate database in new server.
3. setup EM db console in new server.
emca -config dbcontrol db -repos create
Step 1 and 2 work fine.
Step 3 has problem with emca:
java.io.IOException: The handle is invalid
at java.io.FileInputStream.close0(Native Method)
Enterprise Manager configuration completed successfully
at java.io.FileInputStream.close(FileInputStream.java:245)
at sun.nio.cs.StreamDecoder$CharsetSD.implClose(StreamDecoder.java:505)
FINISHED EMCA at Jul 1, 2010 9:33:06 AM at sun.nio.cs.StreamDecoder.close(Stream
Decoder.java:198)
at java.io.InputStreamReader.close(InputStreamReader.java:187)
at java.io.BufferedReader.close(BufferedReader.java:502)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine$ErrorStreamReader.r
un(SQLEngine.java:2406)
at java.lang.Thread.run(Thread.java:595)
After setup DB console, we can access DB console with https://localhost:1158/em,
but can not access from https://machinename:1158/em
Thanks,It is offensive that you have posted the exact same question multiple times in a matter of minutes.
Please go back and edit all but one of them so the subject reads "Please Ignore."
I am ignoring this thread and all others until you clean it up. We are volunteers and do not appreciate having our time wasted by reading the same request from the same person multiple times while trying to help people that need help.
Thank you. -
Create test database from standby without some data
Hi. I want to create test database from my standby database using rman.
But i have some some tables and where information is too large i dont want backup all data from this tables. because i dont have enough space on my test server.
Have u any idea for solution this problem.
ThanksBut have suggestion.
You can create duplicate database on based your target database (to new host) and skip undesired tablespaces...
bash# rman target /
RMAN> ....
your code should be like :
run {
allocate auxiliary channel 'dev_0' type 'sbt_tape'
parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
allocate auxiliary channel 'dev_1' type 'sbt_tape'
parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
allocate auxiliary channel 'dev_2' type 'sbt_tape'
parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
allocate auxiliary channel 'dev_3' type 'sbt_tape'
parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
SET UNTIL SCN 7769764681915;
DUPLICATE TARGET DATABASE TO MYTS SKIP TABLESPACE TOOLS_IDX,TOOLS,ARCHIVE,IDX;
Edited by: Ulfet Tanriverdiyev on Dec 21, 2010 3:42 AM -
Hi,
I'm using javaDb embedded and I trying to find the best way to create a database from a xml file.
I managed to do this, previously with netbeans 6.9, jdk 6 and apache ddlutils.
Unfortunately this method as proven to be not so good, and and can't get it to work with netbeans 7.
Is there a best way to do this?? Any recommendation on this matter will be appreciated.
Thanks in advance,
Hugos3c wrote:
Hi,
I'm using javaDb embedded and I trying to find the best way to create a database from a xml file.
I managed to do this, previously with netbeans 6.9, jdk 6 and apache ddlutils.
Unfortunately this method as proven to be not so good, and and can't get it to work with netbeans 7.
Is there a best way to do this?? Any recommendation on this matter will be appreciated.
Thanks in advance,
Hugowhat does question or solution have to do with forum TOPIC Oracle RDBMS? -
How to create a database from dfj zip file
Hi,
I have created a database template via DCA from PC-1 which has got oracle 9i and it has produced a file with extention dfj.
I am trying to create a new database using this dfj file on a different pc which has oracle 10g.
1- How can i use dfj file to create a new database?
2- Can i use Oracle 9i templates in Oracle 10g?-in dbca you have the option to create the database from existing template
-not sure if we can simply use 9i template in 10g but you may try, chances are less. -
Problem to copy database from the hot backup
Oracle9i Enterprise Edition Release 9.2.0.4.0
SunOS 5.8
Hi all,
I wrote the UNIX script to copy the production Oracle 9i database from the hot backup to the Oracle 9i development database. I already did it manually without any problems using Metalink document Note:18070.1
The script stops after the command
recover database until cancel using backup controlfile ,
because I have to apply all archived logs manually.
How is it possible to get rid of this problem and automatically apply archived logs?
Thank you in advance for your help.
Alex
P.S. We are not authorized to use RMAN.P.S. We are not authorized to use RMAN. We dont get your point?
Who stops you using RMAN?
How did you take the hot backup then?
There are couple of good notes on metalink, and below is one of them,
RMAN Duplicate Database in Oracle9i / Oracle 10G Doc ID: Note:228257.1
Jaffar -
Can I create pdf files from Outlook 2003 messages with Acrobat XI Standard?
Can I create pdf files from Outlook 2003 messages with Acrobat XI Standard?
Yes, Outlook 2003 is compatible with Acrobat XI Standard and you can create PDFs from emails.
For reference: http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html -
I just upgraded to the 5s but the sales lady did not restore from my last backup with my 4s. How do I get my pictures and settings restored? I cannot seem to get it to give me that option. Can anyone tell me what to do? Thanks so much!
If the phone has already been set up, you will need to go to Settings > General > Reset > Erase All Content and Settings to be able to go through the setup again. This time use Restore from Backup.
This will walk you through the setup screens:
Getting Started and Get-Started Apps -
Hi, I would like to create a database from my numbers spreadsheet and create reports (like SQL). Is there a way?
Numbers is a lightweight spreadsheet. If you know sql you will know that it can handle many queries and is a real databases that can handle many thousands of records. Number is not the correct tool. You can make something that does something like a query but it is not truly a query.
Can you share anything about the specific application and how much information there is in each record? How many records (rows)?
Maybe you are looking for
-
Videos won't play in JavaFX app running on mobile emulator
Tried a lot of file types: on2 vp6f's flv, avi, flv, mpg4, wmv - doesn't play on the mobile emulator. It's weird since on2 vp6f is the video format supported by JavaFX. Odd thing is, when run with standard execution, the video plays. Oh and I'm using
-
Spam per terms of use or forums rules?
As seen from this user's history of posts, is this a case of spam that might demand removal of these posts? http://forums.oracle.com/forums/search.jspa?threadID=&q=linux&objID=c84&dateRange=all&userID=user585494&numResults=15&rankBy=10001 I'm mainly
-
When new version happen do all branch get updates of Fixed
suppose I have a 27 Beta. If Mozilla fixed something in RTM do I will get the fixes when 28 Beta released. Better explain :- Suppose I use Firefox Nightly 29. I got some bugs that is later fixed When 29 Aurora happen. Now I am on 30 nightly. Is that
-
TVT Password manager 4.00.024
I might have missed something, but now with PWM4 there is a double request for finger prints, one the screen say client security is requesting.... and the next is password manager is requesting... What i would like is to keep the fingerprint at windo
-
How do I delete apps from my iCloud storage that I no longer want or use?
How do I delete apps from my iCloud storage that I no longer want or use?