Easily backup and restore your pass folder and gpg keys
| .gitignore | Implement core functionality | |
| backup.janet | Simplify file redirects via new API | |
| project.janet | Migrate to spork/sh-dsl from janet-sh | |
| readme.md | Misc. | |
| restore.janet | Migrate to spork/sh-dsl from janet-sh | |
pass-backup extracts your pass files and (all) gpg keys.
Use
janet backup.janet will produce key-backup.tar with gpg keys and passwords which janet restore.janet will restore on another system.
Issues
- how to build
backup.janetandrestore.janetas separate executables or combine them? Modern bundles call a build hook which can just be a function doing whatever you want! - include
gpgandpassas dependencies?- s says no because they're normally installed via OS package manager, best use readme
- p says yes
- would this shadow or somehow mess with the general versions? E.g. would it try to install them if already installed? Perhaps best to rather call which to see if they exist or not and then just print that they need to be installed (besides in the readme)
- expand in the direction of https://github.com/tionis/cosmo and https://github.com/tionis/glyph.janet to backup/manage dotfiles etc. according to some configuration?