{"id":8599,"date":"2019-04-26T16:35:09","date_gmt":"2019-04-26T16:35:09","guid":{"rendered":"https:\/\/ittutorial.org\/?p=8599"},"modified":"2020-08-27T15:07:48","modified_gmt":"2020-08-27T15:07:48","slug":"sql-server-log-shipping-disaster-recovery-install-and-configuration-4","status":"publish","type":"post","link":"https:\/\/ittutorial.org\/sql-server-log-shipping-disaster-recovery-install-and-configuration-4\/","title":{"rendered":"SQL Server Log Shipping &#038; Disaster Recovery Install and Configuration -4"},"content":{"rendered":"<p>Hi,<\/p>\n<p>In this article, I will continue to explain you about Log Shipping technology in SQL Server.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8605\" src=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2019\/04\/Log-Shipping3.png\" alt=\"\" width=\"500\" height=\"444\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2019\/04\/Log-Shipping3.png 500w, https:\/\/ittutorial.org\/wp-content\/uploads\/2019\/04\/Log-Shipping3-300x266.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n\n<p>&nbsp;<\/p>\n<p>Read previous article before this.<\/p>\n<p>https:\/\/ittutorial.org\/sql-server-log-shipping-2\/<\/p>\n<p>https:\/\/ittutorial.org\/sql-server-log-shipping-3\/<\/p>\n<p>&nbsp;<\/p>\n\n<p>Now perform the necessary configurations for the Secondary Database below.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/122.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3144\" src=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/122.png\" alt=\"12\" width=\"614\" height=\"552\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/122.png 702w, https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/122-300x270.png 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/131.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3145\" src=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/131.png\" alt=\"13\" width=\"614\" height=\"532\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/131.png 666w, https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/131-300x260.png 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Perform the necessary configurations for the Secondary Database as follows. Now create the Copy and Restore Job that will copy and transfer the Transaction Log Backups from the Primary Server to the Secondary Server and Restore it to the Standby database.<\/p>\n<p>&nbsp;<\/p>\n\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/142.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3146\" src=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/142.png\" alt=\"14\" width=\"614\" height=\"534\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/142.png 665w, https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/142-300x261.png 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/151.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3147\" src=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/151.png\" alt=\"15\" width=\"614\" height=\"537\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/151.png 666w, https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/151-300x263.png 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n\n<p>Create the copy job with Schedule 3 minutes and specify the deletion of the old files older than 15 minutes.<\/p>\n<p>On the Secondary Server, I have specified the path to copy these files as follows.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/162.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3148\" src=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/162.png\" alt=\"16\" width=\"614\" height=\"532\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/162.png 666w, https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/162-300x260.png 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n\n<p>&nbsp;<\/p>\n<p>The Restore Job is specified in Schedule as follows.<\/p>\n<p><a href=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/172.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3149\" src=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/172.png\" alt=\"17\" width=\"614\" height=\"539\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/172.png 664w, https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/172-300x263.png 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n\n<p>In the following step, we determine the mode of our Secondary database. I have set my mode mode to Standby mode. Thus, the Secondary database will be in Read-only mode at intervals that the Restore job is not running and will be available for reporting.<\/p>\n<p><a href=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/181.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3150\" src=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/181.png\" alt=\"18\" width=\"614\" height=\"530\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/181.png 666w, https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/181-300x259.png 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n\n<p>&nbsp;<\/p>\n<p>Click on the OK button after entering the required Schedule and Paths for both Copy and Restore jobs.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/191.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/191.png\" alt=\"19\" width=\"614\" height=\"550\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/201.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3152\" src=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/201.png\" alt=\"20\" width=\"614\" height=\"553\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/201.png 704w, https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/201-300x271.png 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>the Log Shipping Configuration has been completed successfully . Since the installation is completed successfully, Backup and Restore job will be created in the Primary database and in the Secondary Database. We can see these jobs as follows.<\/p>\n<p>&nbsp;<\/p>\n\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/212.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3153\" src=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/212.png\" alt=\"21\" width=\"308\" height=\"446\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/212.png 308w, https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/212-207x300.png 207w\" sizes=\"auto, (max-width: 308px) 100vw, 308px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/221.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3154\" src=\"http:\/\/salihdeveci.files.wordpress.com\/2013\/04\/221.png\" alt=\"22\" width=\"377\" height=\"485\" srcset=\"https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/221.png 377w, https:\/\/ittutorial.org\/wp-content\/uploads\/2013\/04\/221-233x300.png 233w\" sizes=\"auto, (max-width: 377px) 100vw, 377px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n\n<p>&nbsp;<\/p>\n<p>SQL Server log shipping installation is completed.<\/p>\n<p>&nbsp;<\/p>\n<h4><span style=\"color: #ff0000;\">Do you want to learn Microsoft SQL Server DBA Tutorials for Beginners, then read the following articles.<\/span><\/h4>\n<p><a href=\"https:\/\/ittutorial.org\/sql-server-tutorials-microsoft-database-for-beginners\/\">https:\/\/ittutorial.org\/sql-server-tutorials-microsoft-database-for-beginners\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, In this article, I will continue to explain you about Log Shipping technology in SQL Server.<\/p>\n","protected":false},"author":1,"featured_media":8605,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2227],"tags":[460,2672,508,3898,2671,2674,1000,3899,3901,3900,1031,1515,1577,1632,1647,1653,12709,12708,12707,3902,3903,12706,12705,12704,12703,12702,12701,2620],"class_list":["post-8599","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-sql-server-2","tag-database-high-availability","tag-database-tutorial","tag-deveci","tag-how-to-install-log-shipping","tag-it-tutorial","tag-linux-tutorial","tag-log-shipping","tag-log-shipping-install","tag-log-shipping-install-sql-server","tag-logshipping-install","tag-mehmet-salih-deveci","tag-salih-deveci","tag-sql-server","tag-sql-server-disaster-recovery","tag-sql-server-high-availability","tag-sql-server-log-shipping","tag-sql-server-log-shipping-configuration","tag-sql-server-log-shipping-for-reporting","tag-sql-server-log-shipping-from-2008-to-2019","tag-sql-server-log-shipping-install","tag-sql-server-log-shipping-installation","tag-sql-server-log-shipping-licensing","tag-sql-server-log-shipping-limitations","tag-sql-server-log-shipping-monitor-script","tag-sql-server-log-shipping-vs-always-on","tag-sql-server-log-shipping-vs-mirroring","tag-sql-server-log-shipping-vs-replication","tag-sql-server-tutorial"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/ittutorial.org\/wp-content\/uploads\/2019\/04\/Log-Shipping3.png","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/posts\/8599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/comments?post=8599"}],"version-history":[{"count":4,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/posts\/8599\/revisions"}],"predecessor-version":[{"id":18220,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/posts\/8599\/revisions\/18220"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/media\/8605"}],"wp:attachment":[{"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/media?parent=8599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/categories?post=8599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ittutorial.org\/wp-json\/wp\/v2\/tags?post=8599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}