Fix backup script
parent
51160e6455
commit
6123a39e55
|
@ -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}/resource
|
cp -R ../api/resource/ ${DATE}/
|
||||||
else
|
else
|
||||||
DATE=${1}
|
DATE=${1}
|
||||||
tar -xzf ${DATE}.tar.gz
|
tar -xzf ${DATE}.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue