RMAN restore database from another backup of different database in the same host
Hi Experts,
I have taken FULL Database Backup using RMAN , now I want to Restore and Recover the same database on different instance on Same Host.
Could u suggest any document or Steps to achieve this task.....
Thanks,
Mouni.
No Problem.
Please check this :
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupdb.htm#BRADV420
ORACLE-BASE - Duplicate a Database Using RMAN in Oracle Database 11g Release 2
Ensure you follow what Mr. Hemant has mentioned.
Regards
Karan
Similar Messages
-
We, I mean my mom and I were trying to restore important pictures from our sold iPad and put them in the new one. They were not backed up inside her email address and she keeps on bugging me right now to look for them. Please help us
Are the photos in the Camera Roll album in the Photos app?
If so you can connect the iPad to a computer and copy the photos to the computer. After they are on the computer you can sync them to the new iPad. -
When i try to open two streams each on one monitor ( in fullscreen), the one opened second just overlaps the existing one.
Hi wilson1470,
Only one window can be in fullscreen at a time. Is it possible to keep the second on in a tab of the same fullscreen window?
This may be a nice alternative to what you are looking for: [https://addons.mozilla.org/en-US/firefox/addon/monitor-master/] -
Iphone would not restore---- Error -50. I have tried to restore, and it restored it to the new point that it created after 5.0 was installed. How can I get it an older restore point from my backups and restore it on another computer? The phone has been wiped out. I can see earlier backups in my C:\Documents and Settings\user\Application Data\Apple Computer\MobileSync\Backup folder. There are four subfolders in this address. I need my contacts, photos, and messages back. I know this is a common error but I can not figure it out. I have ran the other troublshoot items in the error steps for 13 and 14 like apple says. Is there a way to call apple and get a step by step of how to restore from another restore point? Does anybody have a solution????
It tells you to go to Error 13 and 14 if you receive error (-50).
Here is what I have tried...
Error 13 and 14: These errors are typically resolved by performing one or more of the steps listed below:
Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting. I have moved it around to different ports.
Put a USB 2.0 hub between the device and the computer. Didn't change anything.
Try a different USB 30-pin dock-connector cable.
Eliminate third-party security software conflicts. Removed all virus protection and firewall.
There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.Used the Microsoft fix it.
Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online. Doesn't matter.
Try to restore from another known-good computer and network. I do not know how to do this or how to find the correct/full/complete restore point. There should be more information for this. -
Restore controlfile from tape backup without autobackup setting on
I am testing a scenraio of restoring control file if we loose all control files.
My RMAN settings for CONTROLFILE AUTOBACKUP is OFF. But, I have taken a backup of controlfile using 'BACKUP CURRENT CONTROL FILE' .
When I tried to restore control file. I am receiving following error:
RMAN> run {
2> allocate channel c101 type sbt_tape;
3> restore controlfile ;
4> }
allocated channel: c101
channel c101: sid=153 devtype=SBT_TAPE
channel c101: VERITAS NetBackup for Oracle - Release 6.0 (2006110304)
Starting restore at 24-MAY-2007 13:44:59
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/24/2007 13:44:59
RMAN-06563: control file or SPFILE must be restored using FROM AUTOBACKUP
My question is, How can I restore control file from tape backup without CONTROLFILE AUTOBACKUP setting ON.
It sounds like, There is no way we can restore control file from tape backup if you've not set the CONTROLFILE AUTOBACKUP is ON.
Please adviceWhen all controlfiles are lost and a recovery catalog is NOT used, RMAN has no information , where to find the controlfile backup. It's not enough to specify the channel, such a channel could hold many different backups from many different databases. You have tell , which database and which backupset. Modify your run block:
SET DBID <DBID of the database,for which you want to restore the controlfile>;
RESTORE CONTROLFILE FROM <name_of_backupiece_which_contains_the_controlfile backup>';
Werner -
Not able to connect database from another os user using externally?
Hi,
I want to connect database from another os user. i am able to connect database from oracle externally. but not able to connect different OS user.
As ORACLE User:
[oracle@test1 admin]$ sqlplus /
SQL*Plus: Release 11.2.0.2.0 Production on Mon Jan 16 19:41:57 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
Non ORACLE user:
[sample@test1 ~]$ export ORACLE_HOME=/u01/app/oracle/product/11.2.0.2/
[sample@test1 ~]$ export ORACLE_SID=rman
[sample@test1 ~]$ export PATH=$ORACLE_HOME/bin:$PATH
[sample@test1 ~]$ sqlplus /
SQL*Plus: Release 11.2.0.2.0 Production on Mon Jan 16 19:37:42 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name:
ThanksYou didn't install Oracle correctly, especially you didn't run the root.sh and rootpre.sh scripts.
If you would have read the error message at all, and researched it, you would have known this.
Regrettably however you decided to ignore Forums Etiquette and to abuse this forum with Yet Another Doc Question.
Sybrand Bakker
Senior Oracle DBA -
hi, i am trying to open and view a report that comes from another server with different odbc connection
i created a crystal report for a mysql database on my machine and everything works great
but we have other reports that come from other machines with different odbc connection
and this its not working when opens the report asks for credentials
and i cannot use the remote ip for these reports that come from other machine
question
if i cannot connect to remote ip to open the report
for each report i have to create a database the report database on my machine and then open the report ?
or there is some other way to open the report ?
i am using visual studio 2013 and mysql and
<add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
thanksshort
i have a report that it was created on another server with a specific dsn
now i am trying to open the report on my machine
the database from the other server does not exist on my machine
the server machine where the report was created the ip its not accessible
question ?
can i open the report on my machine or its impossible ?
thanks -
Help Restoring iPhone from iTunes Backup
My daughter was having problems with her iPhone 5. It was just acting strange, locking up and being weird. So I backed it up to iTunes and did a complete reset.
When I tried to restore from the backup, nothing. The restore seems to run fine for about 3-4 minutes, then the restore progress window just closes and the phone is disconnected from my iMac. No error messages are displayed anywhere - neither on the phone nor in iTunes.
I have tried this with 2 different OEM Apple cables, in 2 different USB ports, and even ensured that I had the latest iTunes (11.04, I did)... rebooted the iMac... tried the restore again.
The next step was to put the phone in DFU mode and do a new restore. Same results.
Anyone with any idea what is wrong? I would expect some sort of error message in the very least, but I’m getting nothing.
nothing works. She has lost photos, text messages, contacts (no iCloud backup) and game progress. And I am in deep doo-doo with my daughter.
Anyone with any idea what is wrong? I would expect some sort of error message in the very least, but I’m getting nothing.If you have a backup on iCloud, wipe your device and when you activate it you will have the opportunity to restore again from that backup.
better yet, if you have a backup in iTunes it will go a LOT faster to restore from there.
Verizon cxl'd the iCloud restore because it can take hours and they certainly don't want you to wait around in their store. -
Is it possible to restore DB from Obsolete backup?
Hi,
Is it possible to restore DB from Obsolete backup? If yes. How?
Thanks
RajeshCatalog your backup again to restore it. Please read the below paragraph.
Cataloging Older Files in the Recovery Catalog
If you have datafile copies, backup pieces or archive logs on disk, you can catalog them in the recovery catalog using the CATALOG command. When using a recovery catalog, cataloging older backups that have aged out of the control file lets RMAN use the older backups during restore operations. For example:
RMAN> CATALOG DATAFILECOPY '/disk1/old_datafiles/01_01_2003/users01.dbf';
RMAN> CATALOG ARCHIVELOG '/disk1/arch_logs/archive1_731.dbf',
'/disk1/arch_logs/archive1_732.dbf';
RMAN> CATALOG BACKUPPIECE '/disk1/backups/backup_820.bkp';
You can also catalog multiple backup files in a directory at once, using the CATALOG START WITH command, as shown in this example:
RMAN> CATALOG START WITH '/disk1/backups/';
RMAN lists the files to be added to the RMAN repository and prompts for confirmation before adding the backups.
Be careful when creating your prefix for CATALOG START WITH. RMAN scans all paths for all files on disk which begin with your specified prefix. The wrong prefix may include more files than you intend. For example, a group of directories /disk1/backups , /disk1/backups-year2003, /disk1/backupsets, and /disk1/backupsets/test and so on, all contain backup files. The command
RMAN> CATALOG START WITH '/disk1/backups';
catalogs all files in all of these directories, because /disk1/backups is a prefix for the paths for all of these directories. In order to catalog only backups in the /disk1/backups directory, the correct command would be:
RMAN> CATALOG START WITH '/disk1/backups/';
Regards
Asif Kabir -
Restoring Memos from a backup file - Help needed
I lost my memos in a crash and need to restore them from a backup file. The Blackberry Desktop Software has the Memos "Dimmed" and the software says "Dimmed entries are read-only data types and cannot be restored". This makes zero sense.
Bold 9650
OS 6.0.0.719
Any help is appreciated.Hi and Welcome to the Community!
Here is a KB that discusses that error:
KB04461 Unable to backup or restore some databases to a BlackBerry smartphone using BlackBerry Desktop Software
Hopefully it contains something useful! There also are multiple existing threads on this site that discuss that exact error...your review of those might prove useful, and a search of this site, using the error message, error code, or symptom, should reveal all applicable existing threads to you.
Good luck and let us know!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
I just had to reformat the external hard drive that houses my iPhoto library, then restore it from a backup. Now Time Machine is telling me my backup hard drive suddenly does not have the space to complete a backup. I also noticed when I go in to Time Machine, there are only about 5 backups recorded on the ext. hard drive. There were many more before. Any idea what happened and if I have to buy a new back up hard drive?
Hallo Kieth ,
I am not quite ready to restore the full iphoto library , as I have days of work re - imputting titles,descriptions and enhancement . I hope that your suggestion works , as I use my Macbook basically to work with digital photography. Through time , I will need to delete my library to recover more disc space and I would hate to have to spend more time re - imputting titles and descriptions all over again .
Thanks for your interest and advice.
regards - Alan -
Restored it from a backup and now there's no music on it. In the music tab it iTunes says: Thomas iPhone has access to music on iCloud. Songs can be fetched via WIFI or a mobile network. The pnly thing I can chose to sync are voice memos.
What can I do?If you want all the songs from an artist on your phone you can to to the artist view, tap on the artist, scroll to the bottom of the list and you will see a Download All button. This works for playlists and albums too (scroll to the bottom and tap the Download All button). I suppose if you wanted all your music on your phone you could create a smart playlist in iTunes on your computer that would contain all your music, upload it to iTunes match (Store>Update iTunes Match), and then you would get a Download All button at the bottom of this playlist on your phone to download all your songs.
-
I am looking for the best way (or any way) to interact between two different frames in the same indesign template as well as from one template to another. It's for a DPS app which needs to carry some button initiated data from one page to another and then present it in a table.
There is no simple way to do it, as itunes wont let you use it on another computer without wiping the contents first.
However if you really want to transfer songs to another computer then you could try this;
* make sure that your ipod is accessible as a disk drive (ipod options)
* when you plug your ipod into the computer you want to transfer to make sure you select "no" or "cancel" when it asks to wipe the contents. Leave the ipod connected and quit from itunes.
* go to "my computer" and access the ipod directly. You probably have to select "view hidden files" from windows. You will see a lot of folders with odd names like ZX838aff with similar named files inside.
* copy these files to a folder on your computers hardrive. Now remove the ipod and start itunes.
* import the files from the folder you made in the last step.
* Now your music is on itunes, but with unrecogisable names.
This is the only way I have found to do it, but there may be another way, say with an application to do the hard work for you.
Generic homebuild PC Windows XP
Generic homebuild PC Windows XP -
How to update data in database from different region of the same page
Hi,
I have pepared two regions of tabular form based on the same table,each region is selecting different columns of the same table.
I want to update the values from different regions in the database using single submit button.
Regards
ShashiI presume that the two regions are working fine with their individual buttons and your issue is how to make them both save with one button.
Here is how
a. You will have 2 ApplyMRU and 1 ApplyMRD processes for each of the regions. Right? Lets say you have 2 "Save" (i.e. label=Save) buttons, one has name SUBMIT and the other SAVE ( SUBMIT and SAVE being the requests that will be sent when they are clicked , respectively)
b. Make the Display condition on one of the buttons 'Never'. Now it won't show when you run the page. Lets say you made SAVE's conditional Display 'Never'
c. Go and change the condition on all ApplyMRU and ApplyMRD processes from "When Button Pressed" to "Request is contains in Expression1". In Expression1 enter SUBMIT,SAVERegards -
Connecting to a database from another computer...
hi guys!
i just wonder if there is a simple way to connect to my database from another computer?
do you have to change something in this method?
private static Connection getConnection() { Connection con = null; try { Class.forName("com.mysql.jdbc.Driver"); String url = "jdbc:mysql://localhost/Movies"; String user = "root"; String pw = "x"; con = DriverManager.getConnection(url, user, pw); System.out.println("****Connected****"); } catch (ClassNotFoundException e) { System.out.println(e.getMessage()); System.out.println("1"); System.exit(0); } catch (SQLException e) { System.out.println(e.getMessage()); System.out.println("2"); System.exit(0); } return con; }
thanks! :)
Edited by: Shaor-1 on Dec 22, 2008 3:47 AMhey!
is there no one who knows how to do this?
Here is my program that i want to change so it can connect to my mysql database but from another computer.
import java.sql.*;
import java.text.NumberFormat;
import java.util.logging.Level;
import java.util.logging.Logger;
public class ListMovies {
static String exist = "existed";
static int ye = 2221;
static double pr = 21.12;
public static void main (String[] args) throws InterruptedException {
go();
public static void go(){
NumberFormat cf = NumberFormat.getCurrencyInstance();
for(int i = 0; i < 1; i--){
ResultSet movies = getMovies();
try
while (movies.next()){
Movie m = getMovie(movies);
String msg = Integer.toString(m.year);
msg += ": " + m.title;
msg += " (" + cf.format(m.price) + ")";
System.out.println(msg);
Thread.sleep(1000*10);
catch (InterruptedException ex) {
Logger.getLogger(ListMovies.class.getName()).log(Level.SEVERE, null, ex);
} catch (SQLException e)
System.out.println(e.getMessage());
public static void loanMovie(String d) {
Connection con = getConnection();
try {
Statement stmt = con.createStatement();
String insert = "insert into movie "
+ "(title, year, price) "
+ "values ("
+ "\"" + d + "\"" + ", "
+ ye + ", " + pr +");";
int i =stmt.executeUpdate(insert);
if (i == 1){
System.out.println("Loan recorded");
else
System.out.println("Loan not recorded");
catch (SQLException e){
System.out.println(e.getMessage());
System.out.println("CRAP");
private static ResultSet getMovies()
Connection con = getConnection();
try {
Statement s = con.createStatement();
String select = "Select title, year, price " +
"from movie order by year";
ResultSet rows;
rows = s.executeQuery(select);
return rows;
catch (SQLException e)
System.out.println(e.getMessage());
return null;
private static Connection getConnection() {
Connection con = null;
try {
Class.forName("com.mysql.jdbc.Driver");
String url = "jdbc:mysql://localhost/Movies";
String user = "root";
String pw = "x";
con = DriverManager.getConnection(url, user, pw);
System.out.println("****INFO****");
catch (ClassNotFoundException e)
System.out.println(e.getMessage());
System.out.println("1");
System.exit(0);
catch (SQLException e) {
System.out.println(e.getMessage());
System.out.println("2");
System.exit(0);
return con;
private static Movie getMovie(ResultSet movies) {
try {
String title = movies.getString("Title");
int year = movies.getInt("Year");
double price = movies.getDouble("price");
return new Movie(title, year, price);
catch (SQLException e)
System.out.println(e.getMessage());
return null;
private static class Movie
public String title;
public int year;
public double price;
public Movie(String title, int year, double price)
this.title = title;
this.year = year;
this.price = price;
BTW_
my computers ip is: 81.229.40.17
the database is on that computer.
thanks!
Maybe you are looking for
-
Custom: use constant value in relationship between objects?
I have two related classes: * Class A uses application identity, and has multiple PK fields, PK1 and PK2. * Class B has a 1-many relationship with class A. However, class B's database table only has a column that relates to Class A's PK2 column. (the
-
Import static then location can't be resolved
In the following code: import static net.mindview.util.*;the word "net" is underlined with this message: The import net cannot be resolved. The actual location of the class I want to import is C:\java\TIJ4\code\net\mindview\util\* My class path looks
-
At first, it wouldn't allow me to click on the Selector tool either; had to press "V" on the keyboard to toggle to it. I can open and close the fly outs, but the mouse doesn't recognize anything clickable within the window itself, from the pages, to
-
Lumia 1020 music problems, intercept call problems
Hello, I have major problems with new Cyan 8.1 Windows. No more music play , the music can't play at the speackears..plays only at headphones...and for all the persons that rich to call me, the phone rejects them after two calls. Can anybody help?
-
I have always been able to sync my IE bookmarks from my desktop to Safari on my iPhone. Suddenly they are gone from my phone and they won't sync any longer. What am I doing wrong?