7 lines
118 B
Plaintext
7 lines
118 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
set -eu
|
||
|
cd /var/lib/postgresql/
|
||
|
pg_dumpall > /backup/postgresql/dump.tmp
|
||
|
mv /backup/postgresql/dump{.tmp,}
|