Skip to content

About

Encrypted, restic-based Linux file backups and selected database workflows with verified restores, guided setup, and observable systemd scheduling for homelabs and small infrastructure teams.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

134 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bbackup

Back up with confidence. Restore with clarity.

bbackup is an encrypted, restic-based backup tool for Linux system administrators, homelab and self-hosted operators, and small infrastructure teams. It brings local file backups, selected database workflows, verified file restores, and observable scheduled jobs into one operator workflow.

Python 3.12+ License: MIT Version 2.0.5

bbackup: encrypted snapshot layers, an additional copy, and a restored document

Get started · Install · Qualification evidence · Automation and agents · All documentation

A practical backup and restore workflow

Use bbackup when you want to know what a job captured, whether each repository copy succeeded, and whether files can be restored into a clean destination.

  • Set up once. The terminal dashboard guides source, encrypted storage, schedule, and enrollment. Portable policy records job intent; private host bindings hold paths and credential-file references.
  • Capture and copy. Create encrypted restic snapshots of file trees and optionally copy a successful snapshot to a separately configured repository. Results show the outcome for each destination.
  • Restore and verify. Restore files into a new directory and ask restic to verify them. This checks file data, not application startup or full-machine recovery.
  • Schedule and observe. Run named jobs from the dashboard, the JSON CLI, or generated user-level systemd timers. Progress, results, repository locks, and interrupted-operation status are visible to operators and automation.
  • Recover deliberately. An interrupted mutation can have an uncertain result. Inspect the destination and reconcile that operation explicitly; bbackup does not automatically replay it.

Real bbackup dashboard with disposable example data and illustrative capacity

v2.0.5 tested scope

The qualified scope is unchanged from v2.0.4: local file capture and restore; live capture and restore for PostgreSQL 17.11, MySQL 8.4.12, and MariaDB 11.8.9; headless dashboard happy paths; and AMD64 Ubuntu 24.04/26.04 packages. A separate real-guest user-timer reboot drill covers only the components and conditions recorded in the qualification evidence.

B2/AWS, native Docker, ARM64 backup/restore, cross-application-version upgrades and rollback, root-owned systemd package templates, and cloud or off-host protection remain unqualified. ARM64 packages may be built, but build or package-install smoke checks alone do not qualify backup/restore. Keep an independently retrievable copy of repository passwords; a second repository on the same host does not protect against host loss. See installation for prerequisites and release install instructions.

Recent live B2 evidence covers a small interrupted maintenance run whose prune outcome remained uncertain, and a separate lifecycle-overlap guard that made central retention refuse the configured bucket. Neither test proves prune completion, elapsed lifecycle expiry, physical reclamation, or provider protection. These workflows ship in v2.0.5 as experimental and remain unqualified. See the maintenance interruption record and lifecycle guard evidence. Issues #23–#26 were canceled and closed as not planned. Cancellation does not qualify the experimental B2 workflow. This release adds no new live provider qualification; the existing workstation results remain historical. The qualified core scope is unchanged from v2.0.4.

Start with the guided workflow

Experimental restricted cloud credentials, central recovery and retention, bounded remote-primary capture, and reviewed Linux coverage ship in v2.0.5 and are documented with their limits. The reviewed Linux coverage work includes an experimental manual PostgreSQL path. These features do not expand the tested stable scope.

For packaged releases, start with the latest release downloads and installation guide.

From a development checkout with Python 3.12+, uv, and restic installed:

git clone https://github.com/CruxExperts/BestBackup.git
cd BestBackup
uv sync --locked
uv run bbackup production tui

Choose a source folder, encrypted storage, and a schedule. Review and enroll once. The dashboard then guides you through initializing storage, running the first backup, and restoring into a new folder. Advanced settings and the command line remain available. The quick start covers migration, password custody, replica setup, and deliberate schedule activation.

Choose a guide

License

Code is available under the MIT License. Original documentation artwork carries separate asset terms and provenance.



Slavic Kozyuk
© 2026 Crux Experts LLC — MIT License

About

Encrypted, restic-based Linux file backups and selected database workflows with verified restores, guided setup, and observable systemd scheduling for homelabs and small infrastructure teams.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages