Click here to Skip to main content
15,881,803 members
Articles / Database Development / SQL Server

Backing up an SQL Database in C#

Rate me:
Please Sign up or sign in to vote.
4.94/5 (26 votes)
18 Sep 2012CPOL3 min read 131.9K   9K   39  
One of the things that it seems far to hard to find is a reliable way of backing up a database, and restoring it again later. Particularly for development, where the SQL server instance and the database are likely to be on your development machine, and very likely to be damaged by code.

Views

Daily Counts

Downloads

Weekly Counts

License

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


Written By
CEO
Wales Wales
Born at an early age, he grew older. At the same time, his hair grew longer, and was tied up behind his head.
Has problems spelling the word "the".
Invented the portable cat-flap.
Currently, has not died yet. Or has he?

Comments and Discussions