From 080e83aa5aadf75e10d81fc0313658c9c169f1e5 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 14 Apr 2021 09:34:08 +0200 Subject: [PATCH] Specify full scp command in backup script --- scripts/sybase-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sybase-backup.sh b/scripts/sybase-backup.sh index 2c669be..67ffe52 100644 --- a/scripts/sybase-backup.sh +++ b/scripts/sybase-backup.sh @@ -6,7 +6,7 @@ sybase_service() { perform_backup() { zip -r BBDD_"$(date +"%d%m%Y")".zip /opt/sybase - scp BBDD_"$(date +"%d%m%Y")".zip unit:/vault/backups/databases/sica + scp BBDD_"$(date +"%d%m%Y")".zip -i /root/.ssh/unit coace@192.168.122.1:/vault/backups/databases/sica } cleanup() {