|
-
Jun 4th, 2007, 02:59 AM
#1
Thread Starter
Member
Backup SQL Server Database
How can I take database (SQL Server 2000) backup from asp.net using C#.
-Zahir
-
Jun 4th, 2007, 08:03 AM
#2
Re: Backup SQL Server Database
Normally you'd back up using sql server either on the same machine or to a remote sql server. Using asp.net you'd have to get all records in all tables and write them to another database or file (text or xml etc).
-
Jun 4th, 2007, 09:20 AM
#3
Thread Starter
Member
Re: Backup SQL Server Database
Thanks for your response but I don't want to take backup from the SQL Server. I need to take backup from the front-end.
-
Jun 4th, 2007, 10:15 AM
#4
Hyperactive Member
Re: Backup SQL Server Database
I believe there is a command line that can be used to do a back up... I cannot remember the executable name but search the web for command line SQL backup. Although this may only be true with Oracle, which I haven't touched in over 5 years.
-
Jun 4th, 2007, 10:41 AM
#5
Re: Backup SQL Server Database
Or you could execute the T-SQL commands that the interfaces, be it command line or Enterpise Damager, run i.e. BACKUP and RESTORE...
http://www.sqlteam.com/item.asp?ItemID=26689
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|