ansible/playbooks/apps/files/bin/dump-manuels

4 lines
179 B
Text
Raw Permalink Normal View History

2024-10-11 16:42:01 +02:00
#!/bin/bash
set -euo pipefail
/usr/bin/docker compose -f /mnt/data/manuels/docker-compose.yaml exec -T db pg_dump -Fc -U manuels manuels > /mnt/data/manuels/db_export/backup.dump