#!/bin/bash
. ./.profile
cd /project/inbound_figc
/usr/local/bin/kubectl cp journal.sql db/postgresql-1-postgresql-0:/etc/journal.sql -c postgresql-server
/usr/local/bin/kubectl exec -it postgresql-1-postgresql-0   -c postgresql-server -n db -- psql -U postgres  -d gare  -f /etc/journal.sql