I realise there is a command:
BACKUP DATABASE [DB Name] TO DISK [PATH]
Is it possible to backup to a remote location? – E.G. the web server rather than the database server?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes. Exactly the same syntax as the normal backup command, but replace the path as appropriate, eg:
There’s an example on http://msdn.microsoft.com/en-us/library/ms179313.aspx that shows this.
You will need to make sure that the SQL server account is able to write files to the named path.