MUNG

  • 홈
  • 태그
  • 방명록

postgre 1

[PostgreSQL] 데이터베이스 백업 및 복원(pg_dump, pg_restore)

데이터베이스 관리에서 백업은 아주 중요한 작업이다. PostgreSQL에서 데이터베이스를 백업하고 복원하기 위해 pg_dump와 pg_restore 두가지 주요 도구를 제공한다. pg_dump(데이터베이스 백업)pg_dump는 PostgerSQL 데이터베이스를 백업하는 데 사용되는 도구다. 백업된 데이터는 SQL 스크립트나 맞춤형 포맷으로 저장될 수 있으며, 나중에 이 파일을 사용하여 데이터베이스를 복원할 수 있다.pg_dump -h your-hostname -U your-username -d your-database -F c -b -v -f "/path/to/your/backup/file.backup"옵션 설명:-h: 백업하려는 데이터베이스가 위치한 서버의 호스트 이름 또는 ip 주소를 지정한다.-U:..

PostgreSQL 2024.08.12
이전
1
다음
더보기
프로필사진

MUNG

  • 분류 전체보기 (9)
    • Spring Boot (8)
    • PostgreSQL (1)

Tag

bcrypt, Exception, Chunk, Spring Context, spring been, 스프링, Aspect Oriented Programming, spring, 횡단 관심사, 관점지향, 스프링 부트, MVC, read write, Spring Boot, db, Annotaion, 대용량 처리, 권한 설정, RestControllerAdvice, postgre,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바