mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-21 22:22:07 +02:00

* common/p*: add Korean translation * Update pages.ko/common/perldoc.md Co-authored-by: Chooooo <contact@choo.ooo> * Update pages.ko/common/pcdovtoppm.md Co-authored-by: Chooooo <contact@choo.ooo> --------- Co-authored-by: Chooooo <contact@choo.ooo>
1 KiB
1 KiB
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}}