lemmy/docker/docker_db_backup.sh

2 lines
91 B
Bash
Raw Normal View History

docker exec -it dev_lemmy_db_1 pg_dumpall -c -U rrr > dump_`date +%Y-%m-%d"_"%H_%M_%S`.sql