SQL Backup Lite - SQL Server 2005 Express
MartinH
Posts: 82 Bronze 2
Hi:
As SQL Server 2005 Express does not have SQL Agent included, can the SQL Backup Lite still do scheduled backups?
TIA,
Martin.
As SQL Server 2005 Express does not have SQL Agent included, can the SQL Backup Lite still do scheduled backups?
TIA,
Martin.
Comments
If you want to use the extended stored procedure, you would need to write an app, or use Active Scripting, to connect to the server and run the extended stored procedure.
If using the command line interface, enter the path and file name of the command line executable (sqlbackupc.exe) together with the required parameters. You can use the command line interface only for local servers.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Where can I find information about writing my own app to access the extended stored procedure? I am a proficient C# programmer so this shouldn't be too dificult, it's the calling the XSP I'm not sure of.
Also the command line is an option I hadn't thought of. These are stand alone machines so the local server is not a problem.
Thanks,
Martin.
You're probably going to want to look into the System.Data.SqlClient namespace of .NET.
Make a SqlConnection object that connects to the server, and then a SqlCommand object that runs the query, ie Definitely look into the microsoft documentation about parameterized queries, as this makes the execution of stored procedures in ADO .NET a lot easier and safer.
SQLScheduler - http://www.lazycoding.com/products.aspx
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
With these replies I can get up and running, so I'm off to the Red-gate store!!
Regards,
Martin.