OpenSource ERP Software dedicated to small to mid-size companies

           Become Platinium or Gold Neogia Partner

Updating production server

Contents

Updating Production Server

initialisation

stopofbiz.sh

Backup database and application program

pg_dump production > production.sql.`date +%d%m%y`
pg_dump integration > integration.sql.`date +%d%m%y`
cp -a ofbizNeogia ofbizNeogia.`date +%d%m%y`
tar cjf ofbizNeogia.`date +%d%m%y`.tar.bz2 ofbizNeogia/

Update Integration application program

cvs up -dPr NEOGIA_versionNumber
cvs -nq update

Update database

dropdb integration;
createdb integration;
psql integration < production.sql.ddMMYY; 
ant run-install-seed-fr
sh startofbiz.sh
pg_dump integration > integration.sql.ddMMYY.versionNumber

test integration server

sh startofbiz.sh

Update Production application program an databse

cvs up -dPr NEOGIA_versionNumber
grep ">>>>" * -R
psql production < integration.sql.ddMMYY.versionNumber
ant 
sh startofbiz.sh


Alter table public.W_RUN drop column CRQST_ID_NAME;