In MS SQL there is a tool for generating base scripts (right click on the base, then Tasks -> Generate Scripts -> all tables + in the advanced settings, replace Types of data to script with Schema only with Data only).
I use this tool to make a backup of the database from the production server: this is appharbor, I can not backup locally and pick up a file from the server.
Is it possible to launch this tool automatically, programmatically, for example from c #? I want to go to regular backups on a schedule, and not to make a copy of the "just in case" occasionally.
On the server is SQL Server 2008 R2.