Correct dump command used in postgres backup.

This commit is contained in:
2021-11-17 11:38:27 +01:00
parent 5787f1b928
commit 2165bea5d7

View File

@@ -24,7 +24,7 @@
- semaphore
- name: Backup postgres databases
shell: docker exec psql14 psql14 -U {{ postgres_user }} {{ item }} > /home/chris/{{ item }}_{{ ansible_date_time.iso8601_basic_short }}.sql
shell: docker exec psql14 pg_dump -U {{ postgres_user }} {{ item }} > /home/chris/{{ item }}_{{ ansible_date_time.iso8601_basic_short }}.sql
loop:
- gitea
- nextcloud