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