{"id":851,"date":"2013-09-16T16:11:05","date_gmt":"2013-09-16T13:11:05","guid":{"rendered":"http:\/\/www.fatihacar.com\/blog\/?p=851"},"modified":"2013-09-16T16:12:33","modified_gmt":"2013-09-16T13:12:33","slug":"mssql-server-recovery-models-features","status":"publish","type":"post","link":"https:\/\/www.fatihacar.com\/blog\/mssql-server-recovery-models-features\/","title":{"rendered":"MsSQL Server Recovery Models Features"},"content":{"rendered":"<p>SQL Server backup and restore operations occur within the context of the recovery model of the database. Recovery models are designed to control transaction log maintenance. A recovery model is a database property that controls how transactions are logged, whether the transaction log requires (and allows) backing up, and what kinds of restore operations are available. Three recovery models exist: simple, full, and bulk-logged. Typically, a database uses the full recovery model or simple recovery model. A database can be switched to another recovery model at any time.<\/p>\n<p><strong>1- Simple<\/strong><\/p>\n<blockquote><p>No log backups.<br \/>\nYou can recover only to the end of a backup. Automatically reclaims log space to keep space requirements small, essentially eliminating the need to manage the transaction log space. For information about database backups under the simple recovery model, see Full Database Backups (SQL Server).<br \/>\nOperations that require transaction log backups are not supported by the simple recovery model. The following features <strong>cannot<\/strong> be used in simple recovery mode:<\/p>\n<ul>\n<li>Log shipping<\/li>\n<li>AlwaysOn or Database mirroring<\/li>\n<li>Media recovery without data loss<\/li>\n<li>Point-in-time restores<\/li>\n<\/ul>\n<\/blockquote>\n<p><strong>2- Full<\/strong><\/p>\n<blockquote><p>\nYou can recovery point in time.<br \/>\nRequires log backups.<br \/>\nNo work is lost due to a lost or damaged data file.\n<\/p><\/blockquote>\n<p><strong>3- Bulk-logged<\/strong><\/p>\n<blockquote><p>\nYou can recover only to the end of a backup.<br \/>\nRequires log backups.<br \/>\nAn adjunct of the full recovery model that permits high-performance bulk copy operations.<br \/>\nReduces log space usage by using minimal logging for most bulk operations.<\/p><\/blockquote>\n<p><strong>Source :<\/strong> Microsoft Offical Documents<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SQL Server backup and restore operations occur within the context of the recovery model of the database. Recovery models are designed to control transaction log maintenance. A recovery model is a database property that controls how transactions are logged, whether the transaction log requires (and allows) backing up, and what kinds of restore operations are&#8230;<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11],"tags":[14,96],"class_list":["post-851","post","type-post","status-publish","format-standard","hentry","category-administration-mssql-server","tag-database-administration","tag-mssql-server"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p39NFI-dJ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/comments?post=851"}],"version-history":[{"count":3,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/851\/revisions"}],"predecessor-version":[{"id":854,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/851\/revisions\/854"}],"wp:attachment":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/media?parent=851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/categories?post=851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/tags?post=851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}