SharePoint 2010 large document library migration to SharePoint Online...


  • Hi,

    We are migrating content from SharePoint 2010 to SharePoint Online.

    We have two document libraries in team site with 33436  and 33416 documents in team site libraries.

    We have one document library with 27010 documents in Document Centre site.

    We are using following power shell command to migrate data: This command does not migrate the entire data, it just copy some data into SharePoint Online. Please let me know what the days to achieve this?

    Run on SharePoint 2010 PowerShell
    $SourUrl = "Site URL"
    $itemUrl = "Library Path"
    $path = "E:\Migration API\Sources\AuthCodeReview"
    Export-SPWeb -Identity $SourUrl -ItemUrl $itemUrl -Path $path -NoFileCompression -IncludeVersions all -Verbose

    Run this on SharePoint online PowerShell 
    $cred = get-credential
    $TargetWebUrl = "<Target SPO Site URL>"
    $TargetDocumentLibraryPath = "AuthCodeReview"
    $SourceFilesPath = "E:\Migration API\Sources\AuthCodeReview"
    $outputPackagePath = “E:\Migration API\Sources\AuthCodeReview"
    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



    Monday, February 6, 2017 6:42 AM

All replies