Advise on restoring to another server
Hi all.
I have the following scenario for an Oracle 10g DB SEO enviroment.
1) Production server: Oracle Linux Update 5, Oracle 10g Database. Database in archive mode. Archive with two archive destination: USE_DB_RECOVERY_FILE_DEST and an alternate archive destination which will currently be a directory mounted through NFS.
2) Recovery Server: this server will have identical SO and DB version, but will be used in case production server fails. This server will hold a copy of the archive of production server.
In case production server fails, i'd like to be sure if this recovery procedure is feasible:
1) Restore a cold backup from production server to recovery server.
2) Recover the database from the most recent cold backup and apply of logs to cold backup up to just before failure. To do this one must:
2.1) Rewrite newest version of control and redolog files from production server: assuming you can actually access.
2.2) Start mount and recover database applying all required archive and redolog.
Please advise on this scenario. Is this possible? Am i missing something?
Look around on the intertubes for standby database scripts. Before dataguard, this was very common. There used to be a failover and failback whitepaper (maybe in the 8i timeframe?), but that may have disappeared in favor of more modern ways.
It used to be you could avoid double licensing by not bringing up the standby more than so many days a year or something like that, but I think nowadays you may be stuck. Check for current official policies.
Similar Messages
-
How to test restore in another server?
Hi,
I want to test full backup (hot backup using RMAN) of my DB (11.2 SE) on another server (I didn't install DB on yet).
Saad,to test the backup -which is done by third party softwareHow you restore really depends on how you backup the database !
Without knowing how the backup is done it would be incorrect to advice a single method to test restoration.
Nevertheless, you need to start with an installation of Oracle software (RDBMS, Binaries) on the new test server. You would have to install the same Oracle RDBMS Release and Version as the one that is running in your production server (where the backup was taken). If the third party software incorporates media management libraries, you'd need to install and configure them as well. Thereafter, the restore command depends on how the backup is done.
Hemant K Chitale -
Database Restore on another Server
Could someone please explain to me (or point me in the right direction) the procedure (How-To) on how to restore a database to another server?
please understand I'm just learning oracle and this is all new to me.
e.g., I have good backups of a database. I restore those database files (control files, dbf, redo logs) to another server. What are the steps in bringing that database up online on a different server?
...thanksRead thread
how to clone a database
Always serach forum.oracle.com, beofre open new thread.
Cheer,
Virag Sharma -
After insall'g SAP can a backup be restored from another server?
I have installed SAP onto Server B, and would like to use a backup (third part vendor 'commvault') created by commvault on server A, to restore to Server B.
The SIDs are the same, and the same CDs were used to install SAP, the ONLY differneces are the IP addresses and the Server names
Will this work?
MariaHi Maria,
If the server names are different then, you cannot restore a backup.
In this case you have do a system copy.
Please go through sap help site for more details on system copy.
Best Regards
Raghu -
Filter List View by User and Groups in SharePoint Does Not Work on site Restore to another Server
We have a scenario where users from a group or seeing items of list views entered by users of other group.
For e.g, we have (ALL are Active Directory users and are authenticated as such)
GROUP A with USER-A1, USER-A2, USER-A3
GROUP B with USER-B1, USER-B2, USER-B3
GROUP C with USER-C1, USER-C2, USER-C3
We created views called
GROUP_A_VIEW
GROUP_B_VIEW
GROUP_C_VIEW
We created a web part for each of this view
And from Advanced Settings, added Target audience for each VIew with respect. For e.g. if Target AUdience is Group A, then USER-A1 will see items entered by himself or USER-A2, and USER-A3 but not the mbers of GROUP_B and GROUP_C
It works fine on the our development machine.
However when we backup and restore to other machine containing the same Active Directory users,
GROUP A members are seeing records entered by GROUP B
GROUP B members are seeing records entered by GROUP C
GROUP C members are seeing records entered by GROUP D
....etc.
Any help will be appreciated.
Murali BoyapatiGroups and users are stored locally in a cache on each site collection. Within that site collection they have IDs assigned which are used internally to identify those groups.
What is probably happening is that the groups you've targeted are being identified by IDs which are not consistent between your source site collection and your destination collection. -
RMAN restore to another server - step by step
I have hot backups on tape, with catalog.
I have a prod database and a auxiliary database, but their names are the same..
I need to know the steps to perform a restore to auxiliary database´s machine (same plataform).
I´m doing the folowing for test purpose (the auxiliary database is in nomount state).
1) on AUXILIARY machine: rman target rman/pwd@PROD auxiliary sys/pwd
2) restore controlfile to 'c:\teste' from autobackup;
But, the controlfile was restored on PRODUCTION database´s machine.
Why?!
TIA
RogérioThanks for your help Kuljeet.
But i still have the same problem: if the *Backup must be available on new host" i need to restore to the new host. My problem is: I don´t know to do that using RMAN (my backup is in tape). In all my tests, the backup (controlfile) was restored to the target database´s host. If I try to restore the whole database, the target database will be overwrite. (Sorry for my english).
1) Where I connect to rman: in target database´s machine, in auxiliary database´s machine, etc? I think is in auxiliary database´s machine
2) How to connect? rman target user/pwd@database catalog user/pwd@database auxiliary sys/sys OR rman target user/pwd@database auxiliary sys/sys OR other?
Thanks
Rogerio -
Restore Rman backup on another server
Hi.,
I am taking oracle 10g rman Incremental backup level 1
on Sunday I am taking full backup.
No Repository catlog is used.
I want to restore all the database using the backup of RMAN on the another server .
Can you tell mi whats are the step to restore on another server .http://download-uk.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov002.htm#sthref723
-
Restore ( duplicate) db from tape backup from one server to another server
I am looking for step by step process to restore (duplicate)db from tape backup from one server to another server
ThanksCreating a Duplicate Database on a Remote Host will provide all the information.
-
Restore essbase.sec file to another server
Dear all,
I've restored several databases from our Develop server to another server.
But can I just copy security file to that server?
My concern is they have different numbers of app/db, will the security file work?
if it doesnt work, how can I recover the security file of a certain database?
Thank you in advance for your help!!Singlejoe,
You are going to have problems if you don't match up the app/dbs on your target server.
Assuming that your source dev server has more databases than the target, before you copy over, create dummy apps/dbs on the target. Stop Essbase, and backup your to-be-replaced Essbase.sec. (A just-in-case copy to retain whatever security, filters, etc. you may have).
If you have more/different apps/dbs on your target, I would archive them (full backup to text, copy all relevant artifacts, etc.) and then delete. Then follow the paragraph above. The point is to make the app/db folders look exactly the same to Essbase.sec.
Then copy over your source Essbase.sec to your target, delete the dummy apps/dbs and you should be good to go.
Regards,
Cameron Lackpour -
Restore database noarchivelog to another server in ASM
I have to migrate a database 10g with noarchivelog with filesystem to another server with ASM.
Could you help me to do it?
Thanks.ok, I put the database in archivelog but I don`t understando the link "http://www.oracleflash.com/10/How-to-migrate-Oracle-datafiles-to-ASM-storage-via-RMAN.html".
First, I have moved the database to the new server, now I have the database with filesystem but in the final server with archivelog. OK.
The steps are:
first, I have to modify the parameters of db_create_file_dest, etc, to +ASM.
I hve to shutdown the database, open nomount, restore controlfile and backup as copy.
Is it correct?,
one question, the restore controlfile, I suppose that I have to have a previous backup with filesystem of controlfile?
Thanks. -
How can I install a new license restored system to another server
I have restored a backup of an existing system to another server to create a lab system. How do I log in so that I can get a new license key for that hardware id? I've tried removing SAP* from usr02 but it has a j2ee engine also and my thought it the abap and j2ee side aren't matching up? Please help!
Prince Jose wrote:>
> saplicense -install to install the license.
That does not work for the newer versions anymore. I'll see if I can find the version threshold.
Nowadays you must use tr. SLICENSE so logging on as sap* is probabely the only way.....
Addition:
Note 870871 tells a lot more about installing licenses.
Edited by: Jurjen Heeck on Jan 11, 2008 10:46 PM -
Restoring Database from tape to another server
Hi
What are the environment changes or other related changes that need to be made if we have to restore an oracle database to another server.
Like, we have one Oracle database on linux server XYZ and it is backed up to Tape using RMAN. And we need to restore the same database to server ABC.Do we need to modify any environment variables and such so that restore is done ? Or does it work straight away in this different server too ?Hello,
Please have a look into the document 372996.1 MOS.
and the thread: http://www.dbasupport.com/forums/showthread.php?t=56236
Good luck! -
Relocate DB instance to another server
Hi,
I would like to hear some advise on the procedure to relocate my DB instances.
Background:
This project is to replace the hardware where the database instances of SAP Netwevare PI/XI 7.0 are running. This is a distriguted environment. The DB instances are Oracle 10.2 running on RedHat Linux x86-64. The new hardware will be running RedHat Linux x86-64. As you can see the OS is not changing. The instance name is not changing. The Application server names IS NOT changing. However, the DB server name is changing.
Here is the altrenative that I have in mind.
1. Backup source DB
2. Restore into new server and restart.
3. Point the SAP instance to the new server. Is there a note or procedure to make this change? Is is enugh with changing only the tnsnames.ora?
I guess another alternative would be to make a system copy? What would you do if you have to relocate your DB instances?
Thanks!Hello Augusto,
if i understood you correct only the host of the database is changed. The ABAP and JAVA instances are still running on the same host as before?
If yes then this is pretty easy ... you can shutdown and copy the database with scp/rsync .. or if you have a shared storage you can just remap the disks to the new server.
As you described, that the hostname of the DB host will change you have to do 2 things
1) Change hostname of entries in tnsnames.ora (for more information about tnsnames check sapnote #562403)
2) Change the host connection entry in the secure store of the Java instance (http://help.sap.com/saphelp_nwpi71/helpdata/de/ec/9432d189c445cdacdc7e520981b4b6/content.htm / Database Schema password should be change or not)
Regards
Stefan -
Error while duplicate database from one server to another server
Hi there,
I am practicing duplicate database from one single database server to another server. Hardware and driver path on 2 machines is the same. Here are my steps:
--------------------- Clone site:
1. modify listener.ora with content:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(SID_NAME= orcl)
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
2. stop and start listener again, message show like :
Service “orcl” has 1 instance(s).
Instance “orcl”, status UNKNOWN, has 1 handler(s) for this service…
The command completed successfully
3. create pfile from spfile.
4. shutdown and startup nomount with pfile is new pfile create from step 3.
--------------------------------------- Source site
1. modify tnsnames.ora with content like:
VVCOREDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = vvcoredb)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT=1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
2. run command from rman like these:
rman> connect target sys@vvcoredb
rman> target database Password:
rman> connect auxiliary sys@orcl
rman> auxiliary database Password:
rman> DUPLICATE TARGET DATABASE to orcl from active database spfile nofilenamecheck;
Then the result show below:
Starting Duplicate Db at 24-SEP-12
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=63 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
executing Memory Script
Starting backup at 24-SEP-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=74 device type=DISK
Finished backup at 24-SEP-12
sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
contents of Memory Script:
sql clone "alter system set db_name =
''ORCL'' comment=
''duplicate'' scope=spfile";
shutdown clone immediate;
startup clone nomount;
executing Memory Script
sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/24/2012 17:44:12
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
ORA-01262: Stat failed on a file destination directory
Linux-x86_64 Error: 2: No such file or directory
I don't know what wrong with my pfile? I specify correct my pfile on clone site like this:
orcl.__db_cache_size=1476395008
orcl.__java_pool_size=16777216
orcl.__large_pool_size=16777216
orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
orcl.__pga_aggregate_target=1342177280
orcl.__sga_target=1979711488
orcl.__shared_io_pool_size=0
orcl.__shared_pool_size=436207616
orcl.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='orcl'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area/vvcoredb'
*.db_recovery_file_dest_size=4070572032
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.memory_target=3313500160
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
Please suggest me do i miss some steps when try to duplicate database?
Any suggestions are welcome.
Thanks in advance!
P/s: Sorry for my bad English.Oh god, it worked. Thank you. But i got another problem like this:
duplicate target database to orcl from active database spfile set "db_recovery_file_dest" = "/u01/app/oracle/flash_recovery_area/vvcoredb" nofilenamecheck;
Starting Duplicate Db at 24-SEP-12
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=63 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
executing Memory Script
Starting backup at 24-SEP-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=74 device type=DISK
Finished backup at 24-SEP-12
sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
contents of Memory Script:
sql clone "alter system set db_name =
''ORCL'' comment=
''duplicate'' scope=spfile";
sql clone "alter system set db_recovery_file_dest =
''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment=
'''' scope=spfile";
shutdown clone immediate;
startup clone nomount;
executing Memory Script
sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
sql statement: alter system set db_recovery_file_dest = ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment= '''' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 3307048960 bytes
Fixed Size 2217872 bytes
Variable Size 1811941488 bytes
Database Buffers 1476395008 bytes
Redo Buffers 16494592 bytes
contents of Memory Script:
sql clone "alter system set db_name =
''VVCOREDB'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''ORCL'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
backup as copy current controlfile auxiliary format '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
restore clone controlfile to '/u01/app/oracle/recovery_area/vvcoredb/control02.ctl' from
'/u01/app/oracle/oradata/vvcoredb/control01.ctl';
alter clone database mount;
executing Memory Script
sql statement: alter system set db_name = ''VVCOREDB'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 3307048960 bytes
Fixed Size 2217872 bytes
Variable Size 1811941488 bytes
Database Buffers 1476395008 bytes
Redo Buffers 16494592 bytes
Starting backup at 24-SEP-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
copying current control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/24/2012 18:42:09
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/24/2012 18:42:09
ORA-17628: Oracle error 19505 returned by remote Oracle server
I have a comment that source site doesn't have flash_recovery_area, instead it's name is recovery_area, is it problem?
Edited by: 788420 on Sep 24, 2012 4:44 AM -
Backup Restore With SQL Server 2008 R2 although it succeeded with SQL Server 2008
Dears;
I have a Full backup of some DB of around 417 GB within SQL Server 2008 R2 , and when I tried to restore it , i get stuck several times with the error below :
Restore failed for Server (Microsoft.SqlServer.SmoExtended)
A system assertion check has failed. Check the SQL Server error log for details. Typically, an assertion failure is caused by a software bug or data corruption. To check for database corruption, consider
running DBCC CHECKDB. If you agreed to send dumps to Microsoft during setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft in the latest Service Pack or in a QFE from Technical
Although I have restored
successfully other several Full+ Deferential backups for the same DB while it was in SQL Server 2008 not 2008 R2.
And so I have rounded all different possible assumptions for such common know error by Microsoft for SQL Server 2000, 2005, 2008 but
no way as next:
1-
I have attempted to restore it within 2 environments clustered and non-clustered of SQL Server 2008 R2.
2-
I have attempted to restore verify it and it was so fine .
3-
I have attempted to restore it using Continue_after_error ,no_checksum but no way.
4-
I have attempted to move Backup file to another Storage but no way.
5-
I have scheduled jobs to DBCC
Checkdb the live DB and it wasn’t any errors since long time right now
6-
I have also DBCC check all master +msdb+model+Tempdb ,and they are so fine
7-
I have also checked all I/O subsystem of SAN and Network controllers , but they are fine evidenced much more by my trial on 2 different environments.
8-
I have also checked Memory and it is so fine all the time since I have 128 GB memory and I control it also so well.
For DB Design +Structure :
It has 20 Files containing tables partitioned horizontal +Vertically
(Schema Partitioning +File Stream partitioning ) through these 20 files.
I have Data compression of the required tables only.
I have one table of more than 300 GB alone which is partitioned as mentioned above.
I have implemented Read Committed Snapshot isolation level using row versioning integrated so well with File stream technology since it is a new feature of SQL 2008 R2.
DB is in simple recovery model for garbage collection of all file stream data as a result of much Delete /update in images themselves.
So any one has any idea about such case..How to solve it…?Hi Ashwin,
When i searched with no answers these are listed out. So i thought this is still existing. Now on wards let me check the data and time of latest reply. Thanks for guidance.
It was happening by oversight. Thanks for guidance.
Regards, Pradyothana DP. Please Mark This As Answer if it solved your issue. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/
Maybe you are looking for
-
Employee vendor expense vouchers finance
Hi All, We have 1500 employee vendor expense vouchers which we want to upload in sap through fast entry screen. These expense vouchers involve one GL account and 1500 employee vendor accounts. How it is possible to upload these data in sap through Fa
-
HT4509 i accidental restored in itunes and it reset to Japanese. ios7
I have just unlocked my iphone to change providers. I reset it as a new phone and everything went ok but I have just acidentaly reset the phone in itunes and had to do another resort but it has restorded in Japanese and I need English. I cannot find
-
I am trying to split a document please help?
I am trying to split a document please help?
-
Html code for quicktime audio stream
I am looking for the html code to play mp3-audio files on a website. I used to write it with the <embed>-tag, but this does not work in modern browsers like firefox 8 or opera 11.5. Perhaps someone can help me. Thanks in advance.
-
For a long time, now, if I use Firefox and try to access my gmail account, it will not open in other tan Basic mode. That is so restrictive that I just use another browser. Safari and Chrome work fine on my iMac OS X, v 10.5.8 -- this is a long stand