Fix backup script

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 B

View File

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