Skip to content

BitMatch 0.2.15

Latest

Choose a tag to compare

@mikecerisano mikecerisano released this 27 Nov 21:10
  • Backups on an SMB share (a NAS, or a Mac sharing a folder) work. Every file on such a share used to fail with "This destination filesystem cannot safely publish files" because SMB cannot hard link; an SMB share now publishes the FAT way, writing each file under its final name beneath a visible status marker, and its ASC MHL history tolerates a proven Finder .DS_Store in the history directory and is claimed the same way with a 0001_BitMatch_DIRECT_ manifest that Check requires the status record for. Measured against a macOS SMB share with the mounted-filesystem matrix; other network filesystems are unmeasured and keep the link path as before, failing closed if the link is refused. Two things to know: a share is only as durable as its server's own flush, and a verified read-back proves the server returned the bytes, not that they reached its disks. BitMatch 0.2.14 and earlier do not know the DIRECT manifest name: their Check refuses such a history, or, if its status record is missing, reads it as an ordinary one.

  • Each backup drive verifies in its own lane while verifying during the copy. 0.2.14 gave a run with a spinning drive one verify worker in total, so two backups read back one after the other; now backups on different drives read back side by side, each drive still reading its own files in order, and backups on one drive share its lane. When Thorough or Paranoid verification rereads a spinning card, the lanes collapse to one so the card is not read in two places at once. Most card readers do not report a drive type; for such a card the lanes collapse only when Verify workers is set to a number rather than Auto, so choosing 1 means one card reread at a time, while Auto keeps a lane per backup drive. Verify workers in Settings are per backup drive (per backup volume on iPhone and iPad), with at most 16 verifying at once across the drives; Auto on SSDs shares the previous pool across the drives. Reports state the lanes a run used (GitHub issue #92).

  • A read error while verifying one file on a backup fails only that file, naming the phase and the error, and keeps the known size; files already verified on that backup keep their checksums instead of all turning into blank failures (GitHub #95).

  • Finder's .DS_Store files on the card are skipped, so Finder rewriting one while you browse a backup no longer costs the card its safe-to-erase verdict. A file is skipped only when BitMatch reads it and proves it is a Finder view file (named exactly .DS_Store, a regular file with one link and a plausible size, starting with Finder's Bud1 header with offsets that fit the file, and containing a padded allocator table and single DSDB directory entry that resolves to an allocated, in-file B-tree header block); anything else with that name is copied and verified like any other file, and so is one that cannot be read, or changed, between the card scan and Start: it is copied like any other file instead of stopping the run. Every skipped file found at Start is listed: one "⏭ Skipped Finder view file (.DS_Store)" row per backup in results, History, CSV, JSON and PDF, and a summary line ("2 Finder view files (.DS_Store) skipped: not card content; Finder recreates them"). Report totals (files, success rate, files per second and the card's file count) leave the skipped files out, so a clean run with a skip reads as verified in the Master Report. A skipped file does not block "Safe to erase" when every other file verified; the card is checked again at the end, so a skipped file that stopped being a Finder file fails the run with "the card changed", and a FAT or SMB backup's status marker stays incomplete. A Finder .DS_Store that appears on the card during the run is ignored at that final check when it proves to be a Finder view file: it is not copied and not listed. ASC MHL histories leave the skipped files out and add no ignore rule; the ASC reference verifier passes on such a backup even with Finder's own .DS_Store there. The AppleDouble ._* exclusion is unchanged: it is still opt-in and still means the card is not safe to erase. Turn it off with Skip Finder view files (.DS_Store) in Settings → File handling, on Mac and iPad; off copies and verifies them as before. Reports state which setting the run used. Transfers queued by 0.2.14 replay with the skip on: their saved settings predate the setting. BitMatch 0.2.14 and earlier read a run with a skipped file as not safe (GitHub issue #93).

  • A file that changed on a backup after BitMatch checked it says why. A retry's lineage check now ignores proven skipped Finder files and excluded AppleDouble files on the earlier attempt, since neither says anything about whether the card read cleanly; before, an excluded AppleDouble row on a failed attempt could keep a later clean retry from "safe to erase". When something else wrote to a backup's copy during the run (Finder saving a folder's .DS_Store while you watch the folder, for example), the row still fails, but now reads "the backup's copy changed after BitMatch checked it; something else wrote to it, for example Finder" instead of a bare "❌ Failed". If the copy had verified first, the row keeps the checksum that readback recorded as separate evidence, shown in the JSON report only (never as a verified checksum, and never in the checksum manifest, CSV, PDF or History export); Quick mode has no readback, so it keeps none. A copy that vanished or changed size, a different file already at the name on the backup, and a backup that could not be checked at the end each give their own reason too. A file already on the backup with the same size but different contents is reported as leaving the card unproven, because the card may have returned different bytes, so a later retry does not make the card safe to erase on its own. The summary says "1 file not verified" (in Quick, "1 file failed") for a file whose row failed and keeps "has no result" for a file with no row at all. ASC MHL lines name the backup's volume rather than its folder, which two backups often share (two backups on one volume read "VOLUME/folder"), and when one backup cannot get a history the summary says which ones did ("ASC MHL saved on DEST_B; ASC MHL not created on DEST_A: 1 file not verified"). Histories were already written per backup; only the wording was ambiguous (GitHub issue #93).

  • Project cards wait for reports and History to finish before showing Locally Safe. Interrupted report publication is withdrawn on recovery, and History retains a visible interrupted attempt if its final write fails.

  • Report source sizes include selected files even when copying fails; processed byte totals count successful copies, and History JSON includes totalBytesProcessed. History waits for final report publication before marking a transfer complete. If a report or history write fails, BitMatch warns you to keep the card and reports the error.

  • Queued backups that reconnect at a new path now retain their run paths for safety checks and History exports. If saving the final transfer record fails, the project card is marked as needing attention. Finder view files must also contain an allocated database header to qualify for skipping.

  • Unproven Finder skip records now count as issues in reports and History; a retry cannot claim the card is safe when an earlier skipped row lacks proof. Interrupted backups name any recorded skips, and History's file count leaves out AppleDouble exclusions. Drives whose identity cannot be determined share one conservative verification lane.

  • JSON selection evidence records skippedFinderViewFileCount when Finder files are skipped. Reports claiming skipped files without an enabled recorded setting are no longer accepted as verified; older reports without skip fields remain readable.

  • Finder view files rewritten between the card scan and copying are classified using their current contents, and saved transfers retain the source name used for their backup folders. History can prove those skips without reconnecting the backup, and reports no longer count a skipped Finder file as a selected file when the final card check fails it.

  • For anyone reading reports by machine, the JSON report gains these keys: performance.verifyLanes, statistics.skippedFinderViewFiles, a failed item's recordedChecksumBeforeFailure, and verificationScope.recordedSkippedFinderMetadata, skipFinderViewFiles and finderViewFilesSetting; the History CSV summary adds recordedSkippedFinderViewFiles, finderViewFiles and finderViewFilesSetting; the History JSON adds finderViewFiles and carries the count and the setting inside verificationScope as recordedSkippedFinderMetadata and finderViewFilesSetting. Every new run writes verifyLanes, skipFinderViewFiles and finderViewFilesSetting; the others appear only when they have a value (a skipped file, a row that changed after it was checked). Reports written by earlier versions are unchanged.

  • Groundwork for BitMatch Remote: the protocol, admission store, safety-claim lease and in-process host and client cores. No user-visible change yet.

  • Known, not fixed: the same two iPhone/iPad report-text tests fail as in 0.2.13 and 0.2.14 (a History export line and the AppleDouble exclusion note in the details report), as recorded in docs/TODO.md. The iPhone/iPad suite otherwise passes on an iPad simulator.