ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    SQL Management - Backup to new DB

    IT Discussion
    server2012r2 sql express sql server management studio sql server 2012 sql management
    3
    8
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobseG
      gjacobse
      last edited by

      Trying to restore a backup to a new database for comparison of data integration. I get to a certain point and the restore fails.

      First, I created a NEW Database
      0_1471354025780_2016-08-16 09_07_27-NTG - SSI-SQL01 - Connected.png

      Then, right clicked on it, going to TASKS then RESTORE.

      From there, I have this:

      0_1471354087437_2016-08-16 09_08_27-NTG - SSI-SQL01 - Connected.png

      Selecting the proper file to restore and destination.

      0_1471354411468_2016-08-16 09_13_17-NTG - SSI-SQL01 - Connected.png

      Then going to FILES to change the destination file name.

      When completing - it fails with file is in use. What am I missing?

      1 Reply Last reply Reply Quote 0
      • dafyreD
        dafyre
        last edited by

        Give us a screenshot of the Options tab?

        1 Reply Last reply Reply Quote 0
        • gjacobseG
          gjacobse
          last edited by

          0_1471364967487_2016-08-16 12_29_06-NTG - SSI-SQL01 - Connected.png

          1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch
            last edited by

            Do not create a new database.

            Also you do not need to touch the files section.

            Just restore and change destination name on the first screen to a name not currently used.

            gjacobseG 1 Reply Last reply Reply Quote 1
            • JaredBuschJ
              JaredBusch
              last edited by

              Like this.

              0_1471366109978_upload-5b7d8c92-1d5d-4a9a-815e-e276d90757f4

              1 Reply Last reply Reply Quote 1
              • JaredBuschJ
                JaredBusch
                last edited by

                0_1471366337372_upload-4d534226-8180-4b1d-86f9-1d20b730e490

                1 Reply Last reply Reply Quote 1
                • gjacobseG
                  gjacobse @JaredBusch
                  last edited by

                  @JaredBusch said in SQL Management - Backup to new DB:

                  Do not create a new database.

                  Also you do not need to touch the files section.

                  Just restore and change destination name on the first screen to a name not currently used.

                  Okay - so my step 1 is incorrect. The action of restoring (to the new location) is, and how the DB creates....

                  1 Reply Last reply Reply Quote 0
                  • gjacobseG
                    gjacobse
                    last edited by

                    I got it restored to a new db,.. but i did have to change the file name.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post