diff --git a/host.yaml b/host.yaml index 7613be3..cd4ef46 100644 --- a/host.yaml +++ b/host.yaml @@ -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