Removed FTPS backups and added FTP backups

+ Reverted to ftp 3.0.1
+ fmt + clippy
This commit is contained in:
2021-02-12 20:02:57 -06:00
parent 249ad8dad8
commit 0ff76dec0a
8 changed files with 145 additions and 51 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
mod remote;
use crate::config::remote::{FTPSConfig, SFTPConfig};
use crate::config::remote::{FTPConfig, SFTPConfig};
use config::{Config, ConfigError, File};
use serde::Deserialize;
use std::path::PathBuf;
@@ -49,7 +49,7 @@ pub struct BackupConfig {
pub struct RemoteBackupConfig {
pub backups_to_keep: u64,
pub sftp: Option<SFTPConfig>,
pub ftps: Option<FTPSConfig>,
pub ftp: Option<FTPConfig>,
}
/// Configs