From 37e9eec1d08340c28e70485de9efac34152bf3a4 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Sat, 19 Aug 2023 12:07:45 +0200 Subject: [PATCH] fix: remove ftp test --- run-backup.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/run-backup.sh b/run-backup.sh index 164198e..6ba1679 100755 --- a/run-backup.sh +++ b/run-backup.sh @@ -8,17 +8,17 @@ then PGPASSWORD=$KOPIA_PG_PASSWORD pg_dump --host=$KOPIA_PG_HOST --username=$KOPIA_PG_USER $KOPIA_PG_DATABASE > /backup/database/$KOPIA_PG_DATABASE.sqldump || exit 1 fi -if [[ -v KOPIA_FTP_HOST ]]; -then - echo "Downloading from ftp server ${KOPIA_FTP_HOST}" - - lftp -u "$KOPIA_FTP_USER","$KOPIA_FTP_PASSWORD" $KOPIA_FTP_HOST <