mirror of
https://git.ahines.net/joeyahines/Albatross.git
synced 2026-11-08 09:13:57 +00:00
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:
12 files changed
+418
-161
No files matched your search
+2
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user