tag:blogger.com,1999:blog-7176498828566901874.post6676330240260505620..comments2023-10-31T03:50:38.075-07:00Comments on S.Vinothkumar: How to taking backup a database using (c#) DotNet framework 3.5? Or using SMO?Vinothkumar Shttp://www.blogger.com/profile/04076136185993269386noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7176498828566901874.post-73409497857786554862010-07-05T01:00:40.504-07:002010-07-05T01:00:40.504-07:00hi vinod,
thank you for your code. can you giv...hi vinod,<br /><br /> thank you for your code. can you give me suggetions on how to do the same on a scheduled basis from asp.netUnknownhttps://www.blogger.com/profile/11849482190862408080noreply@blogger.comtag:blogger.com,1999:blog-7176498828566901874.post-25232224223961219082010-04-06T21:46:31.901-07:002010-04-06T21:46:31.901-07:00Hello Vinoth please can you help me out. I have to...Hello Vinoth please can you help me out. I have to backup mdf and ldf files to a pendrive with a single button click using visual c sharp. I am using SQL Server 2005 Standard Edition and visual studio 2008. I need the source code to detach database and copy those mdf and ldf files to the external media i.e pendrive. I dont want to create.bak file.Anonymoushttps://www.blogger.com/profile/14902409996992751068noreply@blogger.comtag:blogger.com,1999:blog-7176498828566901874.post-86949573800282112542010-01-29T16:08:45.602-08:002010-01-29T16:08:45.602-08:00Hi,
Not sure whether this is too late to leave a ...Hi,<br /><br />Not sure whether this is too late to leave a comment.<br /><br />The situation you are having probably because you are trying to back up multiple databases? If that's case then you'll have to discard the "Backup" object after each backup is done. Then create a new "Backup" object for 2nd database.<br /><br />Hope this makes sense.<br /><br />Good luck.JanakaVhttps://www.blogger.com/profile/09636525107737367693noreply@blogger.comtag:blogger.com,1999:blog-7176498828566901874.post-84200794728103918352009-08-19T05:16:49.711-07:002009-08-19T05:16:49.711-07:00Hi , Vinoth.
That was a simple and effective.
I h...Hi , Vinoth.<br /><br />That was a simple and effective.<br />I have a doubt here.<br /><br />Why we don't specify any username and password to get connected to server?<br /><br />On " backup.SqlBackup(server);" am getting "Backup failed for Server 'ANEESH\SQLEXPRESS'.".<br /><br />CAn you help me with this?Unnihttps://www.blogger.com/profile/03988967759939117394noreply@blogger.com