How to restore MSSQL database from SQL Server Management Studio?

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.

  • 2 Users Found This Useful

Was this answer helpful?

Related Articles

How to change port for MSSQL Server 2008?

In Windows VPS, 1533 is the default port for MSSQL Server. Following steps will guide you to...

How to upgrade SQL Enterprise Evaluation edition to SQL Developer edition?

If you have installed the MSSQL Evaluation edition, you can easily upgrade it to the Developer...

vs shell installation has failed with exit code 1638.

You may receive the following error while installing MSSQL 2017 on Windows 2012 R2 Server. vs...

How to change user access mode in MSSQL Server?

MSSQL Server provides a feature to restrict your Database access for users. It can be performed...

How to use MSSQL Activity Monitor to find the most expensive query?

A slow and long running SQL query execution consumes much processor, memory, and disk of your...