Backp file to other server through rman
Hi,
I would like to take the full database backup to disk but to other server.
Due to storage issue on target database,i would like to write script so that the backup will go to the server where catalog db exists.
I am using
format DEVICE TYPE DISK FORMAT '/backup/ora_df%t_s%s_s%p' but how rman knows that the backup should go to other server's mount point.
Thanks in advance.
You could mount the disk from the remote server to the local server (for example, /backup) and use this disk to store the backup.
configure channel device type disk format /backup/...;
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmconfb.htm
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10643/rcmsynta010.htm
Thanks,
Hussein
Similar Messages
-
How can i upload a video file to wiki server through iPad?
how can i upload a video file to wiki server through iPad?
You might want to post this in the iPad Forum
-
My iphone 4 bluetooth does not discover any other devices or phones having bluetooth and ofcourse does not pair with other bluetooth devices or phones? How can i transfer files to other devices through bluetooth? Thanx
you can't tranfer files with the built in program that apple gives you, you may (i belevie) download an app that allows you
-
Move large database to other server using RMAN in less downtime
Hi,
We have large database around 20TB. We want to migrate (move) the database from one server to other server. We do not want to use standby option.
1) How can we move database using RMAN in less downtime
2) Other than RMAN is there any option is available to move the database to new server
For option 1 (restore using RMAN),
Whether below options are valid?
If this option is valid, how to implement this?
1) How can we move database using RMAN in less downtime
a) Take the full backup from source (source db is up)
b) Restore the full backup in target (source db is up)
c) Take the incremental backup from source (source db is up)
d) Restore incremental backup in target (source db is up)
e) Do steps c and d, before taking downtime (source db is up)
f) Shutdown and mount the source db, and take the incremental backup (source db is down)
g) Restore last incremental backup and start the target database (target is up and application is accessing this new db
database version: 10.2.0.4
OS: SUN solaris 10
Edited by: Rajak on Jan 18, 2012 4:56 AMSimple:
I do this all the time to relocate file system files... But the principle is the same. You can do this in iterations so you do not need to do it all at once:
Starting 8AM move less-used files and more active files in the afternoon using the following backup method.
SCRIPT-1
RMAN> BACKUP AS COPY
DATAFILE 4 ####"/some/orcl/datafile/usersdbf"
FORMAT "+USERDATA";
Do as many files as you think you can handle during your downtime window.
During your downtime window: stop all applications so there is no contention in the database
SCRIPT-2
ALTER DATABASE DATAFILE 4 offline;
SWITCH DATAFILE 4 TO COPY;
RECOVER DATAFILE 4;
ALTER DATABASE DATAFILE 4 online;
I then execute the delete of the original file at somepoint later - after we make sure everything has recovered and successfully brought back online.
SCRIPT-3
DELETE DATAFILECOPY "/some/orcl/datafile/usersdbf"
For datafiles/tablespaces that are really busy, I typically copy them later in the afternoon as there are fewer archivelogs that it has to go through in order to make them consistent. The ones in the morning have more to go through, but less likelihood of there being anything to do.
Using this method, we have moved upwards 600G at a time and the actual downtime to do the switchover is < 2hrs. YMMV. As I said, this can be done is stages to minimize overall downtime.
If you need some documentation support see:
http://docs.oracle.com/cd/E11882_01/server.112/e18951/asm_rman.htm#CHDBDJJG
And before you do ANYTHING... TEST TEST TEST TEST TEST. Create a dummy tablespace on QFS and use this procedure to move it to ASM to ensure you understand how it works.
Good luck! (hint: scripts to generate these scripts can be your friend.) -
How to download a file from other server using servlet
Hi All....
Good Morning....
right now,i am facing a problem..i am trying to download a file which is in other server..i tried somany ways and i couldnt succeed in this...
will u pls give me solution for this..
because it is very urgent for me...
i am very much thankful if u provide me the code samples also....
i am seeking ur help...
Regards,
sathyaright now,i am facing a problem..i am trying to download a file which is in other server..i tried somany ways and i couldnt succeed in this...If you can tell some of our approaches and the failures you faced, someone might be able to help you.
I dont think anyone will just give the code samples. -
SSIS 2012 -Not Executing file from other server.
Hi Experts ,
I am working on SQL 2012
I have a SSIS Package -
1) Execute SQL Task - calling Storeprocedure
my StoreProcesdure contain OpenRowser Query which Pull Data from Excel and Load into SQL Table.
Scenario 1
On Development Server example IP: (10.11.12.13)- File is present in D\ExcelSource\ folder of dev server
1)My SP Run/execute successfuly on SSMS
2)MY SSIS package execute successfuly which contain above SP
Scenario 2
I have deployed SP and SSIS to production server
On Production server example IP: (10.11.12.100)- File is Still Present in D\ExcelSource\ folder of dev server
1) MY SP Execute successful on SSMS Picking file from '\\10.11.12.13\D\ExcelSource\' folder
2) SSIS Package Fails where SP is picking file from '\\10.11.12.13\D\ExcelSource\' folder
"exec [dbo].[spLoadexcelEMPdata]" failed with the following error: "Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)".".
Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
3)When I copy excel file from dev to prod server and Give prod server path ,then SSIS package execute Successfully
NOTE :
a)ACE.OLEDB 64 bit (2010 )driver is installed on prod server
b)Same SP execute successful in Prod SSMS
c) SSIS and SP execute successful in Dev server
I have even Share development server Folder with everyOne so that File in it is accessible
Also given Read Write permission to excel file and folder
WHY my SSIS package with SP FAIL when Picking file from dev server ??? where as same SP runs fine on SSMS
HOW to resolve this.... ?? Please assistYou just gave more valuable info...
exec [dbo].[spLoadexcelEMPdata] runs locally on the prod machine
Thing is, you have the 64 bit driver, so it might work from the package or SSDT/VS if you set them to 64 Bit mode
It is because the complete office is not necessary for OpenRowset.
I assume, you referenced the driver
OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel xyz.0;...
Arthur
MyBlog
Twitter -
How to write a file in unix server through oracle plsql code
Hi All,
My requirement is to create and write a file (any file for eg txt file) in unix box with in a specified directory through oracle plsql code.
Oracle sits in windows server.
using utl_file package we can create directory where oracle resides and write it there in oracle server in our case windows..
But here we need to create,write a file but in unix server which is different server than where the oracle server resides..
we are using Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
Can any one one please help me out in this issue...
Thanks in Advance.
PrakashMr Prakash,
Why are you asking this question multiple times in every forum you can spell?
Valid responses have been presented to you already two times.
Can you explain why you can't follow them up, but continue to abuse this forum by repeating doc questions?
Sybrand Bakker
Senior Oracle DBA -
File upload in server through vpn
hi tapash,
i am connecting the db in us from my machine in india through vpn. actually my requirement is to upload the file into the middle tier after deploying into it.
but the page in my machine when i try to run in jdeveloper is very very slow say 1 hour. how to resolve the issue to speed up the page.
please give me solution for this. i am really getting irritated waiting for such a massive time to open up the page.It would be much performant when the DB and the middle tier / JDev is within the same network.
You might want to use any remote desktop software (like tarantella / logmein) etc. to work on the JDev installed in the remote network system. Just one of the many options you can think of. -
Communication with the Idoc file with is server through FTP (TCP/IP)
Hi All,
My file which is stored in the directory of the SAP server.
In this file Sales order data is stored in the IDOC format.
I have to devlelop a interface which which communicate with Server (where IDOC file is stored) with FTP using TCP/IP.
Is there any sample code is there.
Thanks in advance .
Point guranted .Hi,
Check this links out
Using of FTP_CONNECT
FTP_CONNECT
FTP_CONNECT
Regards,
Samson Rodrigues. -
Help with Dump files from other server.
Hello!
I'm having a problem with reading Dump files. The issue is this:
I'm working with a great number of SQL Servers installed in a big number of virtual/physical servers. The problem is that I can't analyse (neither with WinDg or Visual Studio) the .mdmp files out of the server that is having the issue.
Is there anyway that I could read the SQL Server dump files out of the server (It doesn't matter if it is in my Computer or another server)? Because it always shows an error of compatability with sqlservr.exe
Also is there any other tool that could help me to read sql server dump files?
Thank you very much :)Hello,
I would suggest you raise a case with Microsoft for accurate analysis of the dump.I would strongly recommend it .If you still want to proceed use below link
http://blogs.msdn.com/b/psssql/archive/2012/03/15/intro-to-debugging-a-memory-dump.aspx
As a fact by applying latest service pack you have chance to subside these Dumps
Hope this helps
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Executing file on other server
Can anyone please guide how can we execute file locating on a different server.
Regards,
Shantanu R. GodboleHi,
Please can you explain how..
Regards,
Shantanu R. Godbole -
How to place file on server through client vie web-forms
We are on 9i application server, which is being used all over the nation through URL. Now is there any way/option to place file on the server through form-web page.
Thanks.Here's an example:
http://e-ammar.net/Oracle_TIPS/using__webutil_file_transfer.htm -
Process Chain - Delete File from Application Server
Hi Gurus,
Im working with Process chain, and i have a load from a flat file, so my question is :
How can i delete that file from the application server after was loaded ?
THANKS IN ADVANCED !!! I REALLY APRECCIATE YOUR HELP.
Marcoshi,
I have gone through the forum you have posted for deleting files from application server through process chain.
I have similar reuirement in my project.
Can you please provide me the solution?
Your inputs will be highly appreciated.
Thanks in advance.
Regards,
Lavanya. -
How to exreact multiple pdf files from a zip files from application server to presentation server
Hello exprts,
I am passing one pdf file and one text file to zip file in apllication server through my custom program and then downloading it using standard function module to my desktop. its working fine. Then I added another pdf file to my zip file. But only single pdf file is getting download . So can you please help me regardiong this issue?Dear Experts ,
I finded out the way to extrcat pdf files in presentation server. But now my problem is that I am not able to add multiple pdf files in a zip file. When I am adding new pdf file then older one is not coming in read data set. So please kindly tell me how can I add multiple pdf file in my zip file and again I can get all the pdf files from here. -
Regarding uploading the file from Application Server
I am trying to upload a .csv file to Application Server through CG3Z tcode.
But i am getting dump ad below..
What happened?
While a text was being converted from code page '4102' to '1100', one
the following occurred:
- an character was discovered that could not be represented in one of
the two code pages;
- the system established that this conversion is not supported.
The running ABAP program, 'SAPLC13Z' had to be terminated, since the
conversion could cause incorrect data to be generated.
1 characters could not be represented (and thus could not converted).
If 1 = 0, a second or a different error has occurred.
Please let me know..how can i resolve this??
Thanks
PriyankaCheck if your CSV file is UNICODE encoding.
If CG3Z steel not works you can check on OSS SUPPORT if a note solve your problem.
Maybe you are looking for
-
HT4527 how do I move my itunes on an external drive to a new laptop?
HELP!! My Itunes has been on an external (seagate) but the laptop that I've been using to access this is on it's last legs. I purchased a new Windows 7 laptop with a faster processer & lots of memory & storage. The itunes has been backed up on the dr
-
How to reinstall Safari 5 on a Mac
I was having issues opening safari and saw that alot of people were re installing it so i deleted it off my computer so now i have no browser to download it from. HELP!
-
InDesign CS5 won't open in CS4
Upgraded to CS5 InDesign and I was happy with it untill I tried to open some work on CS4 at a clients office and both my printers who run CS4 can no longer seem to open any of my packaged file that I send them, Am I doing something wrong, or is there
-
A tutorial needed for...
I searched the net and found plenty of as2 tutorials for making a car racing game but none for as3?? anyone know of any good tutorials of such?? thank you
-
Aperture as a general photo managment tool
Hi has any one used aperture as a general photo management tool, i mean has any body used to manage 40 gb of RAW photos on their hard drive. does any body has any tip on how to manage large volume of photos using aperture. using the vult would only b