Link to home
Start Free TrialLog in
Avatar of NetserMA
NetserMA

asked on

SQL Backup trouble

I am using SQL 2005 Management console on a client install of SQL.    I would like to make a backup of my DBs to my local computer.  However, I can not change the drive location from the server drive.   Is there a way to accomplish this?    
Avatar of chapmandew
chapmandew
Flag of United States of America image

well, if the server can reach your local computer, you can do something like this:

backup database dbname
to disk = '\\yourmachinename\c$\backup.bak'
Avatar of NetserMA
NetserMA

ASKER

usin that method   i'm getting an access denied error.

Msg 3201, Level 16, State 1, Line 1
Cannot open backup device '\\itmanagervista\d$\sqlbackups\pfaidspriorV14.bak'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.
so, the account you're running the sql server service and agent with cannot access your machine.  Are these 2 services running under domain accounts?
Yes they are domain accounts
ASKER CERTIFIED SOLUTION
Avatar of chapmandew
chapmandew
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial