우선 데이터베이스 백업, 복구를 시작하기에 앞서 필요한 프로그램들을 설치한다. 설치할 프로그램 : PUTTY, WinsCP 데이터베이스 백업 내가 할 것은 현재 ip에서 가지고 있는 데이터베이스를 백업시켜 다른 서버(ip)에 복구 시키는 걸 해볼 것이다. putty를 켜주자 여기에 본인이 백업할 데이터베이스가 있는 ip를 입력해준다.
그리고 되도록이면 아이피를 입력 후 밑에 Saved Sessions라는 곳에 자신이 입력할 ip명(ex=test) 을 써주고 저장해준다. 그리고 open 여기에 계정명, 비밀번호를 써준다.
백업할 폴더를 만들어주고 그 폴더에 postgres 권한을 준다. chown이 권한을 postgres로 바꿔주는 명령어다. [root@localhost ~]# cd /home [root@localhost home]# mkdir pg_backup2 [root@localhost home]# chown postgres:postgres pg_backup2 그 후에 pg_ba...
#
pgadmin4restore
#
postgresqldb백업
#
postgresqlrestore
#
postgres백업
#
restore
#
sqldb백업
#
sql데이터베이스
#
sql백업
#
데이터베이스백업
원문 링크 : pgAdmin4 데이터베이스 백업,복구 (명령어)