Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, December 9, 2011 4:49 AM
Hi,
Can anyone let me know how we move a document library from one site collection to another site collection with out using Evnet Handlers concept....
All replies (2)
Friday, December 9, 2011 4:59 AM ✅Answered | 1 vote
Hi Rajesh,
Document libraries reside on sites in SharePoint. And a site belongs to a parent SharePoint site collection.In the event that you want to move a document library in SharePoint 2010,
there are two possible situations:
1.Move a document library between sites in the same SharePoint site
collection.
2.Move a document library between sites in different SharePoint site
collections or on different servers
In both cases, if you want to move a document library, you can save the source SharePoint document library and its contents (documents) out as a List template, create a new document library based on that List template in the destination SharePoint site, and then delete the document library in the source SharePoint site.
To save the SharePoint document library and its contents as a list template:
1.Navigate to the source SharePoint 2010 site where the document library is located.
2.**Click Library Tools > Library > Settings > Library Settings.**3.On the Document Library Settings page under Permissions and Management, click Save document library as template.
4.On the Save as Template page, enter a File name and a Template name, select the Include Content check box, and click OK.
The document template should now be present in the List templates gallery of the site collection and on the Create dialog box when you create a new document library, so you can now move on to using it to create a new document library in the destination site.
1. Move a SharePoint document library to a site in the same site collection
**
**If you are moving the document library to another SharePoint site in the same site collection:
a.Navigate to the destination SharePoint 2010 site to which you want to move the document library.
b.Click Site Actions > More Options.
c.On the Create dialog box, select Library under Filter By, select the list template for the document library you want to move, enter a name for the new document library, and click Create.
2. Move a SharePoint document library to a site in another site collection
**
**If you are moving the document library to another SharePoint site in another site collection or on another server:
•Go to the site collection of the source SharePoint site.
•Click Site Actions > Site Settings.
•On the Site Settings page under Galleries, click List templates.
•In the List Template Gallery, select the check box in front of the list template for the document library you want to move, and then click Library Tools > Documents > Copies > Download a Copy.•Save the .stp file locally on disk. If the site to which you want to move the document library is located on a different server, copy the .stp file to that server.
•Go to the site collection of the destination SharePoint site.•Click Site Actions > Site Settings.•On the Site Settings page under Galleries, click List templates.•In the List Template Gallery, click Library Tools > Documents > Upload Document.
•On the Upload Template dialog box, click Browse to and select the list template for the document library you want to move, and then click OK.
•On the List Template Gallery dialog box, enter a suitable name for the Name and Title for the list template, and click Save.
The document template is now present in the List templates gallery of the destination site collection and on the Create dialog box when you create a new document library, so you can now move on to
using it to create a new document library on the destination site.
Source: http://pravahaminfo.blogspot.com/2011/05/how-to-move-document-library-from-one.html
Satyam MCITP, MCPD
Friday, December 9, 2011 11:59 AM ✅Answered | 2 votes
Hi Rajesh,
Along with the way suggested by Satyam, you can do a granular level backup of your document library from Central Admin -> backup and restore -> Granular backup -> Export a site or list.
You can restore this backup to new web or site collection by using following command
Import-SPWeb -Identity "Web name" -Path "FilePath".
-Amol Meshe