Reputation: 23850
How to create SQL Server 2008 database full backup programmatically in desired folder with using Microsoft visual studio 2010 c#
Upvotes: 4
Views: 6007
Reputation: 2468
Just execute SQL Server command
BACKUP DATABASE database_name TO DISK='d:\path\to\backup\file\on\the\server.bak'
Upvotes: 6