mirror of https://github.com/dswd/zvault
Usibility
This commit is contained in:
parent
8b859dddb9
commit
6841470981
|
@ -191,7 +191,7 @@ pub fn run() {
|
|||
let backup = match repo.create_backup_recursively(&src_path, reference_backup.as_ref()) {
|
||||
Ok(backup) => backup,
|
||||
Err(RepositoryError::Backup(BackupError::FailedPaths(backup, _failed_paths))) => {
|
||||
warn!("Some files are missing form the backup");
|
||||
warn!("Some files are missing from the backup");
|
||||
backup
|
||||
},
|
||||
Err(err) => {
|
||||
|
|
|
@ -340,6 +340,7 @@ impl Repository {
|
|||
let chunks = match self.create_backup_recurse(&child_path, ref_child.as_ref(), backup, failed_paths) {
|
||||
Ok(chunks) => chunks,
|
||||
Err(_) => {
|
||||
warn!("Failed to backup {:?}", child_path);
|
||||
failed_paths.push(child_path);
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue