I wish to use ColdFusion to grab a database backup from a live server and restore it into a test environment. The grabbing bit is done, but I can’t find a way of restoring the database programatically forcibly overwriting the database if its already there.
Any help would be appreicated, I figured there should be some SQL script or batch file that could do the job for me.
Obviously windows environment. SQL 2008, ColdFusion 9.
1 Answer