7 lines
234 B
Plaintext
7 lines
234 B
Plaintext
|
#!/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'
|