Repository navigation
ChronoBase v0.4.0
ChronoBase v0.4.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.4.0
Added
- Backup Retention & Auto-Cleanup (
chronobase cleanup [--dry-run]): Added pureplan_retentionplanner,RetentionService::{preview, run}, schema v4 (AppSettings.retention,CleanupFrequency, and per-connectionConnection.retentionoverrides, disabled by default on v1/v3 upgrades), serialized locking against restore/migration, triggers (post-backup, startup, andScheduleRunnercadence), and Slint Schedules -> Automatic Retention + Connection modal override controls. Retention deletes exclusively throughBackupService::delete_backup(canonicalizedbackups/path containment), always protects the newest good snapshot per(connection_id, source_kind), and never deletes snapshots under 1 hour old. - Scheduled Failure Notifications:
ScheduleRunner::execute_schedulenow emits UI-freeScheduleFailureEventbroadcasts surfaced as GUI error toasts while preserving structuredtracing::error!logs in--headless.
Fixed
- Backup History Cap Orphan Prevention:
BackupRepository::record()now evicts the oldestFailedentries first when exceeding 500 entries and never silently dropsSuccessentries (preventing orphaned backup files/directories on disk).
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.4.0/CHANGELOG.md