4 个版本
| 0.2.2 | 2023年8月14日 | 
|---|---|
| 0.2.1 | 2023年8月14日 | 
| 0.2.0 | 2023年5月13日 | 
| 0.1.0 | 2023年5月11日 | 
#29 in #恢复
50KB
 1K  SLoC
biurs
back it up - 使用 rs 编写
个人备份玩具项目,探索 gRPC 流。
安装
服务器: cargo install biurs-server
客户端: cargo install biurs
配置
服务器
一个包含客户端 PEM 编码 Ed25519 公钥路径数组的 JSON 文件。
[
  "/path/to/user_1.public",
  "/path/to/user_2.public"
]
客户端
具有以下结构的 JSON 文件
{
  "private_key": "/path/to/pem/encoded/private/key/of/user",
  "folder": [
    "/path/to/folders_to_back_up"
  ]
}
用法
服务器: biurs-server <backup-dir>
客户端: biurs <url> backup/restore
状态
- 认证
- 并发执行
依赖项
~13–28MB
~455K SLoC