pleroma/postgresql/backup.sh
Verita84 729cc4df2b fix
2021-08-25 08:39:26 -06:00

4 lines
129 B
Bash

#!/bin/bash
su postgres -s /bin/bash -lc "/usr/lib/postgresql/12/bin/pg_dumpall > /saves/pleroma-`date +%Y-%m-%d-%H-%M`.pgdump"