Results 1 to 14 of 14
  1. #1
    Join Date
    Mar 2004
    Location
    SA
    Posts
    9

    Unanswered: making a sql backup file a database

    Hi

    I have copied a sql server backup file. I would like to make it a live database. How would I do this??

  2. #2
    Join Date
    Aug 2002
    Location
    Scotland
    Posts
    1,578
    Use RESTORE statement to restore as database.
    Refer to books online for more information.
    --Satya SKJ
    Microsoft SQL Server MVP
    [IMG]http://sqlserver-qa.net/google_bart.gif[/IMG]

  3. #3
    Join Date
    Mar 2004
    Location
    SA
    Posts
    9

    restoring databases

    Originally posted by Satya
    Use RESTORE statement to restore as database.
    Refer to books online for more information.
    I actually made a backup of one of our live databases...lets call it database1.....I would like the backup to be identical to Database1 BUT called database2. The main reason for this is i want to do tests on it...

    Thanks

    Charlene

  4. #4
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Can you describe "backup" in a bit more detail? Is this a SQL backup (to a dump file), or an NT file backup?

    -PatP

  5. #5
    Join Date
    Mar 2004
    Location
    SA
    Posts
    9

    backups

    Originally posted by Pat Phelan
    Can you describe "backup" in a bit more detail? Is this a SQL backup (to a dump file), or an NT file backup?

    -PatP
    On one of databases in Server Enterprise Manager, I right clicked on the database and I made a full backup......this is what i currently have as my backup.......

    Charlene

  6. #6
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Ah, way more gooder yet even!

    There are more ways to skin this cat than there are cats, but I'll give you a simple scenario.

    1) Go into SQL Enterprise Mangler.
    2) Create a new database on your server
    3) Right click on the new database
    4) Click restore from the pop-up menu
    5) Select the dump file that you created

    ...and you should be in business!

    -PatP

  7. #7
    Join Date
    Mar 2004
    Location
    SA
    Posts
    9

    thanks

    Originally posted by Pat Phelan
    Ah, way more gooder yet even!

    There are more ways to skin this cat than there are cats, but I'll give you a simple scenario.

    1) Go into SQL Enterprise Mangler.
    2) Create a new database on your server
    3) Right click on the new database
    4) Click restore from the pop-up menu
    5) Select the dump file that you created

    ...and you should be in business!

    -PatP
    Thank you sooo much...you are a great help/////

  8. #8
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Oh, I just love it when a pretty lady says that!

    -PatP

  9. #9
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    Actually, you can skip steps 1 through 3 and restore a db to a different name (Hoping for a "Thank you sooo much" here... )

  10. #10
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Thank you soooo much!

    Oops, hold on a second. Probably not where you wanted that to come from. Sorry

    That actually would be how I'd do it, but that isn't as "easy" for somebody from the GUI world.

    -PatP

  11. #11
    Join Date
    Mar 2004
    Location
    SA
    Posts
    9

    Sql server DB

    Originally posted by Pat Phelan
    Thank you soooo much!

    Oops, hold on a second. Probably not where you wanted that to come from. Sorry

    That actually would be how I'd do it, but that isn't as "easy" for somebody from the GUI world.

    -PatP
    Cool.....you guys are all great...I am very impressed with the help....

  12. #12
    Join Date
    Mar 2004
    Location
    SA
    Posts
    9

    Re: Sql server DB

    Originally posted by charla
    Cool.....you guys are all great...I am very impressed with the help....
    One more problem....where must my database .bak file be placed, because I cannot select the file i want to make a backup of....

  13. #13
    Join Date
    Mar 2004
    Location
    SA
    Posts
    9

    Re: Sql server DB

    Originally posted by charla
    One more problem....where must my database .bak file be placed, because I cannot select the file i want to make a backup of....
    This is not working.....can someone please guide me step by step through the process of making a backup of a database that is sitting on one of my remote servers. Then creating a copy of this database on a local machine.

    Thanks

  14. #14
    Join Date
    Aug 2002
    Location
    Scotland
    Posts
    1,578
    Why not review information from books online for BACKUP & RESTORE statements.
    --Satya SKJ
    Microsoft SQL Server MVP
    [IMG]http://sqlserver-qa.net/google_bart.gif[/IMG]

Posting Permissions

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