Compare commits

..

2 Commits

Author SHA1 Message Date
Florian Hartwich 5bbb7e1c1f Fix backup script 2017-08-27 15:52:34 +02:00
Florian Hartwich be93bc5860 Fix backup script 2017-08-27 15:50:28 +02:00
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ col=(app_user awarding decoration rank squad user promotion player war campaign)
if [ -z "$1" ]
then
DATE=$(date '+%Y-%m-%d')
cp -R ../api/resource ${DATE}/
mkdir -p ${DATE}/resource
cp -R ../api/resource/ ${DATE}/
else
DATE=${1}
tar -xzf ${DATE}.tar.gz