views:

185

answers:

3

How do I backup data from a remote MS-SQL Server DB to my local computer?

I'm having access to Management Studio 2008.

+1  A: 

You'd specify the target for the backup file to a UNC path on your local machine. When you specify to Backup you have to specify a Desination. That destination can be either a Filename locally pathed to the SQL Server instance (e.g. E:\Backups\Database.BAK) or a UNC path such as \\YOURMACHINENAME\SHAREDFOLDERONYOURMACHINE\FILENAME.BAK.

Nissan Fan
My db is hosted at an ISP. Im not sure my local machine is a accesisble this way.
stulster
A: 

If you want to backup the remote database then you can run a query such as

BACKUP DATABASE mydb TO DISK = 'd:\whatever\location\mydb.bak'

Where the 'd:' drive will be local to the SQL Server, otherwise use the format

BACKUP DATABASE mydb TO DISK = '\\mylocalcomputer\share\mydb.bak'

to backup to your machine.

Miles D
A: 

sqldumper.ruizata.com solved my problem.

stulster