Correct ssh key specification in the backup script
This commit is contained in:
parent
d90f9fb648
commit
0cef524a0c
|
@ -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 -i /root/.ssh/unit coace@192.168.122.1:/vault/backups/databases/sica
|
||||
scp -i /root/.ssh/unit BBDD_"$(date +"%d%m%Y")".zip coace@192.168.122.1:/vault/backups/databases/sica
|
||||
}
|
||||
|
||||
cleanup() {
|
||||
|
|
Loading…
Reference in New Issue