MigrationFox Docs

Google Drive to SharePoint migration: what could go wrong and how we handle it

A cross-cloud migration is a long-running job against two APIs you don't control, and both of them rate-limit. This page walks through what MigrationFox checks before it copies anything, what it retries on its own, what it skips on purpose, and what to watch on the job page while it runs.

Illustrative example, not real customer data. Retry lines in the log are normal on a large job.

WHAT YOU'LL SEE

A healthy run is defined by Failed staying at or near zero, not by a log with no retries. Rate-limit and retry lines in the log mean an API asked MigrationFox to slow down and it did. Look closer when the Failed count starts climbing.

Pre-flight checks (before files are copied)

Several checks run before the first file moves, so a broken setup fails early with one clear message instead of thousands of per-file errors.

What fails mid-run and how MigrationFox retries

Most "my migration stalled" moments are not credentials or disk space. They are transient rate limits, server errors and dropped connections that would look like failures if nothing retried them. How each one is handled:

SymptomWhat happensWhen you'd see it
Google Drive 429, or 403 "rate limit exceeded"The call is retried with exponential backoff and jitter. When Google sends a Retry-After header, MigrationFox waits that long. A 403 that is a real permission error is not retried.Common on large jobs. Google enforces per-user and per-project quotas.
SharePoint / Microsoft Graph 429MigrationFox honors Retry-After. It also reads Microsoft's rate-limit headers and slows every transfer to that tenant before the budget runs out, not only after a 429.Large jobs, or several jobs writing to the same tenant at once.
5xx errors, timeouts, connection resetsRetried with backoff. Treated as transient.Expected now and then on any multi-GB job.
Download stops partway through a fileThe download resumes with a Range request from the last byte received instead of starting over.Long downloads of large files.
Downloaded bytes don't match Google's size or MD5 checksumThe file is downloaded again. If that still fails, MigrationFox downloads a fresh copy of the file made in Drive, which avoids a stale cached version. If the content still doesn't match after all retries, the file is marked Skipped with the reason, not uploaded short.Rare. Mostly large video and photo files, where Google sometimes serves a re-encoded version.
A file keeps failingEach file gets up to 5 attempts by default before it is marked Failed with its error.Persistent problems with one file.
The job fails, or finishes with some failed files, on mostly transient errorsIf most failed files show throttling, timeout, network or server errors, the failed files are retried automatically after 1 hour, 6 hours and 24 hours (up to 3 attempts). Files that already copied are not copied or charged again. You can click Retry failed at any time instead.Long outages on either side.
Access token expiryTokens are refreshed automatically during the run.Any run longer than about an hour.

TIP

Rate-limit and retry lines piling up in the log of a big job are not a problem. That is how the backoff protects the run. The numbers to watch are Failed and Skipped, and the reason shown for each skipped file.

Reliability scenarios MigrationFox handles automatically

Piping bytes from Google Drive to SharePoint looks simple: a download stream on one side, a chunked upload session on the other. A few behaviors of the underlying APIs can truncate or stall a transfer if the pipeline is naive. This is how MigrationFox deals with each one.

Compressed or re-encoded source streams

Google Drive can serve files with HTTP compression, and the media endpoint sometimes serves a re-encoded copy of a media file while reporting the original size. A pipeline that trusts the response headers can declare the wrong total to SharePoint and see the upload end short, at roughly 90–99% of the file.

MigrationFox requests uncompressed bytes (Accept-Encoding: identity), reads the file's size and MD5 checksum from Google's file metadata before downloading, and uses those as the truth. The downloaded bytes are checked against them.

Large files that drop mid-stream

Long downloads of large files (video, design archives, backups) occasionally lose their connection. Instead of restarting the file, MigrationFox resumes the download with a Range request from the last byte it received. Each time the download makes progress, its retry budget resets, so a long but healthy transfer isn't cut off.

Destination-side throttling at scale

Microsoft enforces a request budget per app and per tenant. MigrationFox honors Retry-After and also watches the rate-limit headers Microsoft sends as a tenant approaches its budget. When those show the budget running low, every transfer to that tenant pauses briefly, so the whole job slows down together instead of each file running into 429 errors on its own. Parallel uploads to SharePoint are kept deliberately low by default, because earning a throttle response costs more time than leaving a few slots unused.

SharePoint upload sessions

Files up to 4 MB upload in a single request. Larger files use SharePoint's resumable upload session in 10 MB chunks. SharePoint fixes the file's total size when the session starts, so MigrationFox declares the size from Google's metadata (see above) rather than from the download headers. That keeps the declared size and the bytes sent in agreement.

Customer-visible effect

These scenarios don't need you to step in. You may see retry lines in the log and a slower stretch, which is expected on large jobs. Files that still can't be copied end up as Failed or Skipped with a reason, so every file is accounted for in the report.

What gets converted, skipped or left behind

Skipped files are counted under Skipped on the job page, each with its reason.

How to check progress

Common reasons a migration slows

Throughput drops mid-run

Almost always the source quota. Google Drive enforces per-user and per-project quotas over short time windows. The first stretch of a run can look fast, then throttling starts and the backoff settles the job at whatever pace the quota allows. That pace depends on your Google Workspace and the file mix, so there is no fixed number to expect.

Long gaps in the log

Usually a single very large file. A multi-GB video can take a while to transfer, and other files keep moving in parallel. Check that the Completed count is still rising.

SharePoint returns 503 errors for a while

Microsoft 365 is under load or doing maintenance. The backoff handles it and the run recovers. If errors last long enough that files run out of retries, they end as Failed, and the job may be retried automatically later (see the table above).

When to split into multiple jobs

One job can cover a large drive, but splitting very large sources makes each run shorter and easier to check and recover.

Jobs writing to the same Microsoft 365 tenant share that tenant's request budget, so adding more parallel jobs stops helping once SharePoint starts throttling.

DON'T

Don't stop and restart a job just because it looks slow. Restarting doesn't reset Google's or Microsoft's throttling, and it adds another scan. Give it time and watch the Failed count. If it stays at or near zero, the job is fine.

What's next