.:: full of question mark ::.

November 21, 2007

[SQL] FTP download and restore an MSSQL database backup

Filed under: Tips & Trik

I extended my DOS batch script to restore a SQL 2000 database and grant permission to ASPNET account to pull the database backup from an FTP location.

This has been a big timesaver on a recent DotNetNuke based project. The designer and client are working off a staging server, so I regularly need to refresh my development database to keep in sync. We have a scheduled nightly database backup on our stage server that writes to a location that’s accessible via FTP, so I can just run this script and I’m caught up to the most recent backup.

 CLICK HERE FOR VIEW THE SCRIPT

 

Sumber : Jon Galloway 

 

Comments »

The URI to TrackBack this entry is: http://reeferz.blogsome.com/2007/11/21/sql-ftp-download-and-restore-an-mssql-database-backup/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.






















Get free blog up and running in minutes with Blogsome
Theme designed by Minz Meyer