| | |
How do I Backup the MS SQL server 2000 database file (mdf) to my local PC ?
Please support our MS SQL advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Mar 2008
Posts: 10
Reputation:
Solved Threads: 0
Hi, currently I have a shared web hosting with MS SQL server 2000 database.
I have already implemented the database, with all the data inside the database, on the server.
Now I wish to copy the whole database (.mdf) down to my PC, in case I wanna change hosting or in case the server broke down, and keep it as a safe backup.
I already created a backup of it, the .bak file, but it is all stored in the web hosting database server.
How can I actually copy the whole thing down to my pc ?
I am using Microsoft SQL Server Management Studio Express.
Thanks alot..
I have already implemented the database, with all the data inside the database, on the server.
Now I wish to copy the whole database (.mdf) down to my PC, in case I wanna change hosting or in case the server broke down, and keep it as a safe backup.
I already created a backup of it, the .bak file, but it is all stored in the web hosting database server.
How can I actually copy the whole thing down to my pc ?
I am using Microsoft SQL Server Management Studio Express.
Thanks alot..
Last edited by -mk-; Mar 7th, 2008 at 7:04 pm.
Manually you can stop the server copy the data files and then restart the server..
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
and don't forget to stop a server for a while when you want to backup data cause it will give you an error.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
Give this a shot from within sqlcmd or osql....
Then you should be able to FTP it...assuming of course that SQL Server has write access to someplace that you have FTP read access too.... could get complicated. Check the BOL for more options. the DISK keyword is necessary but you should be able to get away without the other wacky names i've chosen. hope that helps
MS SQL Syntax (Toggle Plain Text)
EXEC sp_addumpdevice 'DISK', 'MyBackupToFTPland', 'DirectoryYouCanFTPFrom\backup.bak' BACKUP DATABASE yourdatabase TO MyBackupToFTPLand
Then you should be able to FTP it...assuming of course that SQL Server has write access to someplace that you have FTP read access too.... could get complicated. Check the BOL for more options. the DISK keyword is necessary but you should be able to get away without the other wacky names i've chosen. hope that helps
Aaron Sterling
![]() |
Other Threads in the MS SQL Forum
- Previous Thread: Inquiry on finding if a fields data is unique for the recordset
- Next Thread: deleteting multiple rows and related table entries
| Thread Tools | Search this Thread |
Tag cloud for MS SQL
"last autogrowth business connectingtodatabaseinuse count cursor data database dateadd datepart day" dbsize deadlock delete_trigger getdate highperformancecomputing hpc hpcserver2008 ibm iis loop maximum microsoft ms mssql multiple multithreading news number permission query reporting result server services sets source sql sqlserver sqlserver2005 supercomputing tables uniqueid update view weekday






