lemmy/docker_db_backup.sh

2 lines
87 B
Bash
Raw Normal View History

2019-05-14 01:52:53 +00:00
docker exec -it lemmy_db_1 pg_dumpall -c -U rrr > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql