mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-29 05:40:49 +03:00
Create an image for db backups
This commit is contained in:
6
containers/backup-db/backup.sh
Normal file
6
containers/backup-db/backup.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
mkdir ./dump
|
||||
|
||||
pg_dump -f ./dump/sponsorTimes.dump sponsorTimes
|
||||
pg_dump -f ./dump/privateDB.dump privateDB
|
||||
|
||||
restic backup ./dump
|
||||
Reference in New Issue
Block a user