Documentation

Help for MailMigrata and the whole suite

Checksums and the hash ladder

What we compare

A green upload indicator does not prove that the file on the other side matches the file you sent. FileMigrata checks every copy anyway, because a status signal alone cannot show what actually arrived at the destination. MailMigrata hashes each file twice with SHA-256, once as the file leaves the source and again as it travels to the destination. Both of those hash values come from our own pipeline rather than from the storage provider itself, which keeps the test independent of the destination. When the copy finishes, FileMigrata compares the two values and marks the file verified only when they match. A mismatch means the file did not survive the move intact, so MailMigrata retries that transfer rather than recording a success. Checking both ends lets the same test run on every provider, including services that offer no checksum of their own. A file that arrived truncated, reordered, or damaged on the way cannot produce a matching hash, whatever the cause of that damage was. FileMigrata cannot obtain a signed receipt from the destination service, which is why our checks stop at the handover itself. Most storage services return no checksum after an upload, so our assurance rests on the whole file leaving the source and arriving intact. Where a service does publish a checksum we can trust, FileMigrata compares against that value as well. That comparison happens on the next run before copying rather than immediately after the upload, so the first run cannot use the destination checksum. If you need proof that the destination kept what it was given, run the job a second time. Where the service exposes a trustworthy checksum, that second run is where FileMigrata uses it to confirm the file.

What the destination will tell us

Before MailMigrata copies anything, FileMigrata asks a different question about whether the destination already holds this file. Answering that question requires the destination to offer a checksum we trust, and most services do not offer one. FileMigrata accepts a checksum that the destination states outright, whether the stated algorithm is MD5 or SHA-256. FileMigrata also accepts an ETag that the provider itself declares as MD5 and that is a plain 32-character hex string. Anything else counts as a label rather than as proof of what the object contains, so FileMigrata does not skip on it.

  • Amazon S3 and S3-compatible services provide an MD5 ETag for uploads sent in one piece, so FileMigrata trusts that value ahead of a transfer.
  • Google Drive states an MD5 checksum, and FileMigrata relies on that value for the same purpose as the S3 ETag.
  • OpenStack Swift publishes a checksum based on MD5, which FileMigrata verifies against before it copies anything at all.
  • Box supplies only a SHA-1 checksum, so FileMigrata cannot treat that value as proof of the file contents.
  • Dropbox exposes its own content hash, and FileMigrata regards such a value as insufficient for a pre-copy confirmation.
  • WebDAV presents an ETag that is not a checksum, so FileMigrata ignores it during that particular check.
  • OneDrive and SharePoint publish no usable checksum, which forces FileMigrata to copy the file and rely on its own two-hash test.
  • Zoho WorkDrive returns its own hash, so FileMigrata cannot use it to confirm a file in advance.
  • pCloud keeps a hash of its own design, which leaves FileMigrata nothing trustworthy to compare before a transfer.
  • FTP and SFTP offer no checksum at all, so MailMigrata transfers the file and trusts the comparison that follows.

A "No" entry is not a failure, because MailMigrata copies the file anyway and the two-hash test still decides. That also means a re-run against those services cannot confirm a file from the destination side alone, so the job log carries that memory instead. See Incremental re-runs and hash-match skip.

Why an ETag is not always enough

An ETag labels a version of an object rather than describing the contents inside that object, so the label alone proves little. S3-style services place a real MD5 value in the ETag only when a small upload travels in one piece. When you upload the same file in several parts, the ETag gains a suffix that marks those parts. Some providers, Cloudflare R2 among them, use a scheme of their own for that marker instead of the usual suffix. An ETag that merely looks like a checksum is not a pass for FileMigrata, because appearance is not the same as proof. Skipping a file on such an ETag would mark it verified without ever comparing its contents, and that is the exact mistake this page exists to prevent. R2 carries a separate trap of its own, which the troubleshooting page explains in full detail. See R2, Azure Blob, and ETag traps.

When the two hashes disagree

MailMigrata retries a transfer whenever the two hash values disagree, so a mismatch does not end the job. An expired login or token stops the run instead of consuming retries, because every remaining file would fail in the same way. MailMigrata handles throttling per provider, so the wait depends on which service it writes to and how that service signals a limit. Where a service states how long the client should wait before trying again, MailMigrata waits exactly that long. Zoho WorkDrive is the exception to that rule, because a rate-limited file returns to the queue without using up an attempt at all. A file that mismatches again and again becomes a dead letter after eight failed attempts by default. FileMigrata lists each one for you rather than presenting it as a silent success, so the outcome stays visible. MailMigrata carries on with the rest of the job while that file waits for attention, so one problem does not stall everything. See Object states and dead letters.

Where the bytes sit while we work

Under normal conditions MailMigrata keeps no copy anywhere, because it reads from the source and writes to the destination in a single pass. MailMigrata stages nothing on our disks for verification, and it stages nothing there for retries either. One exception is worth knowing, and it depends entirely on the destination service. When Zoho WorkDrive is the destination and the file is 250 MB or smaller, MailMigrata holds that file in memory while it uploads. Zoho can reject an upload when a file of the same name already exists, so MailMigrata sends that upload a second time. Above 250 MB MailMigrata streams the file instead, and it cannot re-send a streamed file after a failure. MailMigrata releases the memory as soon as the file finishes, so the footprint stays temporary by design.

What you should still do

After the job finishes, open a nested folder and a large file yourself to confirm that the content is really there. A verified count is evidence of what the transfer checked rather than a substitute for looking at the files. If the cutover is contractual, ask sales about an independent file list, because a contract may require evidence beyond our own log.