JRA Posted April 18, 2017 Posted April 18, 2017 Hello all - as per title, for "quick and dirty" backups of some SQL databases on another server, is it possible (or advisable, or even not) to copy dbattach.exe to another (non-SIMS) SQL server, and call it in a scheduled batch file to back up the databases on that? Thanks in advance for any opinions, horror stories or otherwise.
vikpaw Posted April 18, 2017 Posted April 18, 2017 No. Don't risk it. Why would you want to? Use SQL Management Studio and have full control over the process. dbattach is likely to be calling custom stored procedures to fiddle with logins, or worst case could be changing the mode of the DB. 1
JRA Posted April 18, 2017 Author Posted April 18, 2017 Thanks Vikpaw! Okay, shan't do that then. Trudging through the SQL walkthroughs for a batch file instead.
JRA Posted April 18, 2017 Author Posted April 18, 2017 (If anyone else in the future finds this and is as clueless as I was for most of today, have a gander: https://www.outcoldman.com/en/archive/2010/08/14/schedule-a-daily-backup-with-sql-server-express/ ) 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now