Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Can You Use dbattach to Automate Database Backups on Another SQL Server?


Recommended Posts

Posted

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. :)

Posted

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.

  • Thanks 1
Posted

Thanks Vikpaw! Okay, shan't do that then.

 

Trudging through the SQL walkthroughs for a batch file instead. :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...