Commit 2f5cd679 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

backup.sh: update paths

parent a55c090c
......@@ -23,10 +23,10 @@ fi
now=$(date +"%Y-%m-%d_%H:%M:%S")
if [ $COMPLETE -eq 1 ]; then
filename="${DIR}backup_"$now
zip -r $filename web2py/applications/vidjil/uploads/ web2py/applications/vidjil/databases/
zip -r $filename web2py/applications/vidjil/databases/ /mnt/result/results/ /mnt/upload/uploads/
else
filename="${DIR}backup_essentials_"$now
zip -r $filename web2py/applications/vidjil/databases/ web2py/applications/vidjil/uploads/results_file* web2py/applications/vidjil/uploads/fused_file* web2py/applications/vidjil/uploads/analysis_file*
zip -r $filename web2py/applications/vidjil/databases/ /mnt/result/results/
fi
echo $filename
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