Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DATABASE BACKUP ON SEPARATE SERVER

Status
Not open for further replies.
Mar 29, 2001
11
US
How can I backup a database on a separate server? I mapped the drive on the current Server, but it won't give me that option when selecting the drive on where I want to backup the files. Thanks!
 
SQL Server runs in its own context and cannot "see" drives mapped in windows. You can use the UNC to backup to a remote server - \\servername\share\folder\filename.bak.

If you want to get the best answer for your question read faq183-874 and faq183-3179.
Terry L. Broadbent - DBA
SQL Server Page:
 
Great! Thanks. I have a follow up question. If I were given a user access and not an administrator access to the remote server, how can I backup my database to the remote server. Thanks.
 
I'm getting this error, any advise?

BackupDiskFile::CreateMedia: Backup device '\\servername\d$\MSSQL7\BACKUP\DBname.BAK' failed to create. Operating system error = 5(Access is denied.).

Access Denied -> Don't know why, because when I
Start/RUN/Open \\servername\d$
I have full control permission.

Thanks!
 
But do you have access to that specific directory (MSSQL7\BACKUP)? Sometimes you can have access to a share, but not all the directories within that share.

-SQLBill
 
Thanks a lot. It's working now. I changed the SQL Server startup account to startup on the domain account. Again, THANKS!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top