Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 How to automate data backup bfore install new ver
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

20 Posts

Posted - 12/24/2012 :  21:19:25  Show Profile  Reply with Quote

I have a small VB.Net application with Visual Studio Express 2005 and MS SQL Server Express 2008. I supply .mdf file in my application to store the data of client.

Problem is :

Now when I am providing new version of my application and installation of this new version removes older .mdf file & and earlier data is lost.

My Query is :

1. How can I automate the data backup process before installing new version of application.
2. How to execute the data backup code before the installation process.( I have the working code for data backup and restore in my application, but the client some time forget to take data backup before installation). So I want to automate this.

I am using Advanced Installer (Free Version) to create .msi package.

  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000