Answer the question
In order to leave comments, you need to log in
How to backup a SQLExpress database to a file that can be run/executed by a C# program?
Backup a SQLExpress database to a file launched/executed by a C# program
Answer the question
In order to leave comments, you need to log in
Here is what I was really looking for.
Technet.microsoft.com How to: Create a Full Database Backup (Transact-SQL)
1. Come up with an extension, for example .bmsql (you can use any)
2. Register it in the WIndows OS extension registry and assign your application to run, for example, when installing (publishing) it.
3. Process the parameter (file name) in your application, start the restore procedure.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question