I suggest you ...

SharePoint 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 all documents, it just copy some data into SharePoint Online. Please let me know what are the other ways 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

Regards,

Amit

1 vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Amit ChhatbarAmit Chhatbar shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base