docker-pleroma/scripts/db-dump.sh
2023-08-13 01:50:00 -04:00

5 lines
137 B
Bash

#!/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