moviewyrm/postgres-docker/backup.sh
2020-10-28 16:10:50 -07:00

3 lines
88 B
Bash
Executable file

#!/bin/bash
filename=backup__$(date +%F)
pg_dump -U fedireads > /backups/$filename.sql