mirror of
https://github.com/qwjyh/xdbm
synced 2025-11-18 07:38:50 +09:00
Cross device backup manager.
https://git.qwjyh.net/PKGBUILDs/xdbm
| .github/workflows | ||
| src | ||
| tests | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| README.md | ||
xdbm
Cross device backup manager, which manages backups on several storages mounted on multiple devices with a single repository.
Install
gitis required for sync
Usage
xdbm initto setup new device(i.e. PC).xdbm storage addto add storages, orxdbm storage bindto make existing storages available on new device.xdbm backup addto add new backup configuration.xdbm backup doneto tell xdbm to write backup execution datetime.xdbm storage listandxdbm backup listto see their status.
Hints
xdbm pathto see the path of repository. Usegitto sync it among the devices.xdbm completion <SHELL>to generate completion scripts for shells.- Give
--helpto see helps on the commands.
TODO:
- split subcommands to functions
- write test for init subcommand
- write test with existing repo
- with ssh credential
- ssh-agent
- specify key
- write test for storage subcommand
- storage add online
- storage add directory
- storage list
- update storage bind command
- add storage remove command
- add sync subcommand
- add check subcommand
- check that all parents exist
- reorganize cmd option for storage
- use subcommand
- backup subcommands
- backup add
- test for backup add
- backup list
- status printing
- backup done
- backup add
- fancy display
- json output
- no commit option