common: backup_files.sh: Disable compression of gpg

dehydrated
Felix Stupp 5 years ago
parent 016aeaa661
commit afc80db48a
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -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";

Loading…
Cancel
Save