JH 개인 블로그
close
프로필 배경
프로필 로고

JH 개인 블로그

  • All (143)
    • Cloud (18)
      • AWS(Amazon Web Service) (4)
      • NCP(Naver Cloud Platform) (8)
      • OCI(Oracle Cloud Infrastruc.. (6)
    • DataBase (78)
      • Oracle (14)
      • MySQL & MariaDB (43)
      • PostgreSQL (8)
      • MSSQL (13)
    • DataBase Admin (14)
      • DB Admin (8)
      • Trouble shooting (6)
    • Others (31)
      • DB Monitoring (15)
      • Opensource Tool (16)
    • 여가 생활 (2)
      • 해외 여행 (0)
      • 맛집 탐방 (2)
      • 호캉스 (0)
  • 홈
  • 태그
  • 방명록
[PostgreSQL - PGDUMP 백업&복구]

[PostgreSQL - PGDUMP 백업&복구]

▶PG_DUMP 유틸리티 장점 : 특정 데이터베이스를 선택하여 백업 및 복구 할 수 있음, 테이블의 읽기 엑세스 권한 필요 ※ 데이터베이스 전체를 백업하는 경우 슈퍼유저(postgre)로 해야합니다. Dump는 SQL, File 형태로 백업 받을 수 있으며, PG_RESTORE 유틸리티를 이용하여 복원 가능. ▶ test data insert (kim사용자로 test 데이터베이스) postgres@jh-post002:/home/postgres# psql -h 192.168.1.11 -U kim -d test; test=> CREATE TABLE t AS SELECT gs as idx, '테스트 문자열' || gs AS test_string, md5(random()::text) AS random_strin..

  • format_list_bulleted DataBase/PostgreSQL
  • · 2022. 3. 24.
  • textsms
  • navigate_before
  • 1
  • navigate_next
전체 카테고리
  • All (143)
    • Cloud (18)
      • AWS(Amazon Web Service) (4)
      • NCP(Naver Cloud Platform) (8)
      • OCI(Oracle Cloud Infrastruc.. (6)
    • DataBase (78)
      • Oracle (14)
      • MySQL & MariaDB (43)
      • PostgreSQL (8)
      • MSSQL (13)
    • DataBase Admin (14)
      • DB Admin (8)
      • Trouble shooting (6)
    • Others (31)
      • DB Monitoring (15)
      • Opensource Tool (16)
    • 여가 생활 (2)
      • 해외 여행 (0)
      • 맛집 탐방 (2)
      • 호캉스 (0)
최근 글
인기 글
최근 댓글
태그
  • #navercloud
  • #mssql
  • #ncp
  • #oracle
  • #mysql
  • #MariaDB
  • #oci
  • #monitoring
  • #mha
  • #PostgreSQL
전체 방문자
오늘
어제
전체

티스토리툴바