Specify full scp command in backup script

This commit is contained in:
coolneng 2021-04-14 09:34:08 +02:00
parent 0e312ded51
commit 080e83aa5a
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 1 deletions

View File

@ -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() {