Results 1 to 5 of 5

Thread: Backup SQL Server Database

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2006
    Location
    Dhaka, Bangladesh
    Posts
    40

    Backup SQL Server Database

    How can I take database (SQL Server 2000) backup from asp.net using C#.

    -Zahir

  2. #2
    Frenzied Member brin351's Avatar
    Join Date
    Mar 2007
    Location
    Land Down Under
    Posts
    1,293

    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).

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2006
    Location
    Dhaka, Bangladesh
    Posts
    40

    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.

  4. #4
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    North East America
    Posts
    463

    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.
    TMacPherson
    MIS Systems Engineer
    [email protected]


  5. #5
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724

    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
  •  



Click Here to Expand Forum to Full Width