mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2026-11-23 09:36:38 -06:00
10 lines
175 B
Bash
Executable File
10 lines
175 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# A simple script to push a backup of your database.
|
|
|
|
if [ -z ${PGDATA+x} ]; then
|
|
export PGDATA=/var/lib/postgresql/data/pgsql
|
|
fi
|
|
|
|
wal-g backup-push "$PGDATA"
|