1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-02-01 22:36:45 +01:00
Pinafore-Web-Client-Frontend/bin/backup-mastodon-data.sh

9 lines
186 B
Bash
Raw Normal View History

#!/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 .