Results 1 to 2 of 2

Thread: Stored Procedure for backup.

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    Peterborough, Cambs, England
    Posts
    176
    Hi

    Is there a stored procedure for backup and restore in SQL Server 7?

    If there is, can someone provide me with the parameters please.

    Thanks.

  2. #2
    Hyperactive Member
    Join Date
    Nov 2000
    Location
    Mexico City
    Posts
    306

    Wink

    This is what I use for sybase (I suppose it´s the same):

    to dump:
    dump tran [your database] with truncate_only
    go
    checkpoint
    go
    dump database siefore to 'your filename'
    go

    to load:
    load database [your database] from 'your device'
    go
    online database [your database]
    go

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