Click here to Skip to main content
15,887,333 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create a vb net project which backup an sql database as bak file with different name do. How can I restore it and keep the backuped name? Any links will be helpfull.

Thank you
Kyriakos

What I have tried:

I found simple code but for mdf file types.
Posted
Updated 6-Jan-22 19:57pm

1 solution

It probably depend on exactly what your VB project does: my version (in C#) is here: Backing up an SQL Database in C#[^] and it also explains some of the pitfalls involved in a restoration.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900