pass
This commit is contained in:
parent
4c3cb380d9
commit
997faa17c1
|
|
@ -4,7 +4,7 @@ set -e
|
|||
|
||||
cd /root/medicine-backups/
|
||||
|
||||
weekday=$(date +%u)
|
||||
weekday=$(date +%a)
|
||||
backup_filename="medicine_${weekday}.sql"
|
||||
archive_filename="medicine_${weekday}.tar.gz"
|
||||
docker exec -i medicine-stack-postgres pg_dump --no-owner -U postgres -F p medicine > "${backup_filename}" \
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ set -e
|
|||
|
||||
cd /root/medicine-backups/
|
||||
|
||||
weekday=$(date +%u)
|
||||
weekday=$(date +%a)
|
||||
backup_filename="medicine_remd_${weekday}.sql"
|
||||
archive_filename="medicine_remd_${weekday}.tar.gz"
|
||||
docker exec -i medicine-stack-postgres pg_dump --no-owner -U postgres -F p medicine_remd > "${backup_filename}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue