Skip to content

kernc/myba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Myba — git-based backup utility w/ 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 best kind of backup utility—a timeless shell script that relies on few, well-tested and 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 or GPG (~4x slower) for encryption,

all of which everyone should discover 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.