Commit dc0a48ae authored by Marc Duez's avatar Marc Duez

backup.sh: filename also includes time

parent d5af7194
......@@ -20,7 +20,7 @@ if [ $# -ge 1 ]; then
DIR="$1/"
fi
now=$(date +"%Y_%m_%d")
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/
......
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