Thursday, July 08, 2004

How to backup SQL Server Database using C#.

Now a days i am working on a data fetch utility that fetches data from remote locations and then stores the fetched data to a centralized location. this is pretty much of a trivial task so not much science in it. however thats not the end, i also need to backup the fetched database every time the application is run.thats where i stopped. so i searched on the internet to find C# code for backing up a database and i found this real cool piece of code. Now i m using the same code with a little bit of customization (read parametrization) in my application. Thanks to the author of code.

No comments: