Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To BackUp A SQL Server Database Using VB.NET and SQLDMO

Status
Not open for further replies.
Joined
Feb 17, 2004
Messages
3
Location
US
Does anyone have any sample code or an example of how to use SQLDMO to create a backup copy of an existing database on the same server. So basically before the code executes the SQL server database call myDatabase has three tables and 1000 rows in total, after the code executes the SQL server now has two database one called mydatabase and one called mydatabase001 which is an identical copy of the original database with all data.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top