aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/restoredb.sh
blob: baaa8a6baec62d50c7de2eaad1b6d0fe23a1cb86 (plain)
1
2
3
4
5
#!/bin/bash
DATABASES=( ET.pg serenitasdb.pg dawndb.pg investorsdb.pg )
for db in ${DATABSES[@]}; do
    pg_restore -p 5432 -d postgres -c -C "/home/share/guillaume/$db"
done