mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-25 09:03:41 +01:00
Add mastodon-db-backup
This commit is contained in:
parent
d7c600ae3c
commit
fcd582f4a6
3
bin/mastodon-db-backup
Executable file
3
bin/mastodon-db-backup
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sudo -u mastodon pg_dump -U mastodon -Fc mastodon_production -p 5432 -f "mastodon-db-$(date '+%Y-%m-%d').sql"
|
Loading…
Reference in New Issue
Block a user