diff --git a/backup/backup.sh b/backup/backup.sh index 5a4f820..a5e848c 100755 --- a/backup/backup.sh +++ b/backup/backup.sh @@ -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