Added FTPS backups

+ Made remote backups more generic, should be easier to add new backup types in the future
+ General cleanup
+ clippy + fmt
This commit is contained in:
zerohd committed 2021-02-09 20:47:40 -06:00
1 parent 9c7f9906ad
commit 9a264abe88
12 files changed
+418 -161

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ mod config;
mod discord;
mod error;
mod region;
mod remote_backup;
mod remote;
mod restore;
use crate::backup::{convert_backup_to_sp, do_backup};
@@ -66,7 +66,7 @@ fn main() {
let opt = Albatross::from_args();
let cfg = AlbatrossConfig::new(opt.config_path.into_os_string().to_str().unwrap())
.expect("Config not found");
.expect("Config error");
if cfg.world_config.is_some() {
match opt.sub_command {