2020-04-12 17:56:00 +08:00
2020-04-12 17:56:00 +08:00
2020-03-30 00:48:57 +08:00
2020-04-12 17:51:38 +08:00
2020-04-12 17:51:38 +08:00
2019-11-24 18:55:22 +08:00
2020-04-04 22:57:50 +08:00

oss-backupd

Backup file or directory to OSS, can be encrypted.

Config read order:

  1. from command line, --config or -c
  2. from ./oss-backupd-config.json
  3. from ~/.oss-backupd-config.json
  4. from /etc/oss-backupd/config.json

Usage:

Help

$ oss-backupd -h
Usage:
  ./target/debug/oss-backupd [OPTIONS]

oss_backupd - command line OSS backup tool.

Optional arguments:
  -h,--help             Show this help message and exit
  -V,--version          Print version
  -v,--verbose          Verbose
  -c,--config CONFIG    Config file

Run with config file

$ oss-backupd -c sample-backupd-config.json
Compressing opt.rs, Finished: 1.16KB, Speed: -
Compressing oss_util.rs, Finished: 5.28KB, Speed: -
Compressing pgp_util.rs, Finished: 3.00KB, Speed: -
Compressing config_util.rs, Finished: 10.84KB, Speed: -
Compressing main.rs, Finished: 9.25KB, Speed: -
Compressing zip_util.rs, Finished: 2.57KB, Speed: -
[OK   ] Success, at item index: 0
[OK   ] Backup all file(s) finished!

Use direct signed URL or SDK?

OSS SDK in Rust:

PGP in Rust:

keys.openpgp.org uses: Sequoia-PGP ( https://sequoia-pgp.org/ )


On Linux:

git clone https://git.lysator.liu.se/nettle/nettle
cd nettle
./.bootstrap
./configure
make
sudo make install
Description
Backup file or directory to OSS, can be encrypted.
Readme MIT 771 KiB
Languages
Rust 99.7%
Just 0.3%