#!/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'