Commit 704137a3 authored by Mathieu Giraud's avatar Mathieu Giraud

server/backup.sh: restore backup of db

Corrects previous commit.
parent 0bcc9db5
......@@ -43,8 +43,7 @@ fi
DIR_SEQUENCES=$(sed -rn "s/^DIR_SEQUENCES.*['\"](.*)['\"].*$/\1/p" $defs_py)
DIR_RESULTS=$(sed -rn "s/^DIR_RESULTS.*['\"](.*)['\"].*$/\1/p" $defs_py)
# python web2py/web2py.py -S vidjil -M -R "applications/vidjil/scripts/backup-db.py" -A "$db_backup_file"
touch $db_backup_file
python web2py/web2py.py -S vidjil -M -R "applications/vidjil/scripts/backup-db.py" -A "$db_backup_file"
if [ $COMPLETE -eq 1 ]; then
filename="${DIR}backup_"$now
......
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