Fix backup script

feature/user-self-management
Florian Hartwich 2017-08-27 15:52:34 +02:00
parent be93bc5860
commit 5bbb7e1c1f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ if [ -z "$1" ]
then
DATE=$(date '+%Y-%m-%d')
mkdir -p ${DATE}/resource
cp -R ../api/resource ${DATE}
cp -R ../api/resource/ ${DATE}/
else
DATE=${1}
tar -xzf ${DATE}.tar.gz