diff --git a/bin/mastodon-db-backup b/bin/mastodon-db-backup new file mode 100755 index 0000000..f099742 --- /dev/null +++ b/bin/mastodon-db-backup @@ -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"