IT tutorials
 
Database
 

Microsoft SQL Server 2012 : Recovery Operations (part 3) - Restoring Individual Pages

3/12/2014 2:55:37 AM
- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire

Restoring Individual Pages

The ability to restore pages has been available since SQL Server 2005; however, up until now, you needed to use T-SQL code. In this release you can perform this type of restore through a native interface inside Management Studio.

What exactly does restoring a page allow you to do? You can restore one or more damaged pages without having to restore the entire database. Database pages that are suspect are specifically identified in the dbo.suspect_pages table inside the msdb system database.

To restore a page, select the database you want to restore the page to. From the context or Action menu, select Tasks ? Restore ? Page to open the SQL Server Restore page form. The Restore page is shown in Figure 4.

Figure 4 The Restore Page interface lets you check and see which database pages are marked as suspect.

21.9

In the section marked Pages, SQL Server lists the pages identified as suspect in your selected database. If you want to run another check to make sure the suspected pages list is up to date, click the Check Database Pages button. This initiates a DBCC CHECKDB WITH PHYSICAL_ONLY check and then re-queries the msdb.dbo.suspect_pages table for any additional rows pertaining to your database.

In the Tail Log section, specify the location where you want the tail-log backup of the database stored. This is required because the restore process automatically initiates a tail-log backup. The default location selected is the default backup location for SQL Server. If you want to change this, click the Ellipsis button, and specify the new location.

The database's backup chain is automatically loaded into the backup sets window. This is needed because the transaction log backups must be applied to all files that contain a page that is being recovered. If no existing transaction log backups exist, it uses the last full backup along with the latest differential backup, if there are any. It automatically adds the new tail-log backup that is created during this process. Clicking the Verify button performs a RESTORE WITH VERIFYONLY against the backup set to ensure that the backups are valid and readable.

After you verify that all options are valid, click OK. This initiates the restore process. You can see the progress of this activity at the top of the Restore Page window. When it is complete you see a pop-up message stating “Database ‘<database name>’ Restored Successfully”.

 
Others
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
programming4us programming4us
 
Popular tags
 
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS