How to create a full backup of a SQL Server 2008 database programmatically in the desired folder

How to create a full backup of a SQL Server 2008 database programmatically in a desired folder using Microsoft visual studio 2010 C #

+4
source share
1 answer

Just execute the SQL command

BACKUP DATABASE database_name TO DISK='d:\path\to\backup\file\on\the\server.bak' 
+6
source

Source: https://habr.com/ru/post/1332428/


All Articles