SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It seems that with oob tools or using explorer view the modified/created/modifiedby/createdby information gets lost or changed to the time of copying the listitems/documents to another site collection.

Is it possible (oob or with tools) to copy a subsite or selected libraries (or even folders) from one subsite to another site collection (sp2007 and/or sp2010)?

share|improve this question

The content migration framework should be able to migrate document library while keeping the created/modified info. Since you are looking for a tool, have you already tried to use the Content Deployment Wizard by Chris O'Brien? It should work without particolar problem for simple migration, but be aware that the migration framework has some limitations (for example, feature files won't be migrated) so you may need to tweak it a little if any special requirement arise.

share|improve this answer

As far as I experienced, not full. My most successful way: Using oob feature "open in explorer". That creates a network drive. Then I moved items, copying failed.

What happened: All fields created by/ modified by etc where overwritten with my account. But: I succeeded to keep last versions and document stayed checked-in. That means: the really last version became fully new written with my comments and stuff. But the comments and authors from previous versions were kept.

It is only 90% of what you want to do, but more than all lost.

share|improve this answer
    
I remember that explorer view would be able to cut/paste metadata from a site collection to another only inside a single content database. not sure though... (this was in sp2007). in this case it might be possible to backup/restore to the same content database, and then cut/paste in explorer view. – thomius Apr 13 '12 at 15:43

For SharePoint 2010 you can take advantage of the Import-Export PowerShell cmdlets to export/import a list and keep the version history etc...

http://technet.microsoft.com/en-us/library/ee906550.aspx

share|improve this answer
    
This does not seem to preserve the created/modified information – thomius Apr 13 '12 at 14:54
    
True... I misread that you wanted to do the migration and keep the history etc... backing up the content with stsadm or using this manual operation would be the way to go... unless you use a custom solution. blog.henryong.com/2008/01/21/… – user7835 Apr 13 '12 at 21:43
up vote 8 down vote accepted

stsadm -o export -includeusersecurity seems to work actually.

Export site:

stsadm -o export -url http://sp2010/sites/sc/subsite/ -filename subsite.cmp -includeusersecurity

Export list:

stsadm -o export -url http://sp2010/sites/sc/subsite/Lists/mylist/AllItems.aspx -filename mylist.cmp -includeusersecurity

share|improve this answer
    
Yep this is a good option for sub-sites – Kit Menke Apr 13 '12 at 15:37

I can recommend Gary Lapointe's custom STSADM commands (for 2007) or the powershell cmdlets (for 2010).

I've used the gl-exportlist to export a huge SP 2007 list with a lot of people field information and it worked great. It looks like this is also a wrapper around the content deployment API.

http://blog.falchionconsulting.com/index.php/stsadmpowershell-commands/

share|improve this answer

I have tested this and it appears to have been corrected IF you use Explorer windows. I cut and pasted from my local drive to SharePoint Sites and One Drive for Business and WITH THE ONLINE SITE open in explorer. That kept the modified date intact.

I cut and pasted and copied from One Drive for Business to a SharePoint site with both open with Explorer and it kept the information.

I copied and pasted form SharePoint to SharePoint, both open in Explorer and it kept the information.

It would not let me cut and paste from SharePoint to SharePoint site, so I have to copy then delete from the target site and leave it on the destination.

Obviously way to late to help Kit, but if someone else stumbles on this problem this might help them. Just use two explorer windows.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.