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 configure MSSQL server default language configuration option?

Recently, we faced strange issue wherein one of our customers was capturing error messages coming...

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

Microsoft SQL Server 2016 Recommendation

The SQL Server 2016 Express is the latest data management system from the Microsoft. Like the...

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 Database Collation in MsSQL Server?

Collation is a configuration level setting in the MSSQL. It directs how the character data will...

  • 2 Users Found This Useful

Was this answer helpful?