Micke Nordin
d353069660
project="${1}" mirror="${2}" bucket="${3}" customer="${4}" environment="${5}"
9 lines
250 B
Bash
Executable file
9 lines
250 B
Bash
Executable file
#!/bin/bash
|
|
project="${1}"
|
|
mirror="${2}"
|
|
bucket="${3}"
|
|
customer="${4}"
|
|
environment="${5}"
|
|
|
|
rsync -e "ssh -i ${HOME}/.ssh/id_script" -avz "/opt/backupmounts/${bucket}" "sd-${environment}@sd-${environment}-backup.hb.se:~/sd-${environment}/${bucket}"
|