이 페이지의 이전 버전을 보고 있습니다. 현재 버전 보기.

현재와 비교 페이지 이력 보기

« 이전 버전 8 다음 »

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
  • Update Environment Variable
    • the port number of postgreSQL (If there are any changes)
  • 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
     
    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. 


  2. Backup runtime folder of MagicINFO 


Restore in the environment that uses PostgreSQL 


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


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