Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Import data from backup directory (PostgreSQL)

Code Block
languagebash
If you used pg_dumpall
psql -U postgres -p 5432 < fd_db_bkp.bkp

if you used pg_dump
pg_restore --host ${HOST} --port ${PORT} --schema FD --username postgres -W --verbose --format d --file ${PATH/TO/BACKUP}/FD flexdeploy
pg_restore --host ${HOST} --port ${PORT} --schema FF --username postgres -W --verbose --format d --file ${PATH/TO/BACKUP}/FF flexdeploy
pg_restore --host ${HOST} --port ${PORT} --schema FD_ADMIN --username postgres -W --verbose --format d --file ${PATH/TO/BACKUP}/FD_ADMIN flexdeploy

...