Pinafore-Web-Client-Frontend/bin/backup-mastodon-data.sh

9 lines
186 B
Bash
Executable File

#!/usr/bin/env bash
set -x
set -e
PGPASSWORD=pinafore pg_dump -U pinafore -w pinafore_development > fixtures/dump.sql
cd mastodon/public/system
tar -czf ../../../fixtures/system.tgz .