83cfb5489cc58bbb7870ec4f95ae94c5e69617de
oss-backupd
Backup file or directory to OSS, can be encrypted.
Config read order:
- from command line,
--configor-c - from
./oss-backupd-config.json - from
~/.oss-backupd-config.json - 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:
- https://crates.io/crates/pgp
- https://crates.io/crates/openpgp
- https://github.com/rpgp/rpgp
- https://crates.io/crates/gpgrv
- https://crates.io/crates/sequoia-openpgp
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
Languages
Rust
99.7%
Just
0.3%