From b1f2afe3a172ef5f4894e4b2847464e09b06ea3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Haas?= Date: Wed, 10 Jan 2018 15:27:56 +0100 Subject: [PATCH 1/2] Fix syntax error in if statement --- automysqlbackup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automysqlbackup b/automysqlbackup index 0ac2248..afd8513 100755 --- a/automysqlbackup +++ b/automysqlbackup @@ -165,7 +165,7 @@ mail_cleanup () { 'bunzip2 "$temp" uuencode "$j" "$j" >> "$temp" else From 79452ea3178544804dcfb7646503e6067bbb00e4 Mon Sep 17 00:00:00 2001 From: viitols Date: Wed, 16 May 2018 20:18:14 +0300 Subject: [PATCH 2/2] Fix encrypted backup copy to latest --- automysqlbackup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automysqlbackup b/automysqlbackup index 58c6b10..9bb1927 100755 --- a/automysqlbackup +++ b/automysqlbackup @@ -333,7 +333,7 @@ files_postprocessing () { if (( $CONFIG_dryrun )); then printf 'dry-running: cp -al %s.enc %s/latest/\n' "${1}" "${CONFIG_backup_dir}" else - cp -al "${1}${suffix}.enc" "${CONFIG_backup_dir}"/latest/ + cp -al "${1}.enc" "${CONFIG_backup_dir}"/latest/ fi else if (( $CONFIG_dryrun )); then