pinafore/bin/backup-mastodon-data.sh

9 wiersze
211 B
Bash
Czysty Zwykły widok Historia

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