pg_restore

pg_dump로 생성된 아카이브 파일에서 PostgreSQL 데이터베이스 복원. 더 많은 정보: https://www.postgresql.org/docs/current/app-pgrestore.html.

pg_restore -d {{데이터베이스_이름}} {{아카이브_파일.dump}}

pg_restore -U {{사용자_이름}} -d {{데이터베이스_이름}} {{아카이브_파일.dump}}

pg_restore -h {{호스트}} -p {{포트}} -d {{데이터베이스_이름}} {{아카이브_파일.dump}}

pg_restore --list {{아카이브_파일.dump}}

pg_restore --clean -d {{데이터베이스_이름}} {{아카이브_파일.dump}}

pg_restore -j {{2}} -d {{데이터베이스_이름}} {{아카이브_파일.dump}}