mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-15 21:41:43 +00:00
Adding a docker db backup script.
This commit is contained in:
parent
20510abf12
commit
8d4ed4de39
1 changed files with 1 additions and 0 deletions
1
docker_db_backup.sh
Executable file
1
docker_db_backup.sh
Executable file
|
@ -0,0 +1 @@
|
|||
docker exec -it lemmy_db_1 pg_dumpall -c -U rrr > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql
|
Loading…
Reference in a new issue