Repository navigation
ChronoBase v0.5.0
ChronoBase v0.5.0
ChronoBase is the native Rust rewrite of the ChronoBase v1 (Node.js) — a local-first backup manager for PostgreSQL and MongoDB. Zero cloud, tiny footprint, fast startup, and full compatibility with v1 chronobase-data.json files.
What's New in v0.5.0
Security & Reliability Fixes (Phase 0)
- VPS Pull Agent URL Pinning (
B-04):chronobase --agentnow requires target DB URLs to matchallowed_urlsinchronobase-agent.json(or--allow-url <url>, with explicit--allow-any-urlopt-in), preventing a leaked pairing key from pivoting to arbitrary hosts. - Compact Binary Chunk Framing (
B-02):EncryptedResponse::FileChunknow uses raw binary framing (0x01+ bytes) instead ofserde_jsoninteger-array serialization, eliminating 3–4x frame expansion on large/binary BSON and SQL transfers. - Strict
--configFallback Guard (B-03):is_config_flag_unsupportednow matches only precise unknown-option errors rather than any stderr containing"--config", preventing unintended password fallback into--uri=argv. - Retention Endpoint Keying (
B-01): Retention planning and post-backup cleanup now key strictly by(BackupSourceKind, id)so VPS peer IDs and direct connection IDs never collide. - Atomic Backup Writes, Immediate Flush & Crash Sweeper (
B-06,B-08): Dumps write to*.part, reject 0-byte outputs, atomically rename on success, flushchronobase-data.jsonimmediately after recording, and sweep stale.part/.mongodump_cfg_*/.cb_vps_stage_*leftovers at startup. - Concurrency, Pre-Restore Safety, Wipe & Missed-Run Catch-Up (
B-07,B-09,B-10,B-13): Added per-connection async backup locks, automatic pre-restore safety snapshots forSameDatabaserestores, all-user-schema PostgreSQL wipe, startup missed-cron catch-up, and configurable per-connection timeouts (default raised to 1 hour). - UI & Docs Cleanup (
B-05,B-11,B-12): Removed duplicate Slint callback registrations inui/mod.rs, corrected Dashboard guide text, and alignedREADME.mdkey-derivation documentation withCBV1implementation.
Downloads & Platform Support
| Platform | Package / Installer | Notes |
|---|---|---|
| Windows x64 | ChronoBase-windows-x64-setup.exe, ChronoBase-windows-x64.msi, ChronoBase-windows-x64-portable.zip |
NSIS setup installer, Enterprise MSI, and portable zip |
| Linux x86_64 | ChronoBase-linux-x86_64.tar.gz, ChronoBase-linux-x86_64.deb |
X11 & Wayland via Slint winit |
| macOS Apple Silicon | ChronoBase-macos-arm64.dmg, ChronoBase-macos-arm64.app.tar.gz |
Native aarch64-apple-darwin |
| macOS Intel | ChronoBase-macos-x64.dmg, ChronoBase-macos-x64.app.tar.gz |
Cross-compiled (build-only, not tested on Intel hardware) |
Verify Downloads (SHA256SUMS.txt)
Linux / macOS:
sha256sum -c SHA256SUMS.txt --ignore-missingWindows (PowerShell):
Get-FileHash .\ChronoBase-windows-x64-setup.exe -Algorithm SHA256
Get-FileHash .\ChronoBase-windows-x64.msi -Algorithm SHA256
Get-FileHash .\ChronoBase-windows-x64-portable.zip -Algorithm SHA256Platform Notes
- Database CLI tools:
pg_dump,psql,mongodump,mongorestore, andmongoshare not bundled. See the Setup section in README.md. - Where data lives: If
chronobase-data.jsonexists next to the executable or in the current working directory, ChronoBase runs in portable mode; otherwise it uses your OS user data directory (override with--data-dirorCHRONOBASE_HOME). - Windows SmartScreen: Builds are unsigned; click More info -> Run anyway if prompted.
- macOS Gatekeeper: Right-click -> Open, or run
xattr -cr /Applications/ChronoBase.app. - Linux dependencies: Requires
libfontconfig1,libxkbcommon0,libxkbcommon-x11-0, andlibgl1(for the default OpenGL renderer). Both X11 and Wayland are supported. - Headless / Auto-start: Run
chronobase --headlessfrom systemd, launchd, or Windows Task Scheduler to execute scheduled backups without opening a window.
Built with Slint.
Full Changelog: https://github.com/Subham-Maity/chronobase/blob/v0.5.0/CHANGELOG.md