From 40873671246baf0e65209182ff6413967cd5572e Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 8 May 2024 21:19:35 +0300 Subject: [PATCH] Home : Fix backup archive changes. --- host/home/Backup.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/host/home/Backup.nix b/host/home/Backup.nix index 5f8a233f..1cb31f13 100644 --- a/host/home/Backup.nix +++ b/host/home/Backup.nix @@ -33,17 +33,17 @@ # Save media list. find ''${path_media} -type d > ''${path_backup}/cold/ColdMedia.txt || report "Backup : Failed to save media list!" cd ''${path_backup}/cold/ - archive_fast ColdMedia.txt && rm ColdMedia.txt || report "Backup : Failed to archive media list!" + archive ColdMedia.txt && rm ColdMedia.txt || report "Backup : Failed to archive media list!" cd - # Backup docker. - docker=$(archive_fast docker/) + docker=$(archive docker/) bupsize=$(tdu ''${docker} | awk '{print $1}') mv ''${docker} ''${path_docker}/ || report "Backup : Failed to save docker!" # Backup some media. cd ''${path_src}/media/ - paper=$(archive_fast paper/) + paper=$(archive paper/) mv ''${paper} ''${path_backup}/paper/ || report "Backup : Failed to save paper!" cd -