Click here to Skip to main content
15,900,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to backup data in Network PC.
For Local PC it is working :
SQL
BACKUP DATABASE HospitalA TO DISK = 'D:\dbP'

what is path like : '\\ABC\D\dbP' or '\\192.168.1.10\D\dbP'
Posted
Updated 18-Oct-11 3:01am
v2

SQL
BACKUP DATABASE Foo TO DISK = '\\myserver\myshare\backFileName.bak' WITH INIT


Make sure the account used for the sql services has enough rights to write on other network machine.
 
Share this answer
 
v2
If you are trying to use the admin share of the D-Drive you will need to use '\\ABC\D$\dbP" or '\\192.168.1.10\D$\dbP'.

In order to use the admin share you need to make sure that the account executing the backup command has administrator rights on the machine you want to write to.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900