1

Hi,

On SharePoint 2010 on premise we have couple of document libraries with 32000 and 36000 documents. We have enabled 5,12 and 20 versions on these document libraries.

We were managed to migrate other sites and libraries using migration API (scripts) mentioned below. However for one site which have more than 30K documents it is migrating only 4K documents. Size of these libraries are 7,8,19, 28, 110 and 227 GB.

We would like to understand:

1. Is there a way we can migrate this data forcefully?

2. We are discovering other possible solutions. One option is to split libraries into multiple document libraries into SP 2010 and migrate it to SPO. Problem with this approach is we are losing metadata (modified by, modified date) and version history. And we need this metadata and version history. Please suggest a way to split library without losing metadata and version history.

We are using following scripts to migrate the data:

Run on SharePoint 2010 PowerShell

$SourUrl = "<>"

$itemUrl = "<>"

$path = "<>"

Export-SPWeb -Identity $SourUrl -ItemUrl $itemUrl -Path $path -NoFileCompression -IncludeVersions all -Verbose

Run this on SharePoint online PowerShell

$cred = get-credential

$TargetWebUrl = "<>"

$TargetDocumentLibraryPath = "<>"

$SourceFilesPath = "<>"

$outputPackagePath = "<>"
ConvertTo-SPOMigrationTargetedPackage –SourceFilesPath $SourceFilesPath -SourcePackagePath $SourceFilesPath -outputPackagePath $outputPackagePath -TargetWebUrl $TargetWebUrl -TargetDocumentLibraryPath $TargetDocumentLibraryPath -Credentials $cred -Verbose

Invoke-SPOMigrationEncryptUploadSubmit -SourceFilesPath $SourceFilesPath -SourcePackagePath $outputPackagePath -Credentials $cred -TargetWebUrl $targetWebUrl

Get-SPOMigrationJobStatus -TargetWebUrl $TargetWebUrl -Credentials $cred

Regards,

Amit

(Visited 53 times, 1 visits today)
Add a Comment