moviewyrm/postgres-docker/backup.sh

4 lines
88 B
Bash
Raw Normal View History

2020-10-28 23:10:50 +00:00
#!/bin/bash
filename=backup__$(date +%F)
pg_dump -U fedireads > /backups/$filename.sql