Results 1 to 3 of 3

Thread: back-up script

  1. #1
    Join Date
    Sep 2011
    Posts
    47

    Unanswered: required a simple back-up script

    can any one give me a very simple back up script that buck up full database
    to a given location
    simple like
    Code:
    backup database databasename to "c:\users\desktop\name.bak"
    Last edited by navedjobs; 01-16-12 at 06:43.

  2. #2
    Join Date
    Sep 2011
    Posts
    47

    need Help in backup script

    Quote Originally Posted by navedjobs View Post
    can any one give me a very simple back up script that buck up full database
    to a given location
    simple like
    Code:
    backup database databasename to "c:\users\desktop\name.bak"
    please help !!!!!

  3. #3
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    See BACKUP (Transact-SQL) for a full description of options, but you could start with:
    Code:
    BACKUP DATABASE putYourDatabaseNameHere
       TO DISK = 'c:\BackupPath\BackupFile.BAK'
    -PatP
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •