Little Gotchas – 03
Today’s lesson: you’ll need help.
There’s nothing built into SharePoint Server or SharePoint Online to do a full migration for you.
Here are some of the free options.
The lowest common denominator way is to use PowerShell scripting and two mapped drives – one to the source, and one to the target. This will only copy files, and only the current version. You will lose metadata during the copy.
If you need both Lists and Libraries, with versions and metadata, you can use the Export-SPWeb and New-SPMigrationPackage cmdlets. This uploads your content to an Azure Storage account as a temporary location, so that SharePoint Online can suck it in. (http://1jj.uk/spmigpkg)
Another option is the SharePoint Migration Tool only. Today, it only handles files and Document Libraries, but supports metadata and version history. There’s also an option to use Azure Storage to speed things up. (http://1jj.uk/spmigtool)
For Content Types, Site Columns and structure, you can use the PnP PowerShell libraries from the Patterns and Practices group. Use this in conjunction with another method to migrate the List and Library content itself. (http://1jj.uk/pnppowershell)