public-service-news/news-postgres.backup

7 lines
234 B
Plaintext
Raw Permalink Normal View History

2024-05-01 19:11:21 +00:00
#!/bin/sh
# podman exec -it systemd-news-postgres psql -U postgres -f /backup/dump.sql
echo 'news-postgres: creating backup'
podman exec systemd-news-postgres pg_dumpall -U postgres -f /backup/dump.sql
echo 'news-postgres: finished'