Skip to content

Backdit Overview

Backdit (v0.1.0) is a single self-contained Rust binary (backdit) with an embedded Web UI (http://127.0.0.1:9011). You contribute disk space to peers and store encrypted, erasure-coded offsite backups in return, accounted strictly per partner in GiB-hours without tokens, blockchains, or central storage servers.

  • Encrypted P2P offsite backup storage layer: Compresses (Zstd level 3), encrypts client-side (XChaCha20-Poly1305), and splits files into 64 MiB Reed-Solomon 8+6 stripes (14 shards across distinct host accounts, preferring diverse observed connection networks with public /24 and /48 subnet caps where applicable; any 8 recover the stripe).
  • Small-file packing: Batches small files into 64 MiB immutable SYMPACK2 containers (up to 256 members per pack) so large directories of small files do not explode shard metadata.
  • Zero-staging Direct Local-Path backups & restores: The Web UI and CLI (backdit put, backdit get) stream files and folders straight from and to host disk without browser drag-and-drop staging copies, alongside streaming HTTP Range downloads.
  • Portable Mode & silent Windows desktop launch: Outside system install paths and containers, Backdit stores config/, logs/, and data/ beside the binary. Double-clicking backdit.exe on Windows launches silently into the system tray and opens the Web UI via a one-time #code= local login handoff.
  • Simple vs. Advanced UI mode: Starts in Simple Mode (Dashboard, Backup, Files, Network, Settings) while exposing full bilateral ledgers, repair queues, and Prometheus telemetry in Advanced Mode.
  • Zero-WAN-download Local-Source repair: When an uploaded file remains untouched on local disk, Backdit verifies its stripe hashes and re-encodes missing shards locally before falling back to 8-of-14 P2P reconstruction.
  • 24-word BIP-39 cold recovery: Two-tier encrypted capsules (<= 1 MiB Root Index + 2 MiB RS 8+6 catalog segments) restore file catalogs and bilateral ledgers on a clean machine.
  • Not a live folder sync tool: No filesystem watcher or continuous background folder mirroring. Backups are explicit point-in-time uploads.
  • Not a versioned deduplicating backup engine: No built-in snapshot timeline, soft-delete trash, or cross-file deduplication. Uploading with the same ID overwrites; backdit file delete schedules remote shard removal.
  • Not a raw filesystem archiver: Stores file payloads and names, not POSIX ACLs, extended attributes (xattrs), hardlinks, symlinks, or device nodes.
  • Not a snapshotter: Does not take atomic ZFS, LVM, Btrfs, VSS, or database snapshots.

Keep Restic, Borg, Kopia, Veeam, or Proxmox vzdump for deduplication, snapshot history, and filesystem metadata, or point Backdit at read-only ZFS/Btrfs/LVM/VSS snapshots. Then push completed archives offsite via backdit put, cron/systemd timers, post-backup hooks, or Direct Local-Path Web UI backups.

Backdit Zero-Knowledge Client Pipeline and RS 8+6 DistributionLocal archives are striped into 64 MiB chunks, compressed with Zstd, encrypted with XChaCha20-Poly1305, Reed-Solomon 8+6 encoded into 14 shards across distinct host accounts preferring diverse observed connection networks, and HPKE-sealed inside OS-locked, zeroized-on-drop host memory buffers.1. Zero-Knowledge Vault & RS (8+6) Host SealingRestore from any 8 of 14 shards01 · LOCAL INPUTArchive / Path64 MiB stripe splitSYMPACK2 packing(<= 256 small files)02 · CLIENT CRYPTOZstd + XChaCha20Zstd level 3 compressXChaCha20-Poly1305Per-stripe 24B nonce03 · ERASURE RS(8+6)14 Equal Shards8 data + 6 parity (1.75x)SHA-256 verified per shard04 · REMOTE HOST MEMORYRFC 9180 HPKE Sealed14 accounts; <= 2/public /24 /48OS-locked buffer, zeroized on dropmlock / VirtualLock -> BKDTHOSTSecurity & Fault-Tolerance BoundariesZero plaintext on wire or disk: filenames, file bytes, and PackIndex stay sealed under owner BIP-39 keys.Host Proof-of-Possession + HPKE wrapping ensures hosts never persist unsealed bytes from untrusted uploaders.

Backdit uses Reed-Solomon 8+6 erasure coding (1.75x raw parity expansion) divided by 80% usable quota (100% minus the 20% reserve_basis_points = 2000 reserve) for ~2.19x, plus headroom for repair turnover, peer churn, and the 5% bootstrap pool (bootstrap_pool_basis_points = 500).

To back up 1 TB of archives reliably, offer roughly 2.2 - 2.5 TB of disk quota (max_capacity_gb / BACKDIT_OFFERED_STORAGE_GB). Remember that offering empty disk does not mint instant capacity, and credit is tracked strictly per partner (credit earned hosting for Peer A can only be spent storing on Peer A, never in a global pool). See Reciprocal Storage & Scaling for the full scaling model.