SIGN UP MEMBER LOGIN:    
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
share this article :
post comment
 

Is the same procedure for 2005 and 2008

Posted by Krishna Garad Mar 29, 2011
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
    Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites - Click Here!
Team Foundation Server Hosting
Become a Sponsor