SponsorBlockServer/containers/backup-db/backup.sh
2022-05-17 01:29:49 -04:00

6 lines
No EOL
127 B
Bash

mkdir ./dump
pg_dump -f ./dump/sponsorTimes.dump sponsorTimes
pg_dump -f ./dump/privateDB.dump privateDB
restic backup ./dump