Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: genesyslearner on November 05, 2018, 01:03:59 PM

Title: Accessing History of Configuration Changes into xml
Post by: genesyslearner on November 05, 2018, 01:03:59 PM
Hi Experts,

I have been trying to get the history of configuration changes into xml file by following the below genesys document:-

https://docs.genesys.com/Documentation/FR/8.5.1/Dep/ConfHistCh

I tried the steps as explained in the doc but not able to get the xml file. Although i do get data in the database table cfg_hdb_object but i am struggling to get the xml export.

Could anyone help me on this?
Title: Re: Accessing History of Configuration Changes into xml
Post by: catanirex on November 05, 2018, 01:21:09 PM
Have you run the confserv.exe to do the export? If on Windows, try to run it in a command window an see if you get anyerror message

Start cmd as an administrator, navigate to where you have confserv installed (D:\GCTI\confserv) and do the export:


confserv.exe -dumpauditxml export.xml

Title: Re: Accessing History of Configuration Changes into xml
Post by: hsujdik on November 05, 2018, 02:17:21 PM
Also confirm that you are running a version newer than 8.5.101.19 since there was a bug on versions before that.
Title: Re: Accessing History of Configuration Changes into xml
Post by: genesyslearner on November 06, 2018, 10:31:15 AM
Thanks for help catanirex. It worked just fine. The silly mistake i was doing while running the startup command was using startServer.exe.
Sure hsujdik, i am using the version newer to 8.5.101.19.

But the solution is not working for any other instance of config server as i dont want to do it on Primary Config server anymore.

I made a new config server application, you can say a dummy one(installed as well) and configured it to the same db. Then when i ran the startup command for export file, it didnt give my any export file but it gave me an error:-  Config server is running in Read Only mode.

Any pointer?
Title: Re: Accessing History of Configuration Changes into xml
Post by: cavagnaro on November 06, 2018, 11:57:50 AM
You can't run 2 cfgserver against a single DB. There are some locks at DB that CFGSERVER do in order to avoid conflicts.

Enviado de meu E6633 usando o Tapatalk

Title: Re: Accessing History of Configuration Changes into xml
Post by: catanirex on November 07, 2018, 07:02:32 AM
Why NOT run it on primary config server? As mentioned in the documentation, the main confserv can be running. Just start a "second" instance with these parameters that only will do the export and then close it self.
Title: Re: Accessing History of Configuration Changes into xml
Post by: genesyslearner on November 12, 2018, 09:34:32 AM
Thanks cavagnaro. that was so silly of me to even try that.
And catanirex, it worked. Thanks