mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-01 16:03:06 +01:00
4 lines
131 B
Bash
Executable File
4 lines
131 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
sudo -u mastodon pg_dump -U mastodon -Fc mastodon_production -p 5432 -f "mastodon-db-$(date '+%Y-%m-%d').sql"
|