Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/deploy/restore.sh
tomleb cecc6d04a1 Add postgres docker support
Not tested yet as the current postgres dump is incompatible with the
application. We need to fix ourselve to one schema and stick to it for
whatever database backend we support.
2017-05-06 18:48:21 -04:00

5 lignes
145 o
Bash
Fichier exécutable

#!/bin/bash
# Restore the database from a postgres dump
pg_restore --username "${POSTGRES_USER}" -d ${POSTGRES_DB} "/${PANTSU_POSTGRES_DBFILE}"