1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2025-01-24 14:48:21 +00:00
lemmy/docker/docker_db_backup.sh

3 lines
111 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2020-12-16 22:42:25 -05:00
docker-compose exec postgres pg_dumpall -c -U lemmy > dump_`date +%Y-%m-%d"_"%H_%M_%S`.sql