버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.
Sv translation
languageko_KR

이 문서는 PostgreSQL 설치 후 변경사항 발생시 추가적으로 처리해 줘야 할 내용에 대해 다룹니다.

PostgreSQL 변경시 고려할 사항


정보

PostgreSQL 버전 변경 등으로 설치 폴더 또는 포트 변경시 고려할 사항에 대해 설명합니다.

  • 레지스트리 값 업데이트
    HKEY_LOCAL_MACHINE\SOFTWARE\Samsung\MagicInfo-i\Server\Premium
    • postgrePath : 새로 설치한 PostgreSQL 경로로 수정
    • pgport : 포트가 변경되었다면 수정
      Image Modified

  • 환경 변수 값 업데이트
    • postgreSQL의 포트값 업데이트 (수정사항이 있는 경우)

...

    • Image Added

  • config.properties 값 업데이트
    • 만약 포트값이 수정되었다면 매직인포 runtime 폴더 안의 config.properties의 값도 수정되어야 합니다. 아래의 key 값을 찾아 바뀐 포트값으로 업데이트 하세요 
      1. wsrm.url=jdbc:postgresql://localhost:5432/magicinfo
      2. org.quartz.dataSource.databaseDS.URL = jdbc:postgresql://localhost:5432/magicinfo

PostgreSQL를 사용하는 환경에서의 백업


정보

매직인포 서버를 백업하려면 DB와 Runtime 폴더를 백업해야 합니다.

  1. 매직인포 postgreSQL DB 백업

...

  1. Image Added 
    1. magicinfo 계정으로 로그인
    2. 우클릭 후 backup 선택
    3. 백업 파일 이름과 저장 폴더 이름 입력 후 백업 클릭

...

    1. Image Added

  1. 매직인포 Runtime 폴더 백업 

...

  1. Image Added


PostgreSQL를 사용하는 환경에서의 복원 


  1. 매직인포 postgreSQL DB 복원
    1. postgreSQL 안에 새로운 데이터베이스를 생성합니다.

...

    1. Image Added
    2. 소유자(owner)를 magicinfo로 설정합니다. 
    3. 복원을 클릭하여 이전 내용으로 복원합니다.

...

    1. Image Added

  1. 매직인포 Runtime 폴더 복원
    1. 백업해두었던 runtime 폴더를 복원합니다.

...

    1. Image Added 





Sv translation
languageen

This document covers what to do when there are any changes after installation of PostgreSQL.

What to do after changing PostgreSQL


정보

Describes the considerations when changing the installation folder or port by changing the PostgreSQL version.

  • Update the value of registry : HKEY_LOCAL_MACHINE\SOFTWARE\Samsung\MagicInfo-i\Server\Premium
    • postgrePath : changed path
    • pgport : changed port number
      Image Added
  • Update Environment Variable
    • the port number of postgreSQL (If there are any changes)
      Image Added
  • Update config.properties values 
    • If the port number is changed, values of config.properties in runtime folder of MagicInfo have to be changed. Please find the key below and update to new port number. 
      1. wsrm.url=jdbc:postgresql://localhost:5432/magicinfo
      2. org.quartz.dataSource.databaseDS.URL = jdbc:postgresql://localhost:5432/magicinfo

Backup in the environment that uses PostgreSQL


정보

To backup MagicINFO Server, you need to backup DB and runtime folder.

  1. Backup postgreSQL DB
    Image Added 
    1. Log in to magicinfo account.
    2. Right click and select "Backup"
    3. Enter the name of backup file and the name of save folder, then click "Backup" button. 
      Image Added

  2. Backup runtime folder of MagicINFO 
    Image Added

Restore in the environment that uses PostgreSQL 


  1. Restore postgreSQL DB
    1. Create new database
      Image Added
    2. Set owner to "magicinfo"  
    3. Click "Restore" and restore the previous db
      Image Added

  2. Resotre runtime folder 
    1. Restore runtime folder that was backed up
      Image Added