Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 18.04
- db
- api 문서
- 리눅스
- Linux
- tbls
- Redis
- ubuntu
- 우분투
- nginx
- 데이터베이스
- 스크롤부스터
- nosql
- API design
- 엔진엑스
- ulimit
- Stoplight
- NVM
- JavaScript
- ScrollBooster
- nodejs
- Node
- MongoDB
- 접속자수
- PGSQL
- php
- PostgreSQL
- 몽고DB
- php7
- node.js
Archives
- Today
- Total
Parallel World
Postgresql ROLE 백업 및 복구 본문
ROLE 백업
pg_dumpall -h localhost -p 5432 -U postgres -v --roles-only -f "/path/to/useraccts.sql"
테이블 스페이스가 포함된 모든 글로벌 백업
pg_dumpall -h localhost -p 5432 -U postgres -v --globals-only -f "/path/to/globals.sql"
ROLE 복원
psql -h localhost -d postgres -U postgres -f "/path/to/useraccts.sql"
'프로그래밍 > Linux' 카테고리의 다른 글
Nginx를 Node.js Reverse Proxy Server 설정 (0) | 2020.01.22 |
---|---|
Ubuntu18.04 - Node.js 프로세스 관리도구 PM2 (0) | 2020.01.22 |
Ubuntu18.04 - nvm 및 nodejs 최신버전설치 (0) | 2019.09.09 |
Postgresql 유저생성 및 데이터베이스 생성하기 (0) | 2019.09.06 |
Ubuntu 18.04 - Postgresql 설치 (0) | 2019.09.06 |
Comments