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 | 29 | 30 |
Tags
- php7
- nosql
- NVM
- ubuntu
- Node
- API design
- JavaScript
- 리눅스
- 몽고DB
- PGSQL
- ScrollBooster
- 접속자수
- 데이터베이스
- db
- php
- nginx
- nodejs
- 스크롤부스터
- 우분투
- api 문서
- Linux
- ulimit
- Redis
- 18.04
- Stoplight
- node.js
- MongoDB
- tbls
- PostgreSQL
- 엔진엑스
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