Click here to Skip to main content
15,921,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi to all,

I have developed one application in VS 2008 recently. I wish to give an option of import - export to the user so that he can have the back up in situation of crash or any other trouble. Also would like to make it automatic that means start exporting database at fixed date and time once in a month. How could i do this?? Please anyone who has done this before help me!

Thank you
Posted

1 solution

IF you're using SQL Server, you can include backup command in your software, see: http://msdn.microsoft.com/en-us/library/ms186865.aspx[^]. For restore, see: http://msdn.microsoft.com/en-us/library/ms186858.aspx[^].

If you want to automate backup and you're using SQL Server Express Edition, which doesn't have agent, there's an excellent article by Danillo Corallo, which you should look at: SQL Agent: A Job Scheduler Framework[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900