1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2025-01-13 19:00:58 +00:00
lemmy/docker_db_backup.sh
2019-05-13 18:52:53 -07:00

2 lines
87 B
Bash
Executable file

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