Course Hero Logo

The databases must be using the full or bulk logged

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 11 - 14 out of 249 pages.

The databases must be using the full or bulk-logged recovery model. Some issues exist if you are using the bulk-logged model. For more information, see thefollowing section.Pages in read-only filegroups cannot be restored. Trying to make a filegroup read-only will fail if there is a page restore going on at the same time in thefilegroup.The restore sequence must start with a full, file, or filegroup backup.A page restore requires an unbroken chain of log backups up to the current log file, and they must all be applied so that the page is brought up to date with thecurrent log file.As in a file-restore sequence, in each restore step, you can add more pages to the roll forward set.A database backup and page restore cannot be run at the same time.Bulk-logged Recovery Model and Page RestoreFor a database that uses the bulk-logged recovery model, page restore has the following additional conditions:Backing up while filegroup or page data is offline is problematic for bulk-logged data, because the offline data is not recorded in the log. Any offline page canprevent backing up the log. In this cases, consider usingDBCC REPAIR, because this might cause less data loss than restoring to the most recent backup.If a log backup of a bulk-logged database encounters a bad page, it fails unless WITHCONTINUE_AFTER_ERROR is specified.Page restore generally does not work with bulk-logged recovery.A best practice for performing page restore is to set the database to the full recovery model, and try a log backup. If the log backup works, you can continue withthe page restore. If the log backup fails, you either have to lose work since the previous log backup or you have to try running DBCC must be run with theREPAIR_ALLOW_DATA_LOSS option.
QUESTION 8You administer a Microsoft SQL Server 2012 server that hosts a transactional database and a reporting database. The transactional database is updated through aweb application and is operational throughout the day. The reporting database is only updated from the transactional database.The recovery model and backup schedule are configured as shown in the following table:
One of the hard disk drives that stores the reporting database fails at 16:40 hours.You need to ensure that the reporting database is restored. You also need to ensure that data loss is minimal.What should you do?A.Restore the latest full backup. Then, restore each differential backup taken before the time of failure from the most recent full backup.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 249 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Winter
Professor
Alain Demetry
Tags
Microsoft SQL Server

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture