hi,
I'm creating an application in c++ which uses an sqlexpress database to store data.
I want to be able to add functionality to my application that allows a backup to be made of this database as well as allows the database to be restored from the previous backup.
I understand sqlexpress does not use sqlAgent but I'm not looking to schedule any backups, just to create a backup whenever a user clicks a button.
Is this possible using sqlexpress? would i need to tell my application to run a seperate T-SQL file which has code in it to backup the data? is there an easier way to do this?
Please forgive my ignorance, I've never used sqlexpress before (or had to create a database backup from an application I've written!)
Any help you could give is greatly appreciated.
Thanks in advance.
I'm creating an application in c++ which uses an sqlexpress database to store data.
I want to be able to add functionality to my application that allows a backup to be made of this database as well as allows the database to be restored from the previous backup.
I understand sqlexpress does not use sqlAgent but I'm not looking to schedule any backups, just to create a backup whenever a user clicks a button.
Is this possible using sqlexpress? would i need to tell my application to run a seperate T-SQL file which has code in it to backup the data? is there an easier way to do this?
Please forgive my ignorance, I've never used sqlexpress before (or had to create a database backup from an application I've written!)
Any help you could give is greatly appreciated.
Thanks in advance.