# SQL(Postgres) 백엔드 대신 플랫/텍스트 백킹 파일을 사용할 수 있는 옵션

**URL:** <https://meta.discourse.org/t/option-to-use-flat-text-backing-files-instead-of-sql-postgres-backend/152787>\
**Category:** Feature\
**Created:** [5월 26, 2020, 3:45오후 UTC](https://meta.discourse.org/t/option-to-use-flat-text-backing-files-instead-of-sql-postgres-backend/152787 "2020-05-26T15:45:55Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)\
**Post date:** [5월 28, 2020, 4:01오전 UTC](https://meta.discourse.org/t/option-to-use-flat-text-backing-files-instead-of-sql-postgres-backend/152787/6 "2020-05-28T04:01:12Z")

</div>

> [@adrelanos](#):
>
> DB 백업 및 복원 기능이 손상되거나 고장난 경우를 대비하여, 긴급한 최후의 수단으로 투명하고 사람이 읽을 수 있는 텍스트 형식의 백업 방식을 제안합니다.

Postgres는 `pg_dump`라는 평문 백업 솔루션을 제공합니다.

> **[pg\_dump](https://www.postgresql.org/docs/12/app-pgdump.html)**
>
> pg\_dump pg\_dump — export a PostgreSQL database as an SQL script or to other formats Synopsis pg\_dump \[connection-option...\] \[option...\] \[dbname\] …

> pg\_dump는 PostgreSQL 데이터베이스를 백업하는 유틸리티입니다.

> 스크립트 덤프는 데이터베이스가 저장된 시점의 상태로 재구성하는 데 필요한 SQL 명령을 포함하는 평문 파일입니다.

---

_[View the full topic](https://meta.discourse.org/t/option-to-use-flat-text-backing-files-instead-of-sql-postgres-backend/152787)._
