Specify full scp command in backup script
This commit is contained in:
parent
0e312ded51
commit
080e83aa5a
|
@ -6,7 +6,7 @@ sybase_service() {
|
||||||
|
|
||||||
perform_backup() {
|
perform_backup() {
|
||||||
zip -r BBDD_"$(date +"%d%m%Y")".zip /opt/sybase
|
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() {
|
cleanup() {
|
||||||
|
|
Loading…
Reference in New Issue