Commit 025ec77c authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

scripts/ variables, comments

parent 05024b02
# This script is to be launched from an external backup server
# Local backup directory
# Remote server
filename=$(ssh "cd /home/vidjil/server; sh ./ ${options} ~" | tail -1)
scp${filename}.zip /mnt/data/backup/vidjil/
ssh "rm -f ${filename}.zip"
filename=$(ssh ${VIDJIL_SERVER} "cd /home/vidjil/server; sh ./ ${options} ~" | tail -1)
scp ${VIDJIL_SERVER}:${filename}.zip ${DIR_BACKUP}
ssh ${VIDJIL_SERVER} "rm -f ${filename}.zip"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment