1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2025-01-18 12:34:34 +00:00
lemmy/docker/docker_db_backup.sh

5 lines
118 B
Bash
Raw Normal View History

2020-12-17 03:42:25 +00:00
#!/bin/bash
pushd dev
docker-compose exec postgres pg_dumpall -c -U lemmy > dump_`date +%Y-%m-%d"_"%H_%M_%S`.sql
popd