From afc80db48a3af89438cbf4ce46167e2fe7f3b421 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Wed, 11 Sep 2019 00:42:35 +0200 Subject: [PATCH] common: backup_files.sh: Disable compression of gpg --- roles/common/templates/backup_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/common/templates/backup_files.sh b/roles/common/templates/backup_files.sh index 6669159..3d6ee14 100644 --- a/roles/common/templates/backup_files.sh +++ b/roles/common/templates/backup_files.sh @@ -12,6 +12,6 @@ base="$(basename "$path")"; dest={{ backups_files_directory | quote }}"/$name.tar.gpg"; # Execution -tar -C "$dir" -cf - "$base" | buffer -m 128M -s 128K | gpg --quiet --no-verbose --encrypt --recipient {{ backup_gpg_fingerprint | quote }} --trust-model always > "$dest"; +tar -C "$dir" -cf - "$base" | buffer -m 128M -s 128K | gpg --quiet --no-verbose --compress-level 0 --encrypt --recipient {{ backup_gpg_fingerprint | quote }} --trust-model always > "$dest"; chmod u+r-wx,g+r-wx,o+r-wx "$dest"; {{ global_helper_directory | quote }}/backup_rename.sh "$dest";