Repository navigation
ChronoBase v0.7.0
ChronoBase v0.7.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.7.0
Added
- Encryption at Rest (
CBENC1) & OS Key Vault: Optional chunkedXChaCha20-Poly1305encryption-at-rest for backups (with optionalflate2gzip compression), OS keyring integration (Windows Credential Manager, macOS Keychain, Linuxsecret-tool, or0600sealed vault fallback), and one-time recovery key generation. - Integrity Manifests & Structural Verification: Every backup writes a
<artifact>.manifest.jsonSHA-256 checksum sidecar verified automatically before restore. Custom (-Fc) and Directory (-Fd) PostgreSQL backups are structurally verified withpg_restore --list. - PostgreSQL Dump Formats & Cluster Globals: Per-connection
pg_formatselector (Plain SQL,Custom -Fc,Directory -Fd) andpg_dumpall --globals-onlytoggle for roles/tablespaces. - Offsite S3-Compatible Storage: Pure-Rust AWS SigV4 S3 upload support (AWS S3, Cloudflare R2, Backblaze B2, MinIO) with vault-protected secret keys.
- Failure Alerts & Dead-Man's Switch Heartbeat: Outbound notifications on scheduled backup failures via Generic Webhook, Slack, Discord, and Telegram Bot API, plus dead-man's switch heartbeat pings on success.
- Safety & Reliability Guards: Disk-space preflight check (
min_free_disk_mb), OS sleep-inhibitor guard during active dumps, typed database-name confirmation lock on destructiveSameDatabaserestores, and per-run backup log capture (logs/run_*.log+ in-app Log viewer). - Connection Pre-Flight & Least-Privilege Helper: In-modal Test connection button with actionable error hints and a Least-privilege SQL role script generator.
- Native Headless OS Service: Manage unattended background execution via
chronobase service install | uninstall | statusor the Setup tab (Windows Task Scheduler, macOSlaunchd, Linuxsystemd --user).
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.7.0/CHANGELOG.md