Server-Utils/mastodon/dobackup.sh

6 lines
123 B
Bash
Executable File

#!/bin/bash
BUDIR="/home/mastodon/.bu/"
pg_dump mastodon_production > "${BUDIR}/$(date +%Y%m%d)-mastodon_production.sql"