General Bloging

Development and Stuff

About the author

Author Name is someone.
E-mail me Send mail

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010

Import export backup restore site

So just a couple of basics before we start.

  • My portal is located at http://portal.abc.local
  • I have a team site (standalone site collection) located at http://portal.abc.local/sites/hr

If I wanted to see a list of all of the site collections below my portal I can do that. The easy, out of the box way is to use stsadm.exe –o enumsites –url http://portal.abc.local

You will also notice from the screen shot that stsadm gives us more details in this version. ContentDatabase, StorageUsedMB, StorageWarningMB, and StorageMaxMB are all new pieces of information that could be handy in a pinch.

Anyway, back to the task at hand. How are we going to move HR to be part of the portal site collection? How about using stsadm.exe –o export

From the screen shot we can see at a minimum we will need to use the –url and –fliename options. So we probably want to run stsadm –o export –url http://portal.abc.local/sites/hr -filename HRsite.bak

Depending on the size of your site collection this command may run for several minutes. Once it finishes you will get a message saying Operation Completed Successful. Now we need to figure out how to get the site collection back in. To do this let's look at the command stsadm –o import

From this screen shot we can now see that we just need to do is import our previous file to a url inside our portal site collection. Something like stsadm –o import –url http://portal.abc.local/HR -filename HRsite.bak

Once again you should get a Operation Completed Successfully message. If you did then you should now be able to browse to http://portal.abc.local/sites/hr. Now don't forget to also go back and manually deleted your old site collection http://portal.abc.local/sites/hr once you are sure you have successfully moved everything. I will leave how to delete to you. It always scares me to give out instructions on deleting things because you never know who might only half way read this article and mindlessly delete something on accident. It happens!

Once you finish all of this moving around you will need to do a little navigation cleanup but nothing we can't do through site settings these days.

Shane SharePoint Help

Notes

I would just suggest that people make note of the -includeusersecurity option for both the export and import. Definitely save some headaches.

To determine whether the Stsadm.exe command-line tool was run successfully, review the Unified Logging Service (ULS) files that are located in the following folder:

Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS

 

 

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by gurney on Tuesday, December 23, 2008 3:45 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Configuring Search

"1.  After you have installed SharePoint, go under Operations, and Services on the Server.

2.  Under there, start up Office SharePoint Server Search. If you get an Error when doing this the most likly cuase is that you have to prefix the Domain in front of all user names ie

ML234APPS\Admin etc

3.  Next, setup Shared Services for that farm.

4. Go to the Shared Services Administration website, and under there go to “Search Settings” under “Search”.

5. Under Search Settings -> Manage Content sources and Crawl Schedules. You should see a “Local Office SharePoint Server sites” setup for ya. You’d think this would do it – but no.

6. Click on that link and setup a schedule for “Full Crawl” and “Incremental Crawl”. If you want – start up a full crawl after you are done setting up this schedule.

7. You can specify other search engine criterion here – URLs to exclude in search results, various rules on following links/domains etc., the content access account (make sure this isn’t administrator – and you would have set this up anyway when you setup SharePoint server search in item #2), file types etc.

That’s it. Your search is ready to rock’n’roll. Go to your site – issue a search; should work now. " From a blog at http://blah.winsmarts.com/2006-11-Implementing_search_on_a_Sharepoint_2007_installation.aspx#feedback

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by gurney on Monday, December 22, 2008 5:26 PM
Permalink | Comments (0) | Post RSSRSS comment feed