by Frank Perez
December 4, 2011
It has been more than 6 months since I released the DiscountASP.NET SQL Backup utility. In that time I have received some good feedback and zero problems (excluding installation issues). Based on this, I'm ready to release v1 with a minor enhancement.
One of the most requested features I received was the ability to specify when the backup process is performed. By default, the DiscountASP.NET SQL Backup utility performs the Microsoft SQL Database Backup process at 12:00AM every day. Rather than trying to create my own scheduling system I decided to take advantage of the system that is already included in Windows - Task Scheduler.

Step 1: From the Actions menu, select the Create Basic Task... menu option.

Step 2: Name the task.

Step 3: Select when you want the task to start.

Step 4: Identify how often the task should be started.

Step 5: Select what action you want the task to perform.

Step 6: Enter the fullpath and filename of the DSB.Service.EXE file into the Program/script field. Be sure to include "-console" in the Add Arguments field. You will also need to include the fullpath in the Start in field.

Step 7: Click Finish.

If you would like a copy of this application, you can download the latest version from http://pfsolutions-mi.com/Product/DASPSQLBackup.
If you want to read all the blog posts on this topic http://pfsolutions-mi.com/blog/category/DSB.aspx
Links:
DiscountASP.NET
http://discountasp.net/
DiscountASP.NET Control Panel API
http://support.discountasp.net/KB/a176/control-panel-api.aspx
Microsoft .NET Framework 4 Client Profile
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=5765d7a8-7722-4888-a970-ac39b33fd8ab
2ca9152b-19f6-4c0f-b168-b411a0592ddd|0|.0
Keywords:
Filed Under: .NET | DSB