2
0
Fork 0
bookwyrm/postgres-docker/backup.sh

4 lines
87 B
Bash
Raw Normal View History

2020-10-28 16:10:50 -07:00
#!/bin/bash
filename=backup__$(date +%F)
2021-12-17 06:11:19 +00:00
pg_dump -U bookwyrm > /backups/$filename.sql