How to restore MSSQL database from SQL Server Management Studio? Print

  • 2

This article will guide you on how to restore MSSQL database from SQL Server Management Studio.

 

  1. Login into your server [Windows VPS/Dedicated Server] by accessing remote desktop connection.

  2. Click on SQL Server Management Studio.

    Open SQL Server Management Studio


  3. Fill the details as below to connect to SQL Server Management Studio:

    • Server Type: Database Engine
    • Server name: IP address,1533
    • Authentication: SQL Server Authentication
    • Login: Database username
    • Password: Database user's password


    Specify Details to Connect to MSSQL Server

  4. Expand the Databases option. Right click on the database name, which you want to restore e.g. ASPNETDB, go to Tasks -> Restore -> Database.

    Select Restore Option from Tasks


  5. Click on Options from the left pane. Then select these options:

    • Under Restore options section, check the option Override the existing database (WITH REPLACE).
    • Under Recovery state section, select Leave the database ready to use by rolling back uncommited transactions. Additional transaction logs cannot be restored (RESTORE WITH RECOVERY).

      Specify Restore Options and Recovery Stats

  6. Now, select the option General from the left pane. Then select these options:

    • Under Destination for restore section, select your database from the drop down list of To database.
    • Under Source for restore section, select the From device option.

      Specify Source for Restore



  7. Select the button beside From device option then keep the Backup media type as File and click on Add button.

    Select a Backup Media


  8. Now, select the path of the backup file of your database.

    Locate a Backup File that Needs to be Restored


  9. After selecting the file, click on OK button in order to restore the database.


Was this answer helpful?

« Back
Sign up for a newsletter

chat