diff --git a/restore_file.sh b/restore_file.sh index b38f893c1d5ef087107692e3feefe198fb01a807..77646ca641493e03dea56ad38fd0230d0035537f 100755 --- a/restore_file.sh +++ b/restore_file.sh @@ -36,7 +36,9 @@ source $DIR/inc.sh export PASSPHRASE="$encpass" export FTP_PASSWORD="$ftppass" -/usr/bin/duplicity --verbosity $verbosity --file-to-restore $delay "$restore_path" $remote "$destination_path" +set -x +/usr/bin/duplicity --verbosity $verbosity $delay --file-to-restore "$restore_path" $remote "$destination_path" +set +x unset PASSPHRASE unset FTP_PASSWORD