IT tutorials
 
Database
 

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

3/12/2014 2:55:37 AM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

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
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us