Correct dump command used in postgres backup.
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
- semaphore
|
- semaphore
|
||||||
|
|
||||||
- name: Backup postgres databases
|
- 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:
|
loop:
|
||||||
- gitea
|
- gitea
|
||||||
- nextcloud
|
- nextcloud
|
||||||
|
|||||||
Reference in New Issue
Block a user