MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL 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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old March 11th, 2004, 09:32 PM
JohnSaunders JohnSaunders is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 212 JohnSaunders User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 42 m 35 sec
Reputation Power: 7
How to download a backup copy of a MS SQL database?

Before I get flamed let me just say that I have searched Google and these forums on how to do this and I cannot find anything on what to do.

I would like to download a copy of an MS SQL database that is at a hosting provider and upload it to another provider. I can log in using Enterprise Manager but I cannot figure out how to get a copy of what I need so I can move it over to a new site. If somebody can give me a list of steps of what I need to do to download everything off the old server and what I need to do to upload it to the new one, I would be really appreciative.

Reply With Quote
  #2  
Old March 15th, 2004, 07:40 PM
JohnSaunders JohnSaunders is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 212 JohnSaunders User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 42 m 35 sec
Reputation Power: 7
Can somebody please answer this??

Reply With Quote
  #3  
Old March 23rd, 2004, 02:26 PM
IslandBwoy IslandBwoy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 61 IslandBwoy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 35 m 12 sec
Reputation Power: 5
I'm not sure if this works in the full version of MSQL but i have used it in MSDE which is MS SQL7 'lite'.


. Open the DOS prompt. You can do this by clicking 'Run' on the 'Start' menu and typing "cmd" in the 'Open' box.

3. Type the following command in the DOS window:

"OSQL -Usa -Ppassword -n -Q "BACKUP DATABASE CE85 TO DISK = 'c:\CE85.dat_bak'""


Having said that if you have enterprise manager on your machine you can right click the database | "all task" | backup database. you should be able to figure it out from there.

R.

Reply With Quote
  #4  
Old March 24th, 2004, 07:20 PM
sypher sypher is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Montreal
Posts: 92 sypher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 10 sec
Reputation Power: 5
better solution works with SQL2000

1-open Entreprise Manager
2-right click the DB in question go to all task ->detach database(make sure nodoby is in it)
3- once detach, find the files(.MDF AND .LDF) in Explorer
4-copy it to the new provide
5- re-attach the DB, right click on databases and go to all taks -> attach Db
6-find you DB and simply press ok
7-do that again for your new provide

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > How to download a backup copy of a MS SQL database?


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