Does anybody know how to programmatically backup an SQL server database to another drive and restore it when needed? Sample codes will be highly appreciated.
Thanx in advance
Printable View
Does anybody know how to programmatically backup an SQL server database to another drive and restore it when needed? Sample codes will be highly appreciated.
Thanx in advance
Have you looked into SQL-DMO? That is basically the library that Enterprise Manager is built on.