restore.png

pg_restore 개요

pg_restore 이란?

pg_restore is a utility for restoring a PostgreSQL database from an archive created by pg_dump in one of the non-plain-text formats.

pg_restorepg_dump가 만든 아카이브 백업 파일에서 PostgreSQL 데이터베이스를 복원하기 위해 사용하는 유틸리티입니다.

pg_restore은 두 가지 모드로 작동할 수 있습니다.

pg_restore 문법

pg_restore [connection-option...] [option...] [filename]


pg_restore 사용 예시