fix backup script

This commit is contained in:
yanyongyu 2021-04-02 15:18:06 +08:00
parent 8b6c9b093c
commit 5823979f13

View File

@ -8,4 +8,4 @@
# @GitHub : https://github.com/yanyongyu
###
docker run --rm --volumes-from $(docker-compose config --volumes) -v $(pwd):/backup busybox tar cvf /backup/backup-$(date +"%s").tar /data
docker run --rm --volumes-from bot_redis -v $(pwd):/backup busybox tar -cvf /backup/backup-$(date +"%s").tar -C / data/