RMAN backup restore on new server with CATALOG START WITH
Hello Experts,
CATALOG START WITH
is this required RMAN in catalog mode ?
reference of post
Disastor Recovery with RMAN : Restore backup on new separate Server
Edited by: 873142 on Jul 18, 2011 9:27 PM
If you use a recovery catalog and want to duplicate database in a fresh server.
1. connect with the target database.
2. connect with the recovery catalog.
3. connect with the auxiliary database.
4. Run the duplicate command.
Before running the duplicate command copy the backup piece to your fresh server from the target server. Both mount point should be same.
Regards
Asif Kabir
-- mark your helpful post as correct/helpful.
Similar Messages
-
RMAN backup restoring to new server help!
I'm using Oracle 8.1.7. The production database was copied (datafiles, controlfile etc) to a NEW server that I'm trying to set up as a development DB. I take full database backups using RMAN from the production server, and I want to restore them on the development server. I think I somehow have to specify the filename/location of the backup file but I can't seem to figure out how to do it.
I am not using a recovery catalog.
Any help is appreciated.If you restore the controlfile backup to the development server RMAN
will "read" the expected location of the backupsets from there.
In 8i you cannot use the CATALOG command so you have to copy all
the backupsets to the same path on the development server as on the
production server.
Once you have your init.ora and controlfiles in place (and created the
expected target directory structure for the database and redolog files),
you can use STARTUP MOUNT and thene RESTORE from RMAN.
I believe that you should be able to rename files in 8i RMAN as well.
If not, you'll have to stick to restoring to the same location.
The key thing is that the controlfile records the "location" of the RMAN backupsets
and the "location" where datafiles are to be restored to. -
RMAN Hot backup Restore in new Server
Hi,
Our Current Environment:
Source: Current Production
Database: 11.1.0.7
OS: Windows server 2003 R2
Target Environemnt:
Database 11.2.0.1
OS:windows server 2008 R2
Here my scenario is need to take RMAN Hot backup in Prod Instance and need to restore in New Server with smae SID which is going to use as Prod instance.
Please suggest the detailed steps in order to achive the goal.
Waiting for your thoughts.
Thanks
ShaikRMAN can make it easy to restore a database to a new host.
Notice that: Using RMAN RESTORE and RECOVER commands to move a database permanently to another host, will keep the original database identifier (DBID) and will therefore cause a conflict in the RMAN repository, because the restored database with the same DBID will be considered the current target database.
Below you may find the steps:
Preparing the New Host
Record the DBID of the source database.
Copy the initialization parameter file from the source database to the new host.
Make sure that all source database backups are available to the new host. Do not connect to the recovery catalog.
Restoring and Recovering on the New Host
Configure environment variables on the new host.
Connect to the new target database with NOCATALOG.
Set the DBID.
Start the instance with NOMOUNT.
Restore the SPFILE from backup.
Shut down the new instance.
Edit the PFILE.
Start the instance with NOMOUNT (again).
Create an RMAN RUN block to restore the control file.
Create an RMAN RUN block to restore and recover the database.
Open the database with RESETLOGS.
Regards, -
I have a complete backup of the source server and I would like to restore it to target server.
Problem is that on my source server I have the complete backup on "E" Drive.
On My target server I just have C and D Drives.
When I try to run Restore database command I get
RMAN-06023: no backup or copy of datafile 1 found to restore
for all the data files as it is looking for my backups on "E" drive which does not exist on Target Server.
Is there a way I can guide RMAN to look on D: drive when restoring?
Thanks
Edited by: user12180649 on May 16, 2012 8:07 AMuser12180649 wrote:
I have a complete backup of the source server and I would like to restore it to target server.
Problem is that on my source server I have the complete backup on "E" Drive.
On My target server I just have C and D Drives.
When I try to run Restore database command I get
RMAN-06023: no backup or copy of datafile 1 found to restore
for all the data files as it is looking for my backups on "E" drive which does not exist on Target Server.
Is there a way I can guide RMAN to look on D: drive when restoring?
Thanks
Edited by: user12180649 on May 16, 2012 8:07 AMOnce you have your controlfile, you can connect to RMAN, delete all the backup piece, and add the new with the new position.
The syntax is:
delete backup; -- to delete all the backups information
catalog start with 'PATH'; -- to add all the backup piece to the "catalog" that in this case could is in the controlfiles.
Other syntax:
http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta011.htm
Hope this helps.
Nunzio -
RMAN backup restoration on a different server under ASM .
Hello Experts,
This is regarding new installation of Oracle RAC 11gR2 on AIX 6.1 . Its a two node cluster setup , using ASM . As i am newbie for RMAN , I would like to know how i can restore my rman backup to another uat server which has standby database again cofigured under asm .
Thanks for your kind help .Hi ,
Thanks for reply
1) I performed the full database backup on source .
2) Source (prod) and target remote database (uat) are in ASM and have same DG for datafiles .
3) I have transfered the backup from production to UAT . I have already running uat database
do i need to drop it before i start the restoration ? My final purpose is just to refresh target with production backup . Kindly advice the steps from here to proceed with .
Thank you -
RMAN backup from another DB server
Hi all,
I would like to know Can we take a rman backup from another DB server in oracle 9.2...
i.e
suppose that we have two server
1. main server
2. dup server
I want to take a backup of main server throeugh dup server.....
if it is poosible then what are all the things that i have to configure....
pls suggest me.....getting an error,
here hotest is the main db
and testho is dup db
F:\Documents and Settings\deepali>rman target rman/cat@hotest catalog rman/cat@testho
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: HOTEST (DBID=982176707)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04004: error from recovery catalog database: ORA-01045: user RMAN lacks CRE
ATE SESSION privilege; logon denied
F:\Documents and Settings\deepali>sqlplus /nolog
SQL*Plus: Release 9.2.0.4.0 - Production on Mon Apr 6 12:17:13 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys/deepali as sysdba
Connected.
SQL> GRANT RECOVERY_CATALOG_OWNER TO rman;
Grant succeeded.
SQL> GRANT CONNECT, RESOURCE TO rman;
Grant succeeded.
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
F:\Documents and Settings\deepali>rman target rman/cat@hotest catalog rman/cat@t
estho
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: HOTEST (DBID=982176707)
connected to recovery catalog database
recovery catalog is not installed
RMAN> register database;
recovery catalog is not installed
recovery catalog is not installed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of register command at 04/06/2009 12:18:09
RMAN-06429: RCVCAT database is not compatible with this version of RMAN
RMAN> select * from rc_database;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "identifier": expecting one of: "allocate, alter
, backup, beginline, blockrecover, catalog, change, connect, copy, create, cross
check, configure, duplicate, debug, delete, drop, exit, endinline, host, {, libr
ary, list, mount, open, print, quit, recover, register, release, replace, report
, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, s
pool, startup, shutdown, send, show, test, upgrade, validate"
RMAN-01008: the bad identifier was: select
RMAN-01007: at line 1 column 1 file: standard input
RMAN>pls suggest me whether i am following the right path or not... -
Oracle 10.2.0.3 Databases - Restore to New Server
We will soon be replacing an old server with a new server and I need to restore all Oracle 10.2.0.3 databases to the new server
and ensure Oracle functionality/connectivity with all databases.
I am in the process of testing and need advice and hopefully a 'Step by Step' process I can follow.
I am a systems admin - not an Oracle db admin - so please explain details of any commands I may have to run.
I have already tested once:
ran command prompt: sqplus / as sysdba
SQL>shutdown immediate;
Stopped all Oracle services:
Oracle Database
Oracle Listener
Oracle DBConsole
Installed Oracle 10.2.0.3 on new server
Ensured that the SID and all other Oracle services information matched the old server during installation on the new server.
Stopped all Oracle services on the new server (used the steps above).
Backed-up and test restored to new server.
Enterprise Manager shows: Listener Up Database Instance Down Agent Down
Any help would be appreciatedIt would be good to know your operation system. I hope both new and old match or similar.
You can use RMAN to dumplicate you DB so you can follow [Creating a Duplicate Database on a New Host. Doc ID: 388431.1|https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=388431.1]
but a simple file system copy based manual duplication is also possible if new and old OS system is similar... -
The DB version is 11.1.0.7.
The "CATALOG START WITH" not only catalog backup set that are not in the RMAN catalog, but also catalog a second copy for files that are already in the catalog.
Files are not a second copy; they are the same file in the same directory.
Having two copies in the catalog, through an error when deleting explicitly the backups.
We have to add the force clause to avoid the error.
RMAN> delete FORCE backup tag 'offsite-1';
The force clause ignores any I/O error.
The delete is part of our scheduled offsite backup script, which returns a false positive error when the force clause is ommited.
I don't want the force clause, in order to be notify if the backup set that are expected to be on disk are no more there, e.g., if someone had deleted files manually at the OS level bypassing rman.
Is there a way to only catalog backup set not in the catalog?
or May be remove the copy #2 entry from the catalog?
Find bellow a test case example:
RMAN> list backup summary TAG 'OFFSITE-1';
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
12 B F A DISK 11-JUN-13 09:41:45 1 1 NO OFFSITE-1
13 B F A DISK 11-JUN-13 09:43:31 1 1 NO OFFSITE-1
14 B A A DISK 11-JUN-13 09:43:33 1 1 NO OFFSITE-1
15 B F A DISK 11-JUN-13 09:43:34 1 1 NO OFFSITE-1
RMAN> CATALOG START WITH 'C:\backups\offsite_disk\IBISdatabase\scheduled_offsite';
searching for all files that match the pattern C:\backups\offsite_disk\IBISdatabase\scheduled_offsite
cataloging done
List of Cataloged Files
=======================
File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\06OBTJEP_1_1
File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\07OBTJI3_1_1
File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\08OBTJI5_1_1
File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\09OBTJI6_1_1
RMAN> list backup summary TAG 'OFFSITE-1';
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
12 B F A DISK 11-JUN-13 09:41:45 1 2 NO OFFSITE-1
13 B F A DISK 11-JUN-13 09:43:31 1 2 NO OFFSITE-1
14 B A A DISK 11-JUN-13 09:43:33 1 2 NO OFFSITE-1
15 B F A DISK 11-JUN-13 09:43:34 1 2 NO OFFSITE-1
RMAN> DELETE BACKUP TAG 'OFFSITE-1';
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
24 18 1 1 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1 <<--- same file
30 18 1 2 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1 <<--- same file
25 19 1 1 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1
31 19 1 2 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1
26 20 1 1 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1
32 20 1 2 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1
27 21 1 1 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1
33 21 1 2 AVAILABLE DISK C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1
deleted backup piece
backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1 RECID=24 STAMP=821470356
deleted backup piece
backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1 RECID=25 STAMP=821470356
deleted backup piece
backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1 RECID=26 STAMP=821470356
deleted backup piece
backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1 RECID=27 STAMP=821470357
Deleted 6 objects
RMAN-06207: WARNING: 4 objects could not be deleted for DISK channel(s) due
RMAN-06208: to mismatched status. Use CROSSCHECK command to fix status
RMAN-06210: List of Mismatched objects
RMAN-06211: ==========================
RMAN-06212: Object Type Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------
RMAN-06214: Backup Piece C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1
RMAN-06214: Backup Piece C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1
RMAN-06214: Backup Piece C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1
RMAN-06214: Backup Piece C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1Hi JM,
Your demo with Oracle 10.2.0.5
At line 36 you answered "No" to "Do you really want to catalog the above files (enter YES or NO)?".
Just repeate your demo and answer Yes.
Even if he might have replied with "YES" then also, the RMAN search for the files which it can recognize as a valid rman backup file. Else it would show the list of files which are not recognized by RMAN as a valid file.
RMAN> catalog start with '/home/oracle/scripts';
using target database control file instead of recovery catalog
searching for all files that match the pattern /home/oracle/scripts
List of Files Unknown to the Database
=====================================
File Name: /home/oracle/scripts/RMAN_BACKUP.sh
File Name: /home/oracle/scripts/rman_clone.log
File Name: /home/oracle/scripts/Db_Refresh.sh
File Name: /home/oracle/scripts/rman_erp.scr
File Name: /home/oracle/scripts/RMAN_14FEB.log
File Name: /home/oracle/scripts/nid.sh
File Name: /home/oracle/scripts/Full_Clone.sh
File Name: /home/oracle/scripts/rman_staging.scr
Do you really want to catalog the above files (enter YES or NO)? yes
cataloging files...
no files cataloged
List of Files Which Where Not Cataloged
=======================================
File Name: /home/oracle/scripts/RMAN_BACKUP.sh
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/rman_clone.log
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/Db_Refresh.sh
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/rman_erp.scr
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/RMAN_14FEB.log
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/nid.sh
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/Full_Clone.sh
RMAN-07517: Reason: The file header is corrupted
File Name: /home/oracle/scripts/rman_staging.scr
RMAN-07517: Reason: The file header is corrupted
About the RMAN catalog, it will not catalog the same file twice. It will only catalog the files which are not known to the database.
See this demo. (/backup/RMAN/STAGING/ is the location where all the backup pieces are.)
RMAN> catalog start with '/backup/RMAN/STAGING/';
searching for all files that match the pattern /backup/RMAN/STAGING/
no files found to be unknown to the database
This was the location based test, Another demo showing piece by piece catalogging .
RMAN> list backuppiece '/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00';
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
1323 1321 1 1 AVAILABLE DISK /backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00
RMAN> catalog backuppiece '/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00';
cataloged backup piece
backup piece handle=/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00 RECID=1324 STAMP=821717283
RMAN> list backuppiece '/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00';
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
1324 1321 1 1 AVAILABLE DISK /backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00
Hope its understandable, if any query please revert.
Happy to Help.
Thanks and Regards,
Prashant -
Taking rman backup from a different server
HI Al,
Is it possible for us run the rman backup from a different server other than the server on which database exist .
For Ex :
Our database is on server X
But , I want to schedulde the archive backup from the server Y .
How can we do this and is it possible ...
Regds
Rahul GuptaYes, as long the RMAN executable is compatible to the target database, on metalink:
RMAN Compatibility Matrix
Doc ID: 73431.1
rman sys/<password>@<connect_string>
Werner -
Hi All,
DB:11.2.0.3.0
OS: Sun Solaris SPARC 64 bits
I am facing an issue - RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: , , " on DB startup. Restored from RMAN backup DB test2 to DB test1.
<p mcekeep="true"> $ sqlplus / as sysdba
<p mcekeep="true"> SQL*Plus: Release 11.2.0.3.0 Production on Sun Oct 6 09:31:28 2013
<p mcekeep="true"> Copyright (c) 1982, 2011, Oracle. All rights reserved.
<p mcekeep="true"> Connected to an idle instance.
<p mcekeep="true">
SQL> startup
ORACLE instance started.
Total System Global Area 4277059584 bytes
Fixed Size 2166160 bytes
Variable Size 1493176944 bytes
Database Buffers 2768240640 bytes
Redo Buffers 13475840 bytes
ORA-00600: internal error code, arguments: , , ,
SQL> exit
DB test2 database validated:
RMAN> validate Database;
No issues reported.
Could anyone please let me the what's the cause of this error
Thanks for your time
Regards,
user10088255HI,
CASE : I
C:\>set ORACLE_SID=xxxx
C:\>sqlplus sys/XXXXX@rosen as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
ORA-00600: internal error code, arguments: [kccsbck_first], [1], [3978145973],
Solution: AFTER GETTING ORA-00600, SHUT THE DATABASE AND STARTUP IT INTO MOUNT STAGE AND THEN ALTER DATABASE TO OPEN STAGE .
SQL> shut immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
Database mounted.
SQL> alter database open;
Database altered.
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
ROSEN READ WRITE
CASE :: II
C:\>sqlplus sys/XXXX@royalton as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:37:37 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 1979714112 bytes
Database Buffers 1426063360 bytes
Redo Buffers 16007168 bytes
ORA-00600: internal error code, arguments: [kccsbck_first], [1], [73515151],[], [], [], [], [], [], [], [], []
Solution : As in above case, I have started the database in mount and then alter it to the open mode but it doesnot work out. After some analysis ,troubleshooting and googling, we have decided to flush the shared pool component of the SGA . So, we have started the database in mount stage and then flush the shared pool and further alter it to open stage . Below are the steps performed to solve this issue .
SQL> shut immediate
ORA-01507: database not mounted
ORACLE instance shut down.
C:\>set ORACLE_SID= royalton
C:\>sqlplus sys/xxxxxxxx@royalton as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
Database mounted.
SQL> alter system flush shared_pool;
SQL> alter database open
Database altered.
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
ROYALTON READ WRITE
Conclusion : Though this is not the solution but a workaround to solve ORA-00600 which is having same argument as above, then you may follow the above steps.
Please chek this link : One Can Succeed at Almost Anything For Which He Has Enthusiasm...: ORA-00600: internal error code, arguments: [kccsbck_f… -
Error:cannot backup SPFILE because the instance was not started with SPFILE
I get the following error message, what I have done wrong?
Starting backup at 27-JUN-08
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 06/27/2008 10:11:54
RMAN-06062: can not backup SPFILE because the instance was not started with SPFILE
Best Regards,
FanShow parameter pfile/spfile will not show you contents of pfile , for seeing contents you will have to show parameter with required parama name.
show parameter log_archive_dest
Whenever you start database ostartup first by default use spfile$Oracle_Sid.ora for starting the instance if this spfile does not exist then it goes for spfile.ora if spfile.ora also does not exist then it search init$Oracle_Sid.ora in default location.
As you created spfile after restarting the database will automatically use spfile and will show you spfile in yours param when you will show parameter spfile if it does not show then you are still using pfile
SQL> startup pfile='C:\oracle\product\10.1.0\admin\lease\pfile\init.ora.5242008172537'
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
Database opened.
SQL> show parameter pfile
NAME TYPE VALUE
spfile string
SQL> create spfile from pfile
2 /
File created.
SQL> show parameter pfile
NAME TYPE VALUE
spfile string
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
Database opened.
SQL> show parameter pfile
NAME TYPE VALUE
spfile string C:\ORACLE\PRODUCT\10.1.0\DB_2\
DATABASE\SPFILELEASE.ORA
SQL> -
I've read that there is an add-on that adds Sync, included with FF starting with 4.0, to Firefox 3.6, but can't seem to find it. I need to keep a zoo of different browser versions, including 3.x, but want to sync stuff nonetheless.
So far, I tried variants of "Weave" and "Sync" on addons.m.o, and Google, but to no avail.I use several different computers, different software, and a mobile device, too. I have the bulk of my important data in a FF3.6 profile, and I also need to keep the FF3.6 for web development purposes (every version renders slightly different, but the difference between 3.6 and 11 is very noticable). Also, FF11 has some problems, like forgetting passwords, but accrued an independent set of bookmarks, passwords, add-ons etc., so trashing that is not an option, either (although I am usually on 11 these days). Wading through tons of stuff to merge is not a good option either, and Sync would have helped to unify all of that.
@TonyE: Would Xmarks and LastPass merge with Sync data from newer FF? I'll give that a whirl.
@cor-el: Thank you for the link. It does explain the current situation, but the arguments put forward in that article are that highly aggravating marketing speak that I have come to expect from the Mozilla Corp. guys.
I still don't understand why they couldn't let the addon online for a few more days, maybe with a disclaimer that support ran out on mm/dd/yyyy, and that it will e.g. be pulled together with the main product.
@Tylerdowner: I'll probably try to merge the stuff from 3.6 into 11 by creating another FF11 profile and then use Sync between them.
@all: Thank you so far. If someone has a pointer for where to get eg. the source code of the pulled Sync, I'd highly appreciate that, too. -
Duplicate an old RMAN backup set on Oracle 9.2.0.8 with no catalog
Version: 9.2.0.8. We don't use an RMAN catalog
Scenario: I need to duplicate a database to the same server with a different name so I can recover some old data. The restored backup set is about 20 days old
and my RMAN retention is 1 day.
Current date: 24 March 2011
I try
./rman target sys/syspassword@pasdbt9i auxiliary /
RMAN> duplicate target database to pastemp until time "to_date('04-MAR-2011 18:30:00','DD-MON-YYYY HH24:MI:SS')";
Starting Duplicate Db at 24-MAR-11
using target database controlfile instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=17 devtype=DI
.using channel ORA_AUX_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/24/2011 12:00:11
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 13 found to restore
RMAN-06023: no backup or copy of datafile 12 found to restore
RMAN-06023: no backup or copy of datafile 11 found to restore
RMAN-06023: no backup or copy of datafile 10 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
I presume this is happening because the target database has a retention of one day and is unaware of this rman backup that is about 20 days old.
If this is true, is there a way of telling the target database about this old backup set that I now want to duplicate?
From 10g onwards you can catalog a backup piece which might be the fix for this??
I've got round the problem by restoring the database to a different server, but would still like to know if the above is possible.
Can anyone offer any suggestions? thanks.Hi C3PO,
I presume this is happening because the target database has a retention of one day and is unaware of this rman backup that is about 20 days old?Correct the backupset metadata is nolonger available.
From 10g onwards you can catalog a backup piece which might be the fix for this??In 9i you can catalog image copies.
http://download.oracle.com/docs/cd/B10501_01/server.920/a96565/rcmsynta11.htm#1005792
Can anyone offer any suggestions?Another option would be setup a catalog and change the retention policy to 30 days and add extra diskspace.
Regards,
Tycho -
BACKUP FROM OLD SERVER & RESTORE TO NEW SERVER
Hi ,
i have install SAP on New Server (ADM X86) , it has good hardware. that why i want to shiftout from old deveopment Server to new Server . From old server i want to take backup through DB13 and restore through Brtools on new server. backup will be on disk.
please guide me which type of backup should be taken ?
and what is difft b/t whole backup and full backup ?
NEW SERVER with 2 Quard core processor, 24 GB RAM
OS= SOLARIS 10
DB= Oracle 10.2.0.4 with 39 Interim opatch
SAP= Ecc 6.0
Hostname=sapdev
System No.=00
OLD Server(SPARK) WITH 1 Dual Core Processor , 6 GB RAM
OS= SOLARIS 10
DB= Oracle 10.2.0.4 with 39 Interim opatch
SAP= Ecc 6.0
Hostname=devsap
System No.=00
Best Regard
Imran KhanHi Imran,
In you have a full backup, using this existing backup further you can take incremental backups. The incremental backup is based on the previous full backup. The full and incremental backups is controlled by RMAN (Recovery manager).
You can take a full backup and restore the same in your new server and later take an incremental backup from your old server and restore it to the new server for all the delta changes made. By this you can make sure that your production data is made consistent in the new server.
If you have sufficient dowtime then, you can take a whole DB backup with redo log files and restore them in your new server.
There is no difference between whole backup and full backup, with respect to the database data.
784118 - System Copy Java Tools
check the OraBrcopy tool in this note. It might help you.
regards,
chandru. -
Restore on new server with new DB_NAME/SID?
My goal is to restore database with the RMAN backup on a server that has no connectivity to the production database (I don’t want to use duplicate command).
I restore a database from RMAN using a same DB_NAME/SID and everything was ok.
- restore spfile
- restore controlfile
- restore database
- recover database
- open with reset logs
Now I want to restore database but with different DB_NAME/SID (My production database is PROD and I want to restore this PROD RMAN backup on new server and this new database I want to be called DEV).
How to restore database with new DB_NAME/SID?
Oracle 10g, Windows Server 2003
Thanks in advance!user9106065 wrote:
My goal is to restore database with the RMAN backup on a server that has no connectivity to the production database (I don’t want to use duplicate command).
I restore a database from RMAN using a same DB_NAME/SID and everything was ok.
- restore spfile
- restore controlfile
- restore database
- recover database
- open with reset logs
Now I want to restore database but with different DB_NAME/SID (My production database is PROD and I want to restore this PROD RMAN backup on new server and this new database I want to be called DEV).
How to restore database with new DB_NAME/SID?
Oracle 10g, Windows Server 2003
Thanks in advance!You can use NID command
Run NID and you can see the options to run
or see How to Change the DBID, DBNAME Using NID Utility in version 10GgR2 onwards [ID 863800.1]
Cheers
Maybe you are looking for
-
How do I migrate Photoshop CS from one laptop to another
The old laptop is dying, has purchased a new one and need to migrate Photoshop CS from the old to the new. How do I do this? Thanks
-
[Solved] Changed Graphics Driver/Xorg.conf, Font Size Now Different
Hello, I just got the Catalyst 9.4 drivers working on my laptop (Lenovo T400) since the open source ones just can't keep up (even with DRI). The problem is now my fonts are all different sizes (or not loading). I was thinking this might be because of
-
Hello everybody!!! Who tells me, why the subVi doesn't start pushing ok botton?? Thanks a lot!!!! Solved! Go to Solution. Attachments: problem.jpg 187 KB
-
Copy a graphic from java and paste it to WORD
Hi all, Is it possible to copy a graphic from a java applet and paste it in a word document ? Any example should be appreciated. Thanks ? ;-) Olivier
-
Public/Global variable within an If statement..
Is there way to declare a variable as Public in an IF statement. My goal is to declare the variable as global (since this variable is used somewhere in the code and should not get initialized when there is loop back to the top of the code, hence usin