added db backup script

This commit is contained in:
Paul Wilde 2022-11-11 18:55:43 +00:00
parent 83a1f7934f
commit 07db1784ff
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View file

@ -4,3 +4,4 @@ postgres
build
config
soapbox.zip
db.sql

3
take_backup.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
podman exec pleroma-db pg_dump -U pleroma pleroma > db.sql