Website Domain Registration and Website Hosting - Host a Website Tonight
GoWebsite.com provides Domain Registration
Website Hosting, On-Line Shopping Carts,
Blog Hosting, Email Accounts, Security Certificates,
Merchant Accounts & other Website Products.
Free setup! Speak with us anytime: (480) 624-2500

Restoring a SQL Server Database from BAK and MDF Files

Using Microsoft® Database Publishing Wizard and SQL Server with Management Studio, you can restore a SQL Server database from a backup file (BAK) created outside the Hosting Control Center or from an MDF file.

For information on Database Publishing Wizard, see What are the Database Publishing Service and Database Publishing Wizard?.

Download SQL Server Express Edition with Management Studio here.

NOTE: We recommend you create SQL Server database backups through the Hosting Control Center. For more information, see Backing Up a SQL Server Database.

To Restore a SQL Server Database

From BAK files created outside of the Hosting Control Center

  1. Open SQL Server Management Studio on your local machine.
  2. Right click the Databases folder. From the pop-up menu, select New Database.
  3. Enter a database name, and then click Ok.
  4. Right click the new database icon. From the pop-up menu, select Tasks -> Restore -> Database.
  5. Select the From Device option, and then click the browse button.
  6. Click Add and navigate to the appropriate file. Click Ok.
  7. In the Restore Database window, select the checkbox next to your BAK file.
  8. Switch to the Options page. Select the Overwrite the existing database checkbox.
  9. Click Ok.
  10. Verify the contents of your database, which is now active on your local machine.
  11. Publish your database using the Microsoft Database Publishing Wizard. For more information, see Publishing a Database Using the Database Publishing Wizard.

From .mdf files

  1. Open SQL Server Management Studio on your local machine.
  2. Right click the Databases folder. From the pop-up menu, select Attach.
  3. Click Add and select the appropriate .mdf file. Click Ok, and then click Ok again.
  4. Verify the contents of your database, which is now active on your local machine.
  5. Publish your database using the Microsoft Database Publishing Wizard. For more information, see Publishing a Database Using the Database Publishing Wizard.

NOTE: Microsoft SQL Server 2008 databases do not support DPS or DPW.

Domain Registration Domain Registration
Pay less for website domain names. Register your own .com, .net or .org for as low as $10.00 per year. (Plus ICANN fee of 18¢ per domain.) A free Email Account is included.
Website Hosting Website Tonight
For as little as $3.89 per month you can build your Website online with Website Tonight using our easy to use professional templates.
Play Video - Demo
Shopping Cart Software Quick Shopping Cart
Build and run your own successful online store in minutes! You're just five easy steps away!
Play Video
Website Hosting Website Hosting
Everything you need to give your Website the high-performance home it deserves!  Protect transactions and customer data with a
SSL Certificate