docker-pleroma/scripts/db-dump.sh

5 lines
137 B
Bash
Raw Normal View History

2023-08-13 05:50:00 +00:00
#!/bin/sh
docker compose down
docker compose up db -d
docker exec -u pleroma pleroma_db pg_dump -Fc pleroma > db.dump
docker compose down