added db backup script
This commit is contained in:
parent
83a1f7934f
commit
07db1784ff
2 changed files with 4 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,3 +4,4 @@ postgres
|
||||||
build
|
build
|
||||||
config
|
config
|
||||||
soapbox.zip
|
soapbox.zip
|
||||||
|
db.sql
|
||||||
|
|
3
take_backup.sh
Executable file
3
take_backup.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
podman exec pleroma-db pg_dump -U pleroma pleroma > db.sql
|
Loading…
Reference in a new issue