Fix backup script
parent
5bbb7e1c1f
commit
51160e6455
Binary file not shown.
Before Width: | Height: | Size: 95 B |
|
@ -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}/resource
|
||||
else
|
||||
DATE=${1}
|
||||
tar -xzf ${DATE}.tar.gz
|
||||
|
|
Loading…
Reference in New Issue