C# Database Programming: Backup Database SQL Server in C#. The C# Basics beginner course is a free C# Tutorial Series that helps beginning programmers learn the basics of the C# Programming Language. This is the best way to Learn C# for beginners

Backup & Restore Sql Server database in C#
SQL Server Database Backup and Restore using C#
Take BackUp of SQL server Database using C#
.net – How to backup Sql Database Programmatically in C#
SQL Server Database Backup and Restore in C# – CodeProject
Backing up an SQL Database in C# – CodeProject
Creating SQL Server Backup File With C#

Nguồn:https://dantrithegioi.com/

44 Comments

Shyam Dahal

February 29, 2020

how to closed my form when await task finished. l have a large database back time out problem . i hope this process solve but not closed my form when task completed. please help me .

Reply

challengerrr 47

February 29, 2020

there are no those 4 libraries in vis.st.2013 how will we add ?

Reply

Djimy Ferdinand

February 29, 2020

Hello there, Backup failed for Server . on Visual studio 13?!

Reply

challengerrr 47

February 29, 2020

say we have a program with database..How can we back up database while it s working ?(local db)

Reply

rocky rock

February 29, 2020

can be same process with internet database host server online ?

Reply

Tuan Hoang

February 29, 2020

Chào ad, mình đã làm giống hệt bạn mà lúc backup không được, cũng không báo lỗi gì . Bạn hướng dẫn mình với

Reply

Gerry Villarreal

February 29, 2020

Thanks for the tutorial it work so fine, I just have two details, the progress bar doesn't work and the second it's when I realize a backup from the server the file size is 2.4 gb and when I use this code the file size is 842 mb, is there a problem with my code?, can you send me the sourse code? gevi1985@outlook.com

Reply

Vu Minh

February 29, 2020

Please send me the source code to hmv993@gmail.com
 The progress bar is not updated. Thank you

Reply

Mohamed Naser

February 29, 2020

Error 7 The type 'Microsoft.SqlServer.Management.Sdk.Sfc.IAlienObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'. C:UsersMohamedDesktopRay_ConnectRay_ConnectRay_ConnectForm_backup.cs 55 17 Ray_Connect

hi the error fix Please

Reply

Jennice

February 29, 2020

I found a problem, If I already have a .bak , using this instructions the .bak its replaced. How may I do an adition (I mean, the same file that I already have just grows in size)instead of a replace of the flie?

Reply

Muhammad Shafique

February 29, 2020

i didn't find the libraries in vs2013

Reply

Naila Siraj

February 29, 2020

From where i got these libraries

Reply

pooya bravery

February 29, 2020

May I have the source code of this video and restore Video? Email : bravery.only@yahoo.com

Reply

ahmed salah

February 29, 2020

thank you very much for this helpful video

Reply

RJ Evangelista

February 29, 2020

Thanks! But how can I achieve to exclude specific table on backup?

Reply

SmartWeb حسين سعد

February 29, 2020

Could you send me the source code … My Email is : hs777it@gmail.com please

Reply

Osman Yılmaztürk

February 29, 2020

Access Denied 🙁 And I can not solve with code.

Reply

Tajemniczy

February 29, 2020

Hi, where did you got Backup class??

Reply

Maher Babar

February 29, 2020

How can i use this code on windows authentication
I did not create Sql Sever Authentication Help me plz

Reply

Pulasthi Basnayake

February 29, 2020

Backup failed for Server .why is that??

Reply

Mohammed Hejazy

February 29, 2020

can you send source code to freedoas@hotmail.com

Reply

ymn76ymn

February 29, 2020

Could you send me the source … My Email is : ymn76ymn@gmail.com,How I can use the SearchLookupEdit of DevExpress Control .

Reply

ymn76ymn

February 29, 2020

I wrote the code but nothing happened , I sent
Could you send me the source code … My Email : ymn76ymn@gmail.com

Reply

ymn76ymn

February 29, 2020

There was error for me, because I have VS 2013 , I replaced with string.Format("{0}%",e.Percent) as you said , but nothing happened . please help..

Reply

aaron siew

February 29, 2020

May I have the source code of this video?aaronsiew1123@gmail.com. thank you😊

Reply

Sony Nase

February 29, 2020

Please send me the code nasesony01@gmail.com thanks

Reply

Domingo Velazquez

February 29, 2020

Could you send me the code? domingovelazquez2807@gmail.com

Reply

Moawad Abd Elbasset

February 29, 2020

can you send source code to moawad157@gmail.com

Reply

Dan Sad

February 29, 2020

why i code as above but don't backup ? Please help me

Reply

Dhaval Gevariya

February 29, 2020

it is posible to backup the data from local database

Reply

Oğuzhan Yılmaz

February 29, 2020

Can you send me the code please? oguzhanylmz9695@gmail.com. Thanks

Reply

dave bonsay

February 29, 2020

Hello! Can you send me the code please? bonsaydave@gmail.com .. Thanks!

Reply

Pablo Ferreira

February 29, 2020

Olá, pode me enviar o codigo, fiz o meu mais não me retornou erro e nem fez o backup. Obrigado!
pablo_ferreira14@hotmail.com

Reply

BİLGEHAN KÜÇÜKAVŞAR

February 29, 2020

bkucukavsar@gmail.com Teşekkür ederim 🙂

Reply

Jose Luis Juan de Dios

February 29, 2020

gracias por el tutorial soy de Perú me pueden facilitar el codigo xfavor gracias!!! mi correo es joslui@msn.com

Reply

Enéias Oliveira de Liz

February 29, 2020

hi, Can you send me the code please? eoliveiradeliz@gmail.com thanks

Reply

Florin Nedelcu

February 29, 2020

Hello! Can you send me the code please? At nedelcuflorin19@gmail.com. Thanks!

Reply

Carlos Marichal

February 29, 2020

Please send me the source code to carlos_marichal@hotmail.com
The progress bar is not updated. Thank you

Reply

Jherwin Pascion

February 29, 2020

Back up and Restore code please 🙂 .
Thankyou in advance .

wyn.wyn2009@gmail.com

Reply

Renoir Rapido

February 29, 2020

HI pls send the source at angelbernice123@gmail.com. Thanks!

Reply

Sadia Jan

February 29, 2020

can you send me the code of this as well as the Restore? Thanks by the way!!! izza1003@gmail.com

Reply

Hans M

February 29, 2020

Please send to: hans.smorum@gmail.com 😀 I will look at it! Its cool as allways!! I love this page!

Reply

Jonas Herrera

February 29, 2020

I GET ERROR " Back up failed for server JONASBEAST" can you help me? @ anuqui10@gmail.com

Reply

Carlos Garcia

February 29, 2020

I have a problem with progressbar , not update .

thank you so much 😀

Reply

Leave a Reply