{"id":530,"date":"2009-06-29T22:54:00","date_gmt":"2009-06-29T22:54:00","guid":{"rendered":"https:\/\/brainlitter.itgroove.net\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/"},"modified":"2009-06-29T22:54:00","modified_gmt":"2009-06-29T22:54:00","slug":"sharepoint-site-collections-read-only-during-stsadm-scheduled-backups","status":"publish","type":"post","link":"https:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/","title":{"rendered":"SharePoint Site Collections Read Only during STSADM Scheduled Backups"},"content":{"rendered":"<div class=\"ExternalClass2EBF38E9BFF340A5952CE74C74576514\">\n<p>This was an interesting discovery, as I try not to work after 10pm (when my automated, scripted Site Collections are due to run). <\/p>\n<p>\u00a0<\/p>\n<p>When I tried to save a document to a document library, I was greeted with the following two issues: <\/p>\n<p>\u00a0<\/p>\n<h2>When saving to a document library, I got&#8230; <\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"\/brainlitterarchive\/Lists\/Photos\/063009_0553_SharePointS1.png\"> <\/p>\n<p><span style=\"color:#76923c\"><em>You do not have the correct permissions. Contact the server administrator. <\/em><\/span><\/p>\n<p>\u00a0<\/p>\n<h2>And when trying to add a new item to a list, I got&#8230; <\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"\/brainlitterarchive\/Lists\/Photos\/063009_0553_SharePointS2.png\"> <\/p>\n<p><span style=\"color:#76923c\"><em>Error: Access Denied <\/em><\/span><\/p>\n<p>\u00a0<\/p>\n<p>That&#8217;s what I get for trying to be extra efficient with my current workload. Time to go to bed, like a normal human &#8230; helps with the grumpies in the morning as well. Oh right, you are waiting for the answer\/solution. Ok, here it goes&#8230; <\/p>\n<p>\u00a0<\/p>\n<h1>SP2 for SharePoint, modifies the default behaviour of STSADM backups <\/h1>\n<p>\u00a0<\/p>\n<p>I have a nightly scheduled Site Collection Backup script that runs at 10pm &#8211; I don&#8217;t have a huge Site Collection\/Content Database and I like the extra security and flexibility I get regarding recovery of a full Site Collection. It&#8217;s been humming away for 2+ years and I&#8217;ve never had a problem &#8230; until now. With the release of SP2, the &#8216;SetSiteLock&#8217; option is now on by default. Prior to SP2, it was an option\/flag you set as a best practice (I didn&#8217;t, I forgot, didn&#8217;t care at the time, I don&#8217;t remember&#8230;). But now, it is on by default. Which means my Site Collection is read only during this operation. <\/p>\n<p>\u00a0<\/p>\n<p>In my case, I&#8217;m perfectly happy with that. And I&#8217;m too lazy to go back to my script and add in the necessary &#8216;NoSiteLock&#8217; switch (what can I say, I like the idea of the best practice being forced\/bestowed upon me &#8211; if it bothers me in the future, maybe I&#8217;ll change it). <\/p>\n<p>\u00a0<\/p>\n<p>Full details of the issue can be found here: <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc287967.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/technet.microsoft.com\/en-us\/library\/cc287967.aspx<\/a> and specifically, the interesting notes\/passages are the following: <\/p>\n<p>\u00a0<\/p>\n<div style=\"margin-left:3pt\">\n<table style=\"border-collapse:collapse\" border=\"0\">\n<col style=\"width:576px\">\n<tbody valign=\"top\">\n<tr style=\"background:#efeff7\">\n<td style=\"border-bottom:#c8cdde 0.75pt solid;border-left:#cccccc 0.25pt solid;padding-bottom:5px;padding-left:5px;padding-right:5px;border-top:#cccccc 0.25pt solid;border-right:#cccccc 0.25pt solid;padding-top:5px\" valign=\"bottom\">\n<p><img decoding=\"async\" alt=\"\" src=\"\/brainlitterarchive\/Lists\/Photos\/063009_0553_SharePointS3.gif\"><span style=\"font-family:Verdana;color:#000066;font-size:8pt\"><strong>Note: <\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"background:#f7f7ff\">\n<td style=\"border-bottom:#cccccc 0.75pt solid;border-left:#cccccc 0.75pt solid;padding-bottom:5px;padding-left:5px;padding-right:5px;border-top:medium none;border-right:#d5d5d3 0.75pt solid;padding-top:5px\">\n<p><span style=\"font-family:Verdana;color:#c0504d;font-size:8pt\">The <strong>force<\/strong> and <strong>nositelock<\/strong> parameters were first introduced in Windows SharePoint Services 3.0 with Service Pack 2 (SP2).<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u00a0<\/p>\n<p><em>and&#8230; <\/em><\/p>\n<p>\u00a0<\/p>\n<div style=\"margin-left:3pt\">\n<table style=\"border-collapse:collapse\" border=\"0\">\n<col style=\"width:576px\">\n<tbody valign=\"top\">\n<tr style=\"background:#efeff7\">\n<td style=\"border-bottom:#c8cdde 0.75pt solid;border-left:#cccccc 0.25pt solid;padding-bottom:5px;padding-left:5px;padding-right:5px;border-top:#cccccc 0.25pt solid;border-right:#cccccc 0.25pt solid;padding-top:5px\" valign=\"bottom\">\n<p><img decoding=\"async\" alt=\"\" src=\"\/brainlitterarchive\/Lists\/Photos\/063009_0553_SharePointS4.gif\"><span style=\"font-family:Verdana;color:#000066;font-size:8pt\"><strong>Important: <\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"background:#f7f7ff\">\n<td style=\"border-bottom:#cccccc 0.75pt solid;border-left:#cccccc 0.75pt solid;padding-bottom:5px;padding-left:5px;padding-right:5px;border-top:medium none;border-right:#d5d5d3 0.75pt solid;padding-top:5px\">\n<p><span style=\"font-family:Verdana;color:black;font-size:8pt\">If changes are made to the site collection during the backup process, the backup can become corrupted. Backing up large site collections can take a long time. To reduce the chance that user activity will interfere with a site collection backup, or that the time that is required to back up large site collections will exceed the available maintenance window, follow these recommendations: <\/span><\/p>\n<ul>\n<li><span style=\"font-family:Verdana;font-size:8pt\"><span style=\"color:black\">Do not use the Stsadm <strong>backup<\/strong> operation for site collections larger than 15 gigabytes (GB). For larger site collections, see the recommendations in <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc706876.aspx\"><\/span>Back up and restore site collections by using built-in tools (Windows SharePoint Services 3.0)<span style=\"color:black\">. <\/span><\/span><\/li>\n<li>\n<div><span style=\"font-family:Verdana;color:#c0504d;font-size:8pt\"><em>For the duration of the backup, set the site collection URL to read-only by using the <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc287893.aspx\">Setsitelock: Stsadm operation (Windows SharePoint Services)<\/a>. This lets users view content on the site, but prevents activities such as adding or changing content that interfere with the backup process. When the backup is complete, return the access setting of the site collection URL to its default state. <\/em><\/span><\/div>\n<p><span style=\"font-family:Verdana;color:#c0504d;font-size:8pt\"><em>In Service Pack 2 for SharePoint Products and Technologies, site collections are automatically locked as read-only before a backup process occurs. Therefore, there is no need to use the <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc287893.aspx\">Setsitelock: Stsadm operation (Windows SharePoint Services)<\/a> operation. If you do not want site collections to be locked as read-only, you must specify the <strong>nositelock<\/strong> parameter that is available in Windows SharePoint Services 3.0 with Service Pack 2 (SP2). <\/em><\/span><\/p>\n<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This was an interesting discovery, as I try not to work after 10pm (when my automated, scripted Site Collections are due to run). \u00a0 When I tried to save a document to a document library, I was greeted with the following two issues: \u00a0 When saving to a document library, I got&#8230; You do not &hellip; <a href=\"https:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[337,14,339],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SharePoint Site Collections Read Only during STSADM Scheduled Backups - Brainlitter - Inside the mind of Sean Wallbridge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SharePoint Site Collections Read Only during STSADM Scheduled Backups - Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"og:description\" content=\"This was an interesting discovery, as I try not to work after 10pm (when my automated, scripted Site Collections are due to run). \u00a0 When I tried to save a document to a document library, I was greeted with the following two issues: \u00a0 When saving to a document library, I got&#8230; You do not &hellip;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/\" \/>\n<meta property=\"og:site_name\" content=\"Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"article:published_time\" content=\"2009-06-29T22:54:00+00:00\" \/>\n<meta name=\"author\" content=\"Sean Wallbridge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Wallbridge\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/\",\"url\":\"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/\",\"name\":\"SharePoint Site Collections Read Only during STSADM Scheduled Backups - Brainlitter - Inside the mind of Sean Wallbridge\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\"},\"datePublished\":\"2009-06-29T22:54:00+00:00\",\"dateModified\":\"2009-06-29T22:54:00+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brainlitter\",\"item\":\"https:\/\/regroove.ca\/brainlitter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SharePoint Site Collections Read Only during STSADM Scheduled Backups\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/\",\"name\":\"Brainlitter - Inside the mind of Sean Wallbridge\",\"description\":\"Dad. Husband. Drummer. Learner of Things.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"caption\":\"Sean Wallbridge\"},\"url\":\"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SharePoint Site Collections Read Only during STSADM Scheduled Backups - Brainlitter - Inside the mind of Sean Wallbridge","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/","og_locale":"en_US","og_type":"article","og_title":"SharePoint Site Collections Read Only during STSADM Scheduled Backups - Brainlitter - Inside the mind of Sean Wallbridge","og_description":"This was an interesting discovery, as I try not to work after 10pm (when my automated, scripted Site Collections are due to run). \u00a0 When I tried to save a document to a document library, I was greeted with the following two issues: \u00a0 When saving to a document library, I got&#8230; You do not &hellip;","og_url":"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/","og_site_name":"Brainlitter - Inside the mind of Sean Wallbridge","article_published_time":"2009-06-29T22:54:00+00:00","author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/","url":"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/","name":"SharePoint Site Collections Read Only during STSADM Scheduled Backups - Brainlitter - Inside the mind of Sean Wallbridge","isPartOf":{"@id":"https:\/\/regroove.ca\/brainlitter\/#website"},"datePublished":"2009-06-29T22:54:00+00:00","dateModified":"2009-06-29T22:54:00+00:00","author":{"@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/regroove.ca\/brainlitter\/2009\/06\/29\/sharepoint-site-collections-read-only-during-stsadm-scheduled-backups\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Brainlitter","item":"https:\/\/regroove.ca\/brainlitter\/"},{"@type":"ListItem","position":2,"name":"SharePoint Site Collections Read Only during STSADM Scheduled Backups"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/brainlitter\/#website","url":"https:\/\/regroove.ca\/brainlitter\/","name":"Brainlitter - Inside the mind of Sean Wallbridge","description":"Dad. Husband. Drummer. Learner of Things.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","caption":"Sean Wallbridge"},"url":"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/530"}],"collection":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/comments?post=530"}],"version-history":[{"count":0,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/530\/revisions"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media?parent=530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/categories?post=530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/tags?post=530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}