ARTICLE

How to Restore a Database in SQL Server 2008

Posted by Vamshi Krishna Articles | SQL Server 2012 March 29, 2011
You will learn how to restore a database in SQL Server 2008
Reader Level:


Step 1:

  • Copy a backup file and paste it into your system (that means paste into any drive (D:/, E:/ ...))

Step 2:
  • Open SQL Server Management studio.

    RDatabase1.gif
     
  • Go to Object Explorer (it is located in the left side) in the SQL Server IDE.
  • Select "Database" and Right-click.
  • A window will open; in that window select the "Restore Databases.." Option.

    RDatabase2.gif
     
  • Another window will open.
  • That window has...
  • "Todatabase" option; you can give any Database name.
  • And select "From Device" radio button and go to browse ... and select "backup file".

    RDatabase3.gif
     
  • Specify Backup window; in that window click the "Add" button.

    RDatabase4.gif
     
  • The drives window displays; select your backup file from your system drives.

    RDatabase5.gif

    RDatabase6.gif
     
  • Click OK button.
  • Another wIndow displays; in that window ...
  • Check the "Restore" checkbox.

    RDatabase7.gif
     
  • Click "OK" button.
  • The MSQLMS window is displayed.
  • And click Ok.

    RDatabase8.gif
     
  • After completing all processes ...
  • Again go to "Object Explorer" and press the "Refresh" button.
  • Go to the database option and expand the database.

    RDatabase9.gif
     
  • "Project" is our database name

    RDatabase10.gif

Login to add your contents and source code to this article
comments
COMMENT USING
PREMIUM SPONSORS
DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and add new content to existing PDF documents from within your applications.
HTML 5 + JQUERY CONTROLS
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Nevron Diagram