<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">The SharePoint Redneck</title><subtitle type="html" /><id>http://blogs.msdn.com/stevenro/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/stevenro/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/stevenro/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2006-12-09T03:30:00Z</updated><entry><title>Ridiculously Busy</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/stevenro/archive/2007/11/29/ridiculously-busy.aspx" /><id>http://blogs.msdn.com/stevenro/archive/2007/11/29/ridiculously-busy.aspx</id><published>2007-11-29T19:41:00Z</published><updated>2007-11-29T19:41:00Z</updated><content type="html">&lt;P&gt;Wow...did anyone forsee this SharePoint thing getting this huge this fast?&amp;nbsp; I knew if was awesome, but I didn't foresee an adoption rate like this.&amp;nbsp; Due to everyone loving out portal (take that Google), I have been swamped.&amp;nbsp; Running around the country helping people become the best SharePoint administrators they can be is tough work.&amp;nbsp; But the holidays are here and I hope to get a little down time.&amp;nbsp; I have been seeing some things recently that are definately blog worthy and have also had a chance to do a little programming.&amp;nbsp; Look for me on CodePlex hopefully in the near future when I get some of my code into a Product Group project.&lt;/P&gt;
&lt;P&gt;Please don't forget about me.&amp;nbsp; If you need your daily fix of SharePoint blog, check out the SharePoint Premier Field Engineering blog called From the Field (&lt;A href="http://sharepoint.microsoft.com/blogs/fromthefield"&gt;http://sharepoint.microsoft.com/blogs/fromthefield&lt;/A&gt;).&amp;nbsp; This is a blog that consists of posts from many of my collegues around the world who do the same job I do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Until next time, keep the duct tape handy!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6600401" width="1" height="1"&gt;</content><author><name>stevenro</name><uri>http://blogs.msdn.com/members/stevenro.aspx</uri></author><category term="Misc" scheme="http://blogs.msdn.com/stevenro/archive/tags/Misc/default.aspx" /></entry><entry><title>A Change of Direction</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/stevenro/archive/2007/09/20/a-change-of-direction.aspx" /><id>http://blogs.msdn.com/stevenro/archive/2007/09/20/a-change-of-direction.aspx</id><published>2007-09-21T07:58:00Z</published><updated>2007-09-21T07:58:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;I wise old redneck once told me that every really good redneck&amp;nbsp;story (or military story for that matter) had to start of with "No shit...there I was..."&amp;nbsp; I laughed at the time, but after many years of considering myself in the redneck ranks, I have found this to be true.&amp;nbsp; This post will be no exception.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;No shit...there I was...sitting at dinner with a buddy who happens to be an Exchange engineer (don't hold it against him) and we were talking about email addresses.&amp;nbsp; He had explained to me that the nice young lady who performed my technical screen when I was interviewing for my current position had a vanity email address&amp;nbsp;that he had given her and he might be able to get me something too.&amp;nbsp; So I sat and thunk about it for awhile and originally came up with the address of &lt;A href="mailto:SharePoint.Samurai@microsoft.com"&gt;SharePoint.Samurai@microsoft.com&lt;/A&gt; because we are often called upon to go into the fray and be victorious warriors.&amp;nbsp; But the more I thought about it, the more I started to think I had it wrong.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;We aren't samurai doing battle in the name of the mighty SharePoint.&amp;nbsp; We are more like rednecks.&amp;nbsp; Now I know there are some of you who will read this and not get it.&amp;nbsp; Coming from the south and having married into a family where redneck is an art form, I have seen my share of guys say "Here...hold my beer and watch this!"&amp;nbsp; But that isn't all the redneck society is all about.&amp;nbsp; Those are the folks who rightly deserve Darwin awards.&amp;nbsp; I am talking about all the other rednecks out there that know the deal and have no allusions to what this life really is. &lt;/FONT&gt;&lt;FONT size=3&gt;I am talking about the guys who can (and do) fix their own trucks, trap their own food, build their own houses and can find a way to make just about anything work in some fashion.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;SharePoint is this huge tool that can be just about anything to anyone who want to mold it into the shape they see fit.&amp;nbsp; But who better to make those ideas come to life than the Cooters and Duke boys of the world.&amp;nbsp; A little duct tape, some sheet metal and a little bit of time (not to mention a fast orange car)&amp;nbsp;and we can get the visions of management shoe-horned into the architecture better than anyone else.&amp;nbsp; We can hack it and push it and change it in a way that goes from undoable to done.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;So...today I have decided to change this blog from "The SharePoint Traveler" to "The SharePoint Redneck" and will try and post more information about making this tool I have risked my family's well-being on into the thing of beauty I am sure it can be.&amp;nbsp; As I find those little trick questions that my customers are always asking me, I will try and get them down and distill them into helpful posts we can all use.&amp;nbsp; BDC, Excel Services, WorkFlow, just plain admin.&amp;nbsp; All of these topics will cause us pain at one time or another.&amp;nbsp; Maybe we can use that redneck spirit and ingenuity work for us.&amp;nbsp; Who's with me?&amp;nbsp; Post your comments here or feel free to send them to me in email at &lt;A href="mailto:SharePoint.Redneck@microsoft.com"&gt;SharePoint.Redneck@microsoft.com&lt;/A&gt;. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;SharePoint Rednecks Unite!&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5025739" width="1" height="1"&gt;</content><author><name>stevenro</name><uri>http://blogs.msdn.com/members/stevenro.aspx</uri></author><category term="Misc" scheme="http://blogs.msdn.com/stevenro/archive/tags/Misc/default.aspx" /></entry><entry><title>It's a Migration Thing...Part 2</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/stevenro/archive/2007/09/20/it-s-a-migration-thing-part-2.aspx" /><id>http://blogs.msdn.com/stevenro/archive/2007/09/20/it-s-a-migration-thing-part-2.aspx</id><published>2007-09-21T07:17:00Z</published><updated>2007-09-21T07:17:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;I get a lot of emails and comments asking for a followup to my original post on migrating SharePoint from one SQL server to another.&amp;nbsp; Folks want to know how to move from one SQL server to another in WSSv3/MOSS since it is a bit different than it was in&amp;nbsp;WSSv2/SPS 2003.&amp;nbsp; Well...my buddy Ron beat me to it.&amp;nbsp; We have been discussing this on and off and he finally got all the steps fleshed out in rough form and posted on his bloag (&lt;/FONT&gt;&lt;A href="http://blogs.msdn.com/ronalg/archive/2007/09/20/change-the-sql-server-in-a-moss-2007-wss-3-0-farm.aspx" mce_href="http://blogs.msdn.com/ronalg/archive/2007/09/20/change-the-sql-server-in-a-moss-2007-wss-3-0-farm.aspx"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;http://blogs.msdn.com/ronalg/archive/2007/09/20/change-the-sql-server-in-a-moss-2007-wss-3-0-farm.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;) for us.&amp;nbsp; As we get time, one of us will try and build out a nice document like you can find in my original post.&amp;nbsp; But we tend to be pretty busy out there working with you fine folks face-to-face.&amp;nbsp; I hope this will tide you over until then.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5025282" width="1" height="1"&gt;</content><author><name>stevenro</name><uri>http://blogs.msdn.com/members/stevenro.aspx</uri></author><category term="WSS v3" scheme="http://blogs.msdn.com/stevenro/archive/tags/WSS+v3/default.aspx" /><category term="MOSS 2007" scheme="http://blogs.msdn.com/stevenro/archive/tags/MOSS+2007/default.aspx" /></entry><entry><title>Import/Export and New Content Databases</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/stevenro/archive/2007/09/19/import-export-and-new-content-databases.aspx" /><id>http://blogs.msdn.com/stevenro/archive/2007/09/19/import-export-and-new-content-databases.aspx</id><published>2007-09-19T08:03:00Z</published><updated>2007-09-19T08:03:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Earlier this evening, there was a discussion on an internal discussion list about the best way to cut a subsite out of a site collection and make it into a separate site collection in a separate database.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We went back and forth and I finally suggested an option using STSADM from the command line.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Now you need to understand that while this seems to work like a charm in WSSv3 (and for the purposes of this blog I will not be talking about WSSv2 or SPS 2003), there are some pitfalls to doing this in MOSS.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The main one being that this has been known to break some webs that utilize the collaboration portal or publishing portal templates (or templates created from them).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;But for your regular run-of-the-mill team sites and such, this should work like a charm.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Your first step is to have a subsite.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We will say that we have a subsite located at &lt;/FONT&gt;&lt;A href="http://server/mysubsite" mce_href="http://server/mysubsite"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#0000ff size=3&gt;http://server/mysubsite&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt; that we want to make into a site collection located at &lt;/FONT&gt;&lt;A href="http://server/mynewcollection" mce_href="http://server/mynewcollection"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#0000ff size=3&gt;http://server/mynewcollection&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt; in a separate database.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We would start by exporting out the site collection to a file as such:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt;stsadm.exe –o export –url http://server/mysubsite -filename mysubsite.bak –includeusersecurity&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=arial,helvetica,sans-serif&gt;Now why would we want to create a site collection in a new database?&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Well…it seems that Microsoft recommends that you try to keep your content databases under 25GB if possible.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We recommend this for various reasons to include ease of backup and being able to maintain separate SLAs (service level agreements) for differing site collections (say HR or marketing).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Do we want hundreds of separate content databases? &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;No…of course not.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;But if possible, group like collections into separate databases (say IT collections or HR collections) for ease of maintenance later.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Since we don’t want to use the normal convention of &lt;/FONT&gt;&lt;A href="http://server/sites/sitecollection" mce_href="http://server/sites/sitecollection"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#0000ff size=3&gt;http://server/sites/sitecollection&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;, we are going to need to add a managed path.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We can do that through the GUI or via command line as such:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt;stsadm.exe –o addpath –url &lt;/FONT&gt;&lt;A href="http://servername/mynewcollection" mce_href="http://servername/mynewcollection"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt;http://servername/mynewcollection&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt; -type explicitinclusion&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;We make this an explicit inclusion because we want to put the new collection directly at this point.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If we created it as a wildcard inclusion, then it would be like the /sites/ that we normally use.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;So you could optionally create a wildcard inclusion for IT and the URLs would stem off as in &lt;/FONT&gt;&lt;A href="http://server/IT/sitename" mce_href="http://server/IT/sitename"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#0000ff size=3&gt;http://server/IT/sitename&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Now we have to create the new site collection in the new database.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We do this to make a placeholder.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If we didn’t, then there would be nothing to import to in the final step.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;At this point, we really don’t need to add a lot of fluff.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Just do the basics.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt;stsadm.exe –o createsiteinnewdb –url &lt;/FONT&gt;&lt;A href="http://server/mynewcollection" mce_href="http://server/mynewcollection"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt;http://server/mynewcollection&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt; -owneremail &lt;/FONT&gt;&lt;A href="mailto:portal@server.com" mce_href="mailto:portal@server.com"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt;portal@server.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt; –ownerlogin DOMAIN\username&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;This gets us most of the way there.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If you wanted to get fancy, you can always look at the syntax of the createsiteinnewdb option and notice that you could specify the database server, username and even the database name.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This could come in handy if you are a bit anal about your naming conventions like I am.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I like to see all of my content databases named as Content_xxx so they are grouped together for easy maintenance.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Our container is ready and all we have to do in import our backed up subsite into the new site collection.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt;stsadm.exe –o import –url &lt;/FONT&gt;&lt;A href="http://server/mynewcollection" mce_href="http://server/mynewcollection"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt;http://server/mynewcollection&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif color=#cc0000&gt; -filename mysubsite.bak –includeusersecurity&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Once this has been complete, you should be able to browse out to the new site collection.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This could also be converted into a batch file or a VBScript in a pinch.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;For some of the syntax and an example of how to write a parameterized script, please see my last blog post.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;There is a zip file at the end that has a lot of batch files and a script that will get you on your way.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;And if that seems too difficult, you can always send me a note and I will try and help out as best as I can.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;If you are trying to get the collaboration portal or publishing portal templates to export/import correctly, you should look at a post located at &lt;/FONT&gt;&lt;A href="http://stsadm.blogspot.com/2007/09/convert-sub-site-to-site-collection.html" mce_href="http://stsadm.blogspot.com/2007/09/convert-sub-site-to-site-collection.html"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;http://stsadm.blogspot.com/2007/09/convert-sub-site-to-site-collection.html&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt; to see how he did it.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;One word of caution though.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The way he does it actually touches the database.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This particular method is not recommended by Microsoft and may put you in an unsupportable state.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I refer you to this post to see possible ways of doing something similar for education purposes only.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4992577" width="1" height="1"&gt;</content><author><name>stevenro</name><uri>http://blogs.msdn.com/members/stevenro.aspx</uri></author><category term="WSS v3" scheme="http://blogs.msdn.com/stevenro/archive/tags/WSS+v3/default.aspx" /><category term="MOSS 2007" scheme="http://blogs.msdn.com/stevenro/archive/tags/MOSS+2007/default.aspx" /></entry><entry><title>Recursive Backup and Recovery in SharePoint</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/stevenro/archive/2007/03/17/recursive-backup-and-recovery-in-sharepoint.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="664115" href="http://blogs.msdn.com/stevenro/attachment/1898591.ashx" /><id>http://blogs.msdn.com/stevenro/archive/2007/03/17/recursive-backup-and-recovery-in-sharepoint.aspx</id><published>2007-03-17T09:01:00Z</published><updated>2007-03-17T09:01:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=arial,helvetica,sans-serif&gt;OK boys and girls.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It is time for a post that is more on topic than I have been lately.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Today’s story actually stems from an internal discussion between several of us Premier Field Engineers who specialize in SharePoint.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We were having a discussion on the best way to perform site collection backups in a more automated fashion.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;One of my buddies (shout out to JC) had a VBScript (don’t know where he got it) that automated the process, but the script was broke and needed a little TLC.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;It was actually a very simple concept.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Enumerate the sites out to XML (you can do that via STSADM) and then loop through the XML to grab a backup of each site collection.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Since there was a limitation in STSADM that it didn’t automatically lock the site prior to backup, we were originally using a Keith Richie tool called SPLSBackup.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Because the STSADM in MOSS does perform locks, I switched over to the native tool for the newer version.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;At the end of this post I will have a zip file that contains all of the files for both 2003 and 2007.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;The final part of this script would only launch a certain number of processes at a time.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This could be set in the script to your whim.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Then the script would loop through and launch that many processes.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It would then wait until a process completed and launch another.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;In this fashion, it would move through all the site collections until finished.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Throw in a little logging and you have a pretty usable script that you can run as needed to perform site collection level backups.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Now on to the good stuff.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;To best show how all of this works, I have built a couple of demo batch files.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;A quick not about setup though.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I usually have a clean install of MOSS when I go onsite to demo this to customers.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;These batch files that I include are just there to get the demo running and clean it up afterwards.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;So use in the wild may be different than demonstrated.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Don’t say I didn’t warn you!&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Part of the first batch file I &lt;S style="text-line-through: double"&gt;stole&lt;/S&gt; repurposed from a demo that Mr. Geoffrey Edge gave at TechReady 4 earlier this year.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It is a quick batch file that uses STSADM to create a site collection and a bunch of nested webs underneath.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I added in a couple more site collections as well.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;A separate batch file in the zip will also create the same collections each in a separate content database.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif size=2&gt;stsadm.exe -o createsite -url http://portal/sites/css -title "Customer Service &amp;amp; Support" -sitetemplate STS -ownerlogin domain\user -owneremail &lt;/FONT&gt;&lt;/SPAN&gt;&lt;A href="mailto:user@domain.com" mce_href="mailto:user@domain.com"&gt;&lt;SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#0000ff size=2&gt;user@domain.com&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;BR&gt;&lt;FONT face=arial,helvetica,sans-serif&gt;&lt;FONT size=2&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR&gt;stsadm.exe -o createweb -url http:// portal /sites/css/account -title "Accounts" -sitetemplate STS&lt;BR&gt;stsadm.exe -o createweb -url http:// portal /sites/css/account/setup -title "Account Setup" -sitetemplate STS&lt;BR&gt;stsadm.exe -o createweb -url http:// portal /sites/css/account/changes -title "Account Changes" -sitetemplate STS&lt;BR&gt;stsadm.exe -o createweb -url http:// portal /sites/css/account/addresschanges -title "Address &amp;amp; Billing Changes" -sitetemplate STS&lt;BR&gt;stsadm.exe -o createweb -url http:// portal /sites/css/account/servicechanges -title "Service Changes" -sitetemplate STS&lt;BR&gt;stsadm.exe -o createweb -url http:// portal /sites/css/account/namechanges -title "Name Changes" -sitetemplate STS&lt;BR&gt;stsadm.exe -o createweb -url http:// portal /sites/css/account/statements -title "Statement Changes" -sitetemplate STS&lt;BR&gt;stsadm.exe -o createweb -url http:// portal /sites/css/account/taxes -title "Taxes" -sitetemplate STS&lt;BR&gt;stsadm.exe -o createweb -url http:// portal /sites/css/account/billingdetails -title "Billing Statement Details" -sitetemplate STS&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Once this is done, you can alter the VBScript as needed for your environment.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Listed below are the main items that will need to be altered.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif size=2&gt;Const STSADM_PATH = "C:\path_to_stsadm\stsadm"&lt;BR&gt;Const STSADM_LOGPATH = "C:\path_to_where_you_want_your_logs_to_go\"&lt;BR&gt;Const STSADM_BAKPATH = "C:\ path_to_where_you_want_your_backup_files_to_go \"&lt;BR&gt;Const STSADM_LOGFILE = "LogFileName.txt"&lt;BR&gt;Const STSADM_XMLFILE = "XMLFileName.txt"&lt;BR&gt;Const STSADM_PORTAL_URL = &lt;/FONT&gt;&lt;/SPAN&gt;&lt;A href="http://portalurl/" mce_href="http://portalurl/"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif size=2&gt;http://portalURL/&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;BR&gt;&lt;FONT face=arial,helvetica,sans-serif&gt;&lt;FONT size=2&gt;Const NUM_BACKUP_PROCESSES = 4&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Now you can run the VBScript and sit back to see what happens.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If all goes as planned, you should have a directory full of backup files for later use as well as an XML file (the output of the site enumeration we used in our loop) and a log file.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The log file should look something like this:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif&gt;&lt;FONT size=2&gt;3/14/2007 12:37:18 PM: Begin backup&lt;BR&gt;3/14/2007 12:37:20 PM: Enum Sites&lt;BR&gt;3/14/2007 12:37:20 PM: Wrote XML&lt;BR&gt;3/14/2007 12:37:20 PM: Read XML into DOM&lt;BR&gt;3/14/2007 12:37:20 PM: Executing Command 'stsadm -o backup -url "http://portal" -filename "C:\backups\portal.bak"'&lt;BR&gt;3/14/2007 12:37:20 PM: Executing Command 'stsadm -o backup -url "http://portal/sites/css" -filename "C:\backups\portal_sites_css.bak"'&lt;BR&gt;3/14/2007 12:37:20 PM: Executing Command 'stsadm -o backup -url "http://portal/sites/hr" -filename "C:\backups\portal_sites_hr.bak"'&lt;BR&gt;3/14/2007 12:37:20 PM: Executing Command 'stsadm -o backup -url "http://portal/sites/it" -filename "C:\backups\portal_sites_it.bak"'&lt;BR&gt;3/14/2007 12:37:22 PM: Waiting for command to execute and complete&lt;BR&gt;3/14/2007 12:37:23 PM: Waiting for command to execute and complete&lt;BR&gt;3/14/2007 12:37:25 PM: Waiting for command to execute and complete&lt;BR&gt;3/14/2007 12:37:26 PM: Waiting for command to execute and complete&lt;BR&gt;3/14/2007 12:37:27 PM: Waiting for command to execute and complete&lt;BR&gt;3/14/2007 12:37:28 PM: Waiting for command to execute and complete&lt;BR&gt;3/14/2007 12:37:32 PM: Waiting for command to execute and complete&lt;BR&gt;3/14/2007 12:37:33 PM: Waiting for command to execute and complete&lt;BR&gt;3/14/2007 12:37:33 PM: Found Open Slot:&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;g_intOpenProcessSlot is 1&lt;BR&gt;3/14/2007 12:37:33 PM: Executing Command 'stsadm -o backup -url "http://portal/sites/sales" -filename "C:\backups\portal_sites_sales.bak"'&lt;BR&gt;3/14/2007 12:37:33 PM: g_intTotalProcessesLaunched is 5&lt;BR&gt;3/14/2007 12:37:34 PM: Waiting for command to execute and complete&lt;BR&gt;3/14/2007 12:37:34 PM: Found Open Slot:&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;g_intOpenProcessSlot is 3&lt;BR&gt;3/14/2007 12:37:34 PM: Found Open Slot:&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;g_intOpenProcessSlot is 2&lt;BR&gt;3/14/2007 12:37:34 PM: Executing Command 'stsadm -o backup -url "http://portal/sites/marketing" -filename "C:\backups\portal_sites_marketing.bak"'&lt;BR&gt;3/14/2007 12:37:34 PM: g_intTotalProcessesLaunched is 6&lt;BR&gt;3/14/2007 12:37:34 PM: Backup of portal site collections complete&lt;BR&gt;Total Backup Processes:&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;6&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Now that you have some backup files, what can you do with them?&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The main possibilities come in 2 flavors.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This first is recovery of a whole site collection.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Let’s say that one of your junior SharePoint admins accidentally typed in the following command:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif size=2&gt;stsadm –o deletesite –url &lt;/FONT&gt;&lt;/SPAN&gt;&lt;A href="http://portal/sites/css" mce_href="http://portal/sites/css"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif size=2&gt;http://portal/sites/css&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;At this point, the recycle-bin is useless to you as you can’t recover site collections from it.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;What do you do?&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;You start by deciding on a mean enough punishment for the bad admin.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It should include some form of shame and ridicule enough to get the point across.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Maybe a rolled up newspaper comes into play along with the words “Bad junior admin!!”&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Once that is done, you can reach into your backup directory and pull out this command:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif size=2&gt;stsadm –o restore –url &lt;/FONT&gt;&lt;/SPAN&gt;&lt;A href="http://portal/sites/css" mce_href="http://portal/sites/css"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif size=2&gt;http://portal/sites/css&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif&gt;&lt;FONT size=2&gt; -filename portal_sites_css.bak&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Another flavor is if someone needs to recover something from a site, sub-site or list that is no longer in the recycle-bin or for some reason can’t be properly recovered.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I will often build a separate web application within MOSS (or on another server if you wish) that I use for recovery.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;You can then run the same script as above except on the other application/server.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;My recovery web application is usually hidden and uses a non-standard port (I like to use 1130 since it is the anniversary of the day my wife really took over my life (love ya honey!)&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;So the command would be:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif size=2&gt;stsadm –o restore –url &lt;/FONT&gt;&lt;/SPAN&gt;&lt;A href="http://portal:1130/sites/css" mce_href="http://portal:1130/sites/css"&gt;&lt;SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#0000ff size=2&gt;http://portal:1130/sites/css&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: red; LINE-HEIGHT: 115%"&gt;&lt;FONT face=arial,helvetica,sans-serif&gt;&lt;FONT size=2&gt; -filename portal_sites_css.bak&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;There are probably other tricks that you can do from here depending on your abilities and how far you want to automate this.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;My colleagues who use PowerShell may have additional comments on this, but that is another topic way off my current beaten path (“Bad PowerShell junkies!!”)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;I have delivered this little demo to 3 customers so far and as far as I know, 2 of the 3 have added this bit of flair to their kit bag.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This is a great thing to be able to automate.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;My only word of caution here deals with the limitations of STSADM backups in SharePoint 2003.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;You should read this link (&lt;/FONT&gt;&lt;A href="http://support.microsoft.com/default.aspx/kb/889236/en-us" mce_href="http://support.microsoft.com/default.aspx/kb/889236/en-us"&gt;&lt;FONT face=arial,helvetica,sans-serif color=#0000ff size=3&gt;http://support.microsoft.com/default.aspx/kb/889236/en-us&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;) on the subject.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This is the reason that in 2003 we used SPLSBackup as mentioned earlier.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This file is included with the 2003 zip file.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;I hope this post is helpful to you.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If you have questions or comments, you can add them to the end of this post and I will do what I can to get you answers.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;And to my friends in California who asked for this post to be written sooner rather than later (you know who you are), here it is.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Until our paths cross again!&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Cheers.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1898591" width="1" height="1"&gt;</content><author><name>stevenro</name><uri>http://blogs.msdn.com/members/stevenro.aspx</uri></author><category term="SPS 2003" scheme="http://blogs.msdn.com/stevenro/archive/tags/SPS+2003/default.aspx" /><category term="WSS v2" scheme="http://blogs.msdn.com/stevenro/archive/tags/WSS+v2/default.aspx" /><category term="WSS v3" scheme="http://blogs.msdn.com/stevenro/archive/tags/WSS+v3/default.aspx" /><category term="MOSS 2007" scheme="http://blogs.msdn.com/stevenro/archive/tags/MOSS+2007/default.aspx" /></entry><entry><title>"What we have here is failure to communicate!"</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/stevenro/archive/2007/03/09/what-we-have-here-is-failure-to-communicate.aspx" /><id>http://blogs.msdn.com/stevenro/archive/2007/03/09/what-we-have-here-is-failure-to-communicate.aspx</id><published>2007-03-09T22:45:00Z</published><updated>2007-03-09T22:45:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;As I stated in my last post (wow...over a month ago already?), I would like to talk about communication between departments for a moment.&amp;nbsp; I know this gets away from SharePoint a bit, but is very important and does affect many SharePoint shops.&amp;nbsp; I see a lot of companies who have split out their departments.&amp;nbsp; They have seperate systems, database, and development departments or groups who all work on the same systems in different capacities.&amp;nbsp; When this happens, politics and bureaucracy conspire to break down communications between these groups.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;A case and point of this is where I was recently on site with a company who was migrating their SharePoint 2003 farm over to MOSS 2007.&amp;nbsp; The group who owned SharePoint was responsible for admin and development of the SPS environment, but had to go through the DBA group to create new databases and manage backups.&amp;nbsp; They had to go through the systems folks to work access and patches.&amp;nbsp; The systems group also had a corporate policy for doing their patch management.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Because the company is so large and has so many servers, they patched by groupings of racks.&amp;nbsp; They listed on a bulletin board what servers were being patched and when.&amp;nbsp; Not only is this inefficient, it puts the responsibility of looking for patch schedules on the SharePoint admins.&amp;nbsp; While I was on site with them, the systems folks patched their servers, which triggered some weirdness with the database, which impacted the SharePoint migration testing on the day of migration.&amp;nbsp; Not good.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;My point here is that because nobody was talking, bad things happened.&amp;nbsp; This led to additional time and frustration trying to get everything sorted.&amp;nbsp; And since the systems folks were so isolated from other teams in this case, added stress was caused as the migration rolled on.&amp;nbsp; So it is very important that if you do have disjointed and uncommunicative departments of this nature, you should appoint someone (or a committee) that can act as the central communications hub and will facilitate getting the necessary coordination.&amp;nbsp; If this isn't done, many long nights and some marathon internet sessions searchin Monster.com may insue. Cheers.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1846965" width="1" height="1"&gt;</content><author><name>stevenro</name><uri>http://blogs.msdn.com/members/stevenro.aspx</uri></author><category term="Process" scheme="http://blogs.msdn.com/stevenro/archive/tags/Process/default.aspx" /></entry><entry><title>A Lesson in General Security</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/stevenro/archive/2007/02/01/a-lesson-in-general-security.aspx" /><id>http://blogs.msdn.com/stevenro/archive/2007/02/01/a-lesson-in-general-security.aspx</id><published>2007-02-01T09:12:00Z</published><updated>2007-02-01T09:12:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;In case anyone has noticed, it has been over a month since my last post.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I didn’t do this on purpose, but have been on the road pretty extensively lately.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;As it turns out, I have witnessed some very cool things (MOSS 2007 is really growing on me) and some not so cool things.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;As I see the latter, I try to temper my gut reaction with the understanding of what it can be like to be an administrator in a world where corporate logic and funding are not always moving in positive directions.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;My mama (probably like most everyone else’s) told me once not to jump to conclusions about a person until I have walked awhile in their shoes.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Well mom (I don’t think she reads my blog), I have been there and walked that walk, so now I am gonna talk that talk.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;A couple of weeks ago I visited a customer site and spoke with an admin who was probably a bit overwhelmed to be doing the job that she should have been better trained for.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;A little downsizing had placed a SPS 2003 server farm in her hands with very little documentation.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;So the powers that be in her organization called us in and we took a drive out to see them.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Once onsite we found that while there were several issues.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;One of the issues was the separation of job responsibilities between departments who don’t communicate.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I will save this particular issue for my next post.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=arial,helvetica,sans-serif&gt;The main issue I wanted to talk about is security.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Once we started diving into the issues at hand, we determined that we needed administration rights to run some of the tools that would provide us with a prognosis of the health of the farm.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We found several things upon asking for this level of access.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;First, everything was running under a single service account.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;While this is not always a bad thing, someone (preferably the server admin) should at least know the password to the account.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Within SharePoint, this account is what has access to the database, runs the application pools, manages the content, runs search and indexing and performs all of the scheduled jobs within the farm (if you are only using one account).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Our administrator’s personal account did not have the permissions we needed either.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Even though she was a server admin, she didn’t have the appropriate permissions the tools needed to access the database.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Second, their only Active Directory administrator was out of the office for another week.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I am sure that I shouldn’t have to lecture anyone on the need for redundancy.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;There should never be just one domain admin who can create AD accounts.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Risk mitigation (aka Disaster Recovery) always tells us to have a backup.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Third, we were unable to get a hold of the DBA(s) in order to get the necessary permissions.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;They seemed to be unavailable or uncommunicative.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This is one of the communications issues I alluded to earlier.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=arial,helvetica,sans-serif&gt;To make a long story shorter, we were able to get around the whole security issue by adding our commands to a scheduled script file they were using to perform backups of their sites.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It took us exploiting their security to make our tools work.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This should not happen this way.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I strongly encourage anyone reading this blog to take a good look at how you manage the knowledge/storage of service account passwords.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;At my last job, we had them printed and placed in a sealed envelope in a safe that only a select few had access to.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If someone left the company who had access, we went through the process of changing the password and updating the stored version.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;If you don’t already know what all it would take to update WSS/SPS with a new service account password, please take a look at the link below.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Together we can not only ensure our SharePoint environments stay secure, but also that we can get to the data we need when we need it.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Cheers.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;A href="http://support.microsoft.com/kb/837813/en-us" mce_href="http://support.microsoft.com/kb/837813/en-us"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;http://support.microsoft.com/kb/837813/en-us&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1570359" width="1" height="1"&gt;</content><author><name>stevenro</name><uri>http://blogs.msdn.com/members/stevenro.aspx</uri></author><category term="SPS 2003" scheme="http://blogs.msdn.com/stevenro/archive/tags/SPS+2003/default.aspx" /></entry><entry><title>Planning? We don't need no stinkin' planning...do we?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/stevenro/archive/2006/12/19/planning-we-don-t-need-no-stinkin-planning-do-we.aspx" /><id>http://blogs.msdn.com/stevenro/archive/2006/12/19/planning-we-don-t-need-no-stinkin-planning-do-we.aspx</id><published>2006-12-19T09:07:00Z</published><updated>2006-12-19T09:07:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;In the past&amp;nbsp;3 weeks, I have visited several customer sites.&amp;nbsp; All four of these visits involved discussions on upgrading from WSSv2/SPS to WSSv3/MOSS.&amp;nbsp; That being said, I saw 4 very different environments and 2 major methods of thought about planning their upgrades.&amp;nbsp; The first method is to take a step back and plan out the upgrade.&amp;nbsp; The second is to just do the upgrade with limited or no planning and pray it works.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;One of these customers used method #1.&amp;nbsp; They are currently using WSSv2 with no SPS implementation.&amp;nbsp; Still, they are working on a solid migration strategy that includes 1-2 months worth of planning and testing before actually jumping the fence and making the move.&amp;nbsp; This is not only the smartest way of preparing for the move, but the Microsoft recommended method.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Another customer wants to use method #2.&amp;nbsp; Limited testing and almost no plan.&amp;nbsp; Since their environment is larger and includes much more customization/branding, this is a really easy way to spike blood pressure and cause massive amounts of overtime.&amp;nbsp; The one thing they have going for them is that they are also trying to migrate to new hardware at the same time.&amp;nbsp; At least there will be a rollback strategy if things go south in the process.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Do I ever condone method #2?&amp;nbsp; Very rarely (but yes).&amp;nbsp; Take my first customer above.&amp;nbsp; They have a very limited architecture, small content databases and almost no deviations from "out of the box".&amp;nbsp; They could easily restore their environment into a virtual machine and run a test to see if anything breaks.&amp;nbsp; Most likely it won't and they are fine.&amp;nbsp; But it still wouldn't address any of the reasons they are moving to MOSS.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Moving from SPS to MOSS allows an organization to take a step back and look at what they have.&amp;nbsp; They can determine what is good and bad in their current implementation and then channel what they want to keep across to the new system.&amp;nbsp; They can rethink their topology (or taxonomy) and determine if there is a better way to do it.&amp;nbsp; This allows for change that can benefit the organization and allow MOSS to increase productivity and usher in cool new features instead of carrying over some of the things that may be holding you back right now.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;So...what is the moral of my blog here today?&amp;nbsp; Plan, test, plan, test and test again.&amp;nbsp; And as you test, make sure you take detailed notes of what breaks and how you fix it.&amp;nbsp; Keep this handy and build a checklist from your lessons learned in testing.&amp;nbsp; This will allow you to perform as smooth an upgrade as possible and make you a hero...or at least not stroke out in the data center at 1AM due to crashing SharePoint servers.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Happy travels...&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1323135" width="1" height="1"&gt;</content><author><name>stevenro</name><uri>http://blogs.msdn.com/members/stevenro.aspx</uri></author><category term="SPS 2003" scheme="http://blogs.msdn.com/stevenro/archive/tags/SPS+2003/default.aspx" /><category term="WSS v2" scheme="http://blogs.msdn.com/stevenro/archive/tags/WSS+v2/default.aspx" /><category term="WSS v3" scheme="http://blogs.msdn.com/stevenro/archive/tags/WSS+v3/default.aspx" /><category term="MOSS 2007" scheme="http://blogs.msdn.com/stevenro/archive/tags/MOSS+2007/default.aspx" /></entry><entry><title>It's a Migration Thing...</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/stevenro/archive/2006/12/09/it-s-a-migration-thing.aspx" /><link rel="enclosure" type="application/msword" length="441344" href="http://blogs.msdn.com/stevenro/attachment/1249269.ashx" /><id>http://blogs.msdn.com/stevenro/archive/2006/12/09/it-s-a-migration-thing.aspx</id><published>2006-12-10T05:11:00Z</published><updated>2006-12-10T05:11:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;I was recently working with a customer in North Carolina.&amp;nbsp; They were in the process of upgrading the hardware that was running their SharePoint 2003 farm.&amp;nbsp; Part of what they wanted to accomplish was to move from a SQL 2000 cluster for their backend to a SQL 2005 cluster.&amp;nbsp; This included not only the backup and restore of the databases, but the reconfiguring of their portal farm and all the servers in it.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;The problem arose when we tried to get a good set of instructions on how to do this.&amp;nbsp; I&amp;nbsp;searched the internet and spoke with many colleagues before I finally got the steps right.&amp;nbsp; But the information I got was very rough and not as detailed as I wanted.&amp;nbsp; So I built out a document that walks you through the process.&amp;nbsp; In this document, you will get a basic plan on backing up and restoring your SPS/WSS databases.&amp;nbsp; Since the process may be different based on the backup/restore process of each company, I left that up to you.&amp;nbsp; But I did provide a step-by-step walk-through of how to tell SharePoint that the databases are somewhere else.&amp;nbsp; This includes screen shots and should provide a good guide.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Something to note before you start this.&amp;nbsp; You should be on Service Pack 2 of WSS and SPS before migrating over to SQL 2005.&amp;nbsp; I also recommend that you have all the latest hot fixes available for SPS/WSS before starting this process.&amp;nbsp; That being said, open the attached document and see what happens.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Until the next time, I wish you happy travels.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1249269" width="1" height="1"&gt;</content><author><name>stevenro</name><uri>http://blogs.msdn.com/members/stevenro.aspx</uri></author><category term="SPS 2003" scheme="http://blogs.msdn.com/stevenro/archive/tags/SPS+2003/default.aspx" /><category term="WSS v2" scheme="http://blogs.msdn.com/stevenro/archive/tags/WSS+v2/default.aspx" /></entry><entry><title>A New Beginning</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/stevenro/archive/2006/12/09/a-new-beginning.aspx" /><id>http://blogs.msdn.com/stevenro/archive/2006/12/09/a-new-beginning.aspx</id><published>2006-12-09T12:30:00Z</published><updated>2006-12-09T12:30:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Howdy there y'all.&amp;nbsp; My name is Steven Roe and I am a Field Engineer for Microsoft.&amp;nbsp; My specialty (as you may be able to tell from the blogspace's title) is SharePoint.&amp;nbsp; That being said, in my job I travel around a lot working with customers in both proactive and reactive capacities.&amp;nbsp; While I am onsite, I get various questions and see many different ways of using this technology.&amp;nbsp; What I would like to do with this space is take these experiences and provide them back to the community.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;&amp;nbsp;As I find new and interesting nuggets of information, I think it best serves the community at large if we can get it back out to others who may be facing the same obstacles.&amp;nbsp; I have learned so much by reading the blogs of folks like &lt;/FONT&gt;&lt;A class="" href="http://blogs.msdn.com/krichie" mce_href="http://blogs.msdn.com/krichie"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Keith Richie&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt; and &lt;/FONT&gt;&lt;A class="" href="http://blogs.msdn.com/joelo" mce_href="http://blogs.msdn.com/joelo"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Joel Oleson&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;.&amp;nbsp; By giving back these experiences, we can all prosper and move forward.&amp;nbsp; So I will endeavor to add at least one post a week (we field folks get very busy) and hope you will comment and provide additional feedback to me.&amp;nbsp; Feel free to drop me a note and let me know what you think.&amp;nbsp; I may even throw in some of my feelings about the XBox 360 and my new Zune while I am at it to give a change of pace.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;&amp;nbsp;See you on the road!&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1243307" width="1" height="1"&gt;</content><author><name>stevenro</name><uri>http://blogs.msdn.com/members/stevenro.aspx</uri></author></entry></feed>