GitHunt

Myba — git-based backup with encryption

Build status
Language: shell / Bash
Source lines of code
Script size
Issues
Sponsors

Myba (pronounced: mỹba) is an
open-source, secure, distributed, version-controlled, encrypted
file backup software based on git
,
for Linux, MacOS, BSDs, and possibly even Windows/WSL.
In a world of vice, instability, "evergreen" browsers, fast-moving markets and near constant supply chain attacks,
it's the only kind of backup—a timeless shell script that relies on few, well-tested, stable technologies.
Its only dependencies are:

  • a running shell / standard POSIX environment (sh, bash, zsh, dash, ... WSL?),
  • gzip
  • git (and Git LFS for files sized >40 MB),
  • either OpenSSL (AES256-CTR) or GPG (AES256-CFB) for encryption,

all of which you should find most popularly available.

Learn more about the project on myba backup project website.

See smoke-test.sh for a covering example / test case!

Contributing

The script is considered mostly feature-complete, but there remain
bugs and design flaws to be discovered and ironed out, as well as any
TODOs and FIXMEs
marked in the source.
All source code lines are open to discussion.
Especially appreciated are targets for simplification
and value-added testing.

Languages

Shell100.0%

Contributors

GNU Affero General Public License v3.0
Created October 15, 2024
Updated September 23, 2025