How to Copy Document Library from One Site to Another: Quick Ways
SharePoint Online is a highly preferred cloud-based collaboration platform that permits organizations to store, organize and share information among users. One of the essential features of SharePoint Online is Document Libraries which is a collection of files and folders to be accessed by users having certain permissions. However, there are times when the users want to copy Document Library from one Site to another in SharePoint Online.
This could be due to several reasons like moving to a new SharePoint site, re-structuring the organization, migrating SharePoint Online to another Tenant, merging multiple SharePoint Sites, etc. If you also have one of such scenarios and want to know a step-by-step process for the same, then read this article. Here, we have discussed four ways to copy Document Library from One Site to Another.
Methods to Copy Document Library to another SharePoint Site
Method 1: Using SharePoint Online Modern Experience
The SharePoint Online modern experience provides quite a simple and user-friendly approach to copying Document Library data. The steps are as follows:
- Go to the Document Library of the source Site from where you want to copy the contents.
- Open that library and click on the Gear icon at the top-right corner.
- Choose the Site Contents option from the dropdown menu.
- Click on the 3 dots adjacent to the Document Library that you want to copy from one Site to another.
- Now, a “Copy to” dialog box will appear where you need to enter the Site URL where you want to copy the document.
- Choose the Document Library in the destination Site and click the “Copy” button.
The aforementioned procedure is one of the simplest ways to copy a document library to another SharePoint site. However, you cannot rely on this process entirely as it is not a feasible solution for large Document Libraries.
Method 2: Copy Document Library from One Site to Another via Classic Experience
If you are using the Classic experience, you must use the “Open with Explorer” option. The steps to transfer library are as described below:
- Go to the source Site that has Document Library to copy data from.
- Open Document Library and click on the “Library” tab.
- Click on the “Open with Explorer” option.
- Under the Windows Explorer window, paste the files and folders that you copied from the Source library.
- Finally, wait for the files to upload and sync.
You can consider this method to copy document library to another SharePoint site if you have large-size document libraries to be transferred. However, you need to have some technical expertise to get the job done.
PowerShell Script to Copy Document Library from One Site to Another
Another way of copying Document Library data to some other SharePoint site is by using PowerShell commands.
The step-by-step process for the same is as follows:
Launch PowerShell on your system and establish the connection with the SharePoint Online site. To do the same, run the following command:
Connect-PnPOnline -Url <SiteURL> -Credentials (Get-Credential)
In the above command, enter the URL of your SharePoint Site in place of the SiteURL parameter.
Once the site is connected, the next step is to download the Document Library to a local folder. In order to do that, run the following command:
Export-PnPList -Identity <LibraryName> -Path -Force
Here, replace <LibraryName> with the name of the Document Library from which you want to export your data. Additionally, enter the path of the local folder in <BackupPath> field.
Now to copy Document Library from one Site to another, use the below command to import the Document Library to destination Site.
Import-PnPList -Path <BackupPath> -DestinationUrl <DestinationSiteUrl> -Force
In the above command, replace <BackupPath> parameter with the local path where you exported the Document Library of source Site. Moreover, you need to replace <DestinationSiteUrl> parameter with the Site URL of the destination site.
Once you run the above command, you need to wait until the copy process is completed. Once completed, you will be able to access the data on the destination SharePoint site.
Method 4: Automated Tool to Copy Document Library to another Site in SharePoint Online
Considering the significance of data stored in your Document Library, it might be risky to move your data using the aforementioned procedures. Moreover, feasibility is another factor where many users look for an automated solution in place of these lengthy and time taking manual procedures. Thus, a need for a trusted and reliable solution arises and one such solution is SharePoint Online Migration Tool.
This is one of the most recommended tools by experts when it comes to migrating Document Library and Generic Lists from one Site to another. If you have any data to be migrated / copied from one Document Library to another Site, then you must try this application once. The simple user interface and advanced algorithms make the entire job effortless.
The integrated dashboard within the tool also helps users in tracking the real-time progress of the process. Moreover, there is an option of Delta Migration to copy only newly received items in the Document Library. You can also migrate SharePoint list to another site using this solution.
FAQs for Migrating Document Library to another SharePoint Site
Q. Which is the best migration approach when we want quick and error-free migration?
A. Considering your priorities, we would always recommend you go with the above stated professional solution to migrate SharePoint document library to another site. The software offers multiple advanced features and supports batch migration that makes the overall process a breeze. You get all these features without worrying about your data’s security and integrity.
Q. Will there be any impact on the metadata after copying document library to another SharePoint site?
A. No, you don’t need to worry about the metadata of your crucial data. The software makes sure that all your data is transferred while making sure that no changes are made to the metadata.
Q. What will be the impact on the permissions of document libraries after migrating them to another site?
A. There will be no impact on the permissions while you copy Document Library to another SharePoint site. Moreover, the advanced application supports permissions mapping with Source and Destination users. Thus, it makes document library migration simple for administrators.
Q. Will there be any downtime during the migration or I can use my data in document library?
A. No, one of the best features of this Document Library Migration utility is that it doesn’t bring any downtime during the migration process. This means you can access your SharePoint site data without any issues while the data is being migrated.
Read More: Get a Quick Guide for Merging Two SharePoint Sites into One
In Conclusion, copying Document Library from one Site to another is a simple process if you choose the right procedure. In the above article, we have discussed four ways to transfer Document Library i.e. via modern experience, classic experience, PowerShell commands, and a professional solution. If you have a small amount of data and have the required expertise, then you can use the manual procedures. However, going with the automated solution is the best choice as suggested by experts and administrators.