Microsoft SQL Server: Use the build in backup solution!

A lot of people came to me lately asking for an easy way to backup their MS SQL databases just like one would with MySQL or any other MySQL clone. In the case of Microsoft, you can easily script it in your ASP file and run that daily. Simply make a database connection and execute the following query:

BACKUP DATABASE EXAMPLEDB TO DISK = "FULL PATH NAME HERE"
Author: Angelique Dawnbringer Published: 2016-02-18 22:09:55 Keywords:
  • Microsoft SQL Server
  • Backup
Modified: 2017-07-24 12:17:26