Skip to content

Commit 9a8a7ca

Browse files
committed
[Upd] fix folder name
1 parent d188933 commit 9a8a7ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backup_db.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
mkdir -p /home/incubator/dumps/$(date +"%y-%m-%d")
1+
mkdir -p /home/incubator/dumps/$(date +"%y-%m")
22
docker-compose -f /home/incubator/docker/apps/incubator/docker-compose.yml exec db /usr/local/bin/pg_dump --dbname="incubator_db" --username="incubator" -f /backup.dump
33
docker cp incubator_db_1:/backup.dump /home/incubator/dumps/$(date +"%y-%m")/$(date +"%y-%m-%d").dump

0 commit comments

Comments
 (0)