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.

Related Articles

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...

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 Change MS SQL Database Recovery Model?

This article describes how to to change recovery model of a MS SQL database through SQL Server...

How to check active connections on your MS-SQL Database ?

To check active database connection in the MS SQL server please follow the below steps. Open...

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...

  • 2 Users Found This Useful

Was this answer helpful?