2024-03-17 03:25:44 +09:00
|
|
|
# xdbm
|
|
|
|
_Cross device backup manager_,
|
|
|
|
to manage backups on several storages mounted on multiple devices with a single repository.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
1. `xdbm init` to setup new device(i.e. PC).
|
|
|
|
2. `xdbm storage add` to add storages, or `xdbm storage bind` to make existing storages available on new device.
|
|
|
|
3. `xdbm backup add` to add new backup configuration.
|
|
|
|
4. `xdbm backup done` to tell xdbm to write backup execution datetime.
|
|
|
|
5. `xdbm storage list` and `xdbm backup list` to see their status.
|
|
|
|
|
|
|
|
## TODO:
|
2024-03-07 14:59:58 +09:00
|
|
|
- [x] split subcommands to functions
|
2024-03-11 08:22:35 +09:00
|
|
|
- [x] write test for init subcommand
|
2024-03-12 16:18:24 +09:00
|
|
|
- [x] write test with existing repo
|
2024-03-11 08:22:35 +09:00
|
|
|
- [x] with ssh credential
|
|
|
|
- [x] ssh-agent
|
|
|
|
- [x] specify key
|
2024-03-12 16:18:24 +09:00
|
|
|
- [ ] write test for storage subcommand
|
2024-03-13 04:25:38 +09:00
|
|
|
- [x] storage add online
|
2024-03-14 06:35:11 +09:00
|
|
|
- [x] storage add directory
|
2024-03-12 16:18:24 +09:00
|
|
|
- [ ] storage list
|
2024-03-13 05:36:19 +09:00
|
|
|
- [x] update storage bind command
|
2024-03-10 13:00:28 +09:00
|
|
|
- [ ] add storage remove command
|
2024-03-07 14:59:58 +09:00
|
|
|
- [ ] add sync subcommand
|
2024-03-17 20:02:10 +09:00
|
|
|
- [x] add check subcommand
|
|
|
|
- [x] check that all parents exist
|
2024-03-12 16:18:24 +09:00
|
|
|
- [x] reorganize cmd option for storage
|
|
|
|
- [x] use subcommand
|
2024-03-14 06:35:11 +09:00
|
|
|
- [ ] backup subcommands
|
|
|
|
- [ ] backup add
|
2024-03-15 04:16:57 +09:00
|
|
|
- [ ] test for backup add
|
2024-03-14 06:35:11 +09:00
|
|
|
- [ ] backup list
|
2024-03-16 21:31:08 +09:00
|
|
|
- [x] status printing
|
|
|
|
- [x] backup done
|
2024-03-15 04:16:57 +09:00
|
|
|
- [ ] fancy display
|
2024-03-12 16:18:24 +09:00
|
|
|
- [ ] no commit option
|
2024-03-07 14:59:58 +09:00
|
|
|
|
|
|
|
<!-- vim: set sw=2 ts=2: -->
|