Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 16th, 2006, 04:17 AM
cristane cristane is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 14 cristane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 3 sec
Reputation Power: 0
Remote Database Backup

Hi everyone

Do you have any idea how I can make a backup for a remote database? (preferrably using a command in the command line, or with a stored procedure...)

I hope the question isn't too silly, but I haven't found a clear answer for this problem yet.

Thank you.

Reply With Quote
  #2  
Old June 16th, 2006, 05:41 AM
shammat shammat is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 1,042 shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 6 h 49 m 10 sec
Reputation Power: 68
Without the information which DBMS you are using and an explanation what you understand by "remote database" this question cannot be answered.

Oracle's EXP utility can do a backup from any server that can be reached from your workstation, so that would qualify as "remote backup" for my understanding (the same is true for Postgres' pg_dump utility)

Reply With Quote
  #3  
Old June 16th, 2006, 09:26 AM
cristane cristane is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 14 cristane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 3 sec
Reputation Power: 0
Quote:
Originally Posted by shammat
Without the information which DBMS you are using and an explanation what you understand by "remote database" this question cannot be answered.

Oracle's EXP utility can do a backup from any server that can be reached from your workstation, so that would qualify as "remote backup" for my understanding (the same is true for Postgres' pg_dump utility)


Thanks for the answer. Sorry for the lack of details.

I am talking about an Oracle database, and by "remote" i mean located on a different machine (but in the same network - so i have access to it).

The thing is, I need this to work preferrably from the command line.

So, assuming the ip is x.x.x.x, and the port is yyyy, and the username is user and the password is pwd, how can I connect by the EXP utility you mentioned earlier to a database on this remote machine?

Thank you again.

Reply With Quote
  #4  
Old June 16th, 2006, 09:57 AM
shammat shammat is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 1,042 shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 6 h 49 m 10 sec
Reputation Power: 68
Quote:
how can I connect by the EXP utility
The same way you connect using SQL*Plus (e.g. exp user/password@server). You'll need to setup an entry in tnsnames.ora

Details about tnsnames.ora are here:
http://download-west.oracle.com/docs/cd/B10501_01/network.920/a96581/tnsnames.htm#496765

Details about the EXP utilitiy are here:
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1013411

Reply With Quote
  #5  
Old June 16th, 2006, 09:58 AM
cristane cristane is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 14 cristane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 3 sec
Reputation Power: 0
Thanks.

Reply With Quote
  #6  
Old June 16th, 2006, 01:55 PM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 7th Plane (8000 - 8499 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 8,067 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 4 Weeks 2 h 10 sec
Reputation Power: 281
Note that there is a specific Oracle forum here at Devshed

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Remote Database Backup


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT