SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 .NET Inside SQL Server (2005)
 How to backup sql Database from FrontEnd
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Catchitbaby
Starting Member

2 Posts

Posted - 04/21/2014 :  15:08:41  Show Profile  Reply with Quote
We have two Server's

In one server Application(ASP.net Website) is Running and In Second server Database(SQL 2005) is running..

Previously both Application and Database running on Same Server and I can make backup using this command

backup database TESTDBNAME to disk='PATH'

can someone suggest me how i can get rid of current situation

Thanks

tkizer
Almighty SQL Goddess

USA
37160 Posts

Posted - 04/21/2014 :  15:31:32  Show Profile  Visit tkizer's Homepage  Reply with Quote
The path is in the SQL Server's perspective, so you would still use the same path as before unless you wanted to back it up to a different server. In that case, then use a full UNC path for a resource that the SQL Server service has access to.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2067 Posts

Posted - 04/22/2014 :  01:38:35  Show Profile  Visit jackv's Homepage  Reply with Quote
Depending on the size of the database and network speed , take into account the extra time the UNC path backup may take.This could be a factor if it is a time duration sensitive task

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000