Migrating Clouds into other clouds
This is more reference than KB? I don’t know
We’ve been doing a lot of “I keep all of my porn and important work documents in my personal Onedrive and then just share it out, Can we do gooder?”
Yes, Sharepoint
So below is general notes, mostly it’s OneDrive into SharePoint, you should just be able to copypasta throw the website but that also fucks up if it’s more than 69 files.
I mostly use rclone, finally getting the hang of it (Claude made me some template scripts)
We’ve done a Datto, a personal OneDrive or two, A GWS and a personal Google drive. Got a massive Dropbox one coming up but there’s a tool for that in Sharepoint admin.
Insert Claude Notes Here
Four jobs, four different sources, all ending up in SharePoint. Pick the route by where the data is now.
| Source | Route | Notes |
|---|---|---|
| Dropbox | Microsoft Migration Manager (free, cloud-to-cloud) | One Dropbox team admin, no per-user logins. Planned, not run yet |
| Someone’s OneDrive | rclone pull with a Temporary Access Pass on their account, then push to SharePoint | Worked first time with an 8h TAP |
| Datto Workplace | No export. Sync it down to a NAS on a VM running the Datto client, then rclone up | WebDAV might skip the VM, untested |
| Anything on disk / NAS | rclone push straight into the library | Use the push flags below or it eats files |
Rule 1: one library, not one per team
Push everything into one library and sort it out with folders. A library per department/team multiplies the permissions work, the rclone remotes and the reconciliation, every time. Never again.
Dropbox → Migration Manager
SharePoint admin center > Migration > Dropbox.
- Sign in once as a Dropbox team admin and authorise. That gives access to every member’s and team folder.
- Scan first. It flags long paths, bad characters and oversized files.
- Map: members → their OneDrives (auto by email, or CSV). Team/shared folders → SharePoint libraries, by hand.
- Copy, then incremental passes up to cutover. Timestamps and authors are kept.
Gotchas:
- Pre-provision OneDrives. A OneDrive doesn’t exist until first sign-in:
Request-SPOPersonalSite, or get users to open OneDrive once. - Dropbox Paper docs don’t come across cleanly. Check the scan report.
- Shared folders owned by one person can show up under that member rather than as team folders. Decide where each goes.
Fallback if it won’t play: Dropbox Sign in as user (Advanced/Business Plus/Enterprise only, and the member gets notified), or transfer their files to an admin when you remove the member. Paid tools: ShareGate, AvePoint Fly, Movebot, MigrationWiz.
Someone’s OneDrive → rclone with a TAP
Global admin gets no automatic access to anyone’s OneDrive, and rclone can’t impersonate a OneDrive user. Instead of making yourself site collection admin (and wondering if the admin needs a licence):
- Issue a Temporary Access Pass on the user’s account (Entra > the user > Authentication methods).
- Authorise the rclone remote as that user with the TAP.
- Pull to staging, then push to the SharePoint library.
Size the TAP to the job. A 1-hour TAP expired partway through; an 8-hour one got through a 289 GB pull. Note on the ticket that you signed in as them. The TAP expires on its own.
Datto Workplace → VM → NAS → rclone
There’s no native export.
- Spin up a temp VM, install the Datto client, and sync to the NAS (a direct UNC path worked where a mapped drive didn’t).
- Push from the NAS with rclone.
- Datto leaves
.trash/and.cache/folders in the sync. Exclude them (below). - Version history doesn’t come across. Tell the client before cutover.
- A user can’t be removed from a Datto folder their own account owns. Plan the cutover as “unsync it on their PC” instead.
rclone push flags (or it deletes things)
SharePoint modifies Office/.msg files after upload. rclone sees the size change, decides the upload is corrupt, deletes it and retries. You end up with missing files and a library showing far more storage than the data (deleted copies + versions).
Always push with:
rclone sync /staging remote: --ignore-checksum --ignore-size --create-empty-src-dirs \
--exclude "/.trash/**" --exclude "/.cache/**" -P --log-file=push.log--create-empty-src-dirs: rclone skips empty folders by default, which loses template folder structures.- Add
--ignore-errorsonce you know the remaining errors are harmless. A single error stopssyncdoing any deletes. - After cutover, use
copy, notsync. Asyncfrom stale staging deletes users’ new work.
Check it, don’t trust it
rclone check /staging remote: --one-way --size-only --missing-on-dst missing.txt --differ differ.txt -Pmissing.txtis the one that matters. Fill gaps withrclone copy --files-from missing.txt(copy can’t delete anything).differ.txtfills up with Office/.msg files SharePoint modified. That’s expected.nameAlreadyExists: usually two names differing only in capitals, or odd characters (e.g. the narrow no-break space phones put in photo names). Drag the odd one in through the browser.- Admin centre “Storage used” includes versions and both recycle bins.
rclone size remote:gives the real figure.
After cutover
- Empty both recycle bin stages, then trim versions (
rclone cleanup remote:orNew-SPOSiteFileVersionBatchDeleteJob). Both are permanent. - Remove any library shortcuts left in people’s OneDrives from the old setup.
- On Macs, OneDrive doesn’t do Known Folder Move for Desktop/Documents the same way. Check where people actually save.