mirror of
https://github.com/qwjyh/xdbm
synced 2024-11-23 23:21:05 +09:00
update readme
This commit is contained in:
parent
6e1619aa18
commit
0abf9c0693
2 changed files with 5 additions and 2 deletions
|
@ -2,6 +2,9 @@
|
||||||
_Cross device backup manager_,
|
_Cross device backup manager_,
|
||||||
which manages backups on several storages mounted on multiple devices with a single repository.
|
which manages backups on several storages mounted on multiple devices with a single repository.
|
||||||
|
|
||||||
|
## Install
|
||||||
|
- `git` is required for sync
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
1. `xdbm init` to setup new device(i.e. PC).
|
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.
|
2. `xdbm storage add` to add storages, or `xdbm storage bind` to make existing storages available on new device.
|
||||||
|
@ -24,7 +27,7 @@ which manages backups on several storages mounted on multiple devices with a sin
|
||||||
- [ ] write test for storage subcommand
|
- [ ] write test for storage subcommand
|
||||||
- [x] storage add online
|
- [x] storage add online
|
||||||
- [x] storage add directory
|
- [x] storage add directory
|
||||||
- [ ] storage list
|
- [x] storage list
|
||||||
- [x] update storage bind command
|
- [x] update storage bind command
|
||||||
- [ ] add storage remove command
|
- [ ] add storage remove command
|
||||||
- [ ] add sync subcommand
|
- [ ] add sync subcommand
|
||||||
|
|
|
@ -5,7 +5,7 @@ mod integrated_test {
|
||||||
};
|
};
|
||||||
|
|
||||||
use anyhow::{Context, Ok, Result};
|
use anyhow::{Context, Ok, Result};
|
||||||
use assert_cmd::{assert::OutputAssertExt, cargo::CommandCargoExt, Command};
|
use assert_cmd::{assert::OutputAssertExt, Command};
|
||||||
use dirs::home_dir;
|
use dirs::home_dir;
|
||||||
use git2::Repository;
|
use git2::Repository;
|
||||||
use log::trace;
|
use log::trace;
|
||||||
|
|
Loading…
Reference in a new issue