7 lines
234 B
Bash
Executable File
7 lines
234 B
Bash
Executable File
#!/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'
|