pass
This commit is contained in:
parent
2049e224da
commit
c00a7632d5
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
COMMAND="$1"
|
||||
ARGUMENT="$2"
|
||||
|
||||
|
|
@ -11,7 +13,7 @@ pull_images() {
|
|||
|
||||
backup_database() {
|
||||
year_month=$(date +%Y%m)
|
||||
backup_date = $(date %Y%m%d_%H%M)
|
||||
backup_date=$(date +%Y%m%d_%H%M)
|
||||
mkdir -p foo "/root/medicine-backups/${year_month}"
|
||||
docker exec -i medicine-stack-postgres \
|
||||
pg_dump --no-owner -U postgres -F c \
|
||||
|
|
|
|||
Loading…
Reference in New Issue