Answers for "restroe pg_dump example"

SQL
0

restroe pg_dump example

docker exec -it (container-name) bash # inter container
# go dump file location it will easy to target restore file
psql -U username -d dbname < filename.sql # then run this for restore 
-- For Postgres versions 9.0 or earlier
psql -U username -d dbname -1 -f filename.sql
Posted by: Guest on March-28-2022

Code answers related to "SQL"

Browse Popular Code Answers by Language