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.
What Backdit Is
Section titled “What Backdit Is”- Encrypted P2P offsite backup storage layer: Compresses (
Zstdlevel 3), encrypts client-side (XChaCha20-Poly1305), and splits files into64 MiBReed-Solomon8+6stripes (14shards across distinct host accounts, preferring diverse observed connection networks with public/24and/48subnet caps where applicable; any8recover the stripe). - Small-file packing: Batches small files into
64 MiBimmutableSYMPACK2containers (up to256members 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 HTTPRangedownloads. - Portable Mode & silent Windows desktop launch: Outside system install paths and containers, Backdit stores
config/,logs/, anddata/beside the binary. Double-clickingbackdit.exeon 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-14P2P reconstruction. - 24-word BIP-39 cold recovery: Two-tier encrypted capsules (
<= 1 MiBRoot Index +2 MiBRS8+6catalog segments) restore file catalogs and bilateral ledgers on a clean machine.
What Backdit Is Not
Section titled “What Backdit Is Not”- 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 deleteschedules 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.
Recommended Pairing Workflow
Section titled “Recommended Pairing Workflow”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.
Quota Sizing Rule (2.2-2.5x)
Section titled “Quota Sizing Rule (2.2-2.5x)”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.