Ok Thanks for the clarification! One more question: When you install a new version of OpenMeetings using your new method via CLI: admin -i --file $BackupFile => Will the install process just import the configuration values from the backup or first install the regular ones and then update it with the one from the backup
Sebastian 2012/4/28 Maxim Solodovnik <[email protected]> > Hello Sebastian, > > Both command line and web will be import/export configurations > > If configuration exists only value/comment/deleted will be updated > cfg.setConf_value(cfgElem.elementText("value")); > cfg.setUpdatetime(new Date()); > cfg.setDeleted(cfgElem.elementText("deleted")); > cfg.setComment(cfgElem.elementText("comment")); > > If configuration was not exists it will be added. > > If DB contains configurations missing in the XML they will be ignored. > > import only updates/inserts configurations from the xml into DB (existing > data is not purging) > > On Sat, Apr 28, 2012 at 18:33, [email protected] < > [email protected]> wrote: > >> Hi Maxim, >> >> will the configuration values only be imported when you install from CLI >> or also via Web-Interface Upload ? >> >> How will the import work if the new version of OpenMeetings contains >> configuration values that do not exist in the backup file? >> Will you check the configuration table that it is complete after the >> backup is imported? >> >> And How will the import work if the configuration values already exists? >> Will it perform an "insert" or and "update"? Will there be duplicated >> configuration keys after the import if you did no empty the table manually >> before importing? >> >> Sebastian >> >> 2012/4/28 Maxim Solodovnik (JIRA) <[email protected]> >> >>> >>> [ >>> https://issues.apache.org/jira/browse/OPENMEETINGS-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] >>> >>> Maxim Solodovnik resolved OPENMEETINGS-245. >>> ------------------------------------------- >>> >>> Resolution: Fixed >>> >>> > configuration table is not backup/restored >>> > ------------------------------------------ >>> > >>> > Key: OPENMEETINGS-245 >>> > URL: >>> https://issues.apache.org/jira/browse/OPENMEETINGS-245 >>> > Project: Openmeetings >>> > Issue Type: Improvement >>> > Components: BuildsAndReleases >>> > Affects Versions: 2.0 Apache Incubator Release >>> > Reporter: Maxim Solodovnik >>> > Assignee: Maxim Solodovnik >>> > Fix For: 2.0 Apache Incubator Release >>> > >>> > >>> > configuration table is not backup/restored >>> >>> -- >>> This message is automatically generated by JIRA. >>> If you think it was sent incorrectly, please contact your JIRA >>> administrators: >>> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa >>> For more information on JIRA, see: >>> http://www.atlassian.com/software/jira >>> >>> >>> >> >> >> -- >> Sebastian Wagner >> https://twitter.com/#!/dead_lock >> http://www.openmeetings.de >> http://www.webbase-design.de >> http://www.wagner-sebastian.com >> [email protected] >> > > > > -- > WBR > Maxim aka solomax > -- Sebastian Wagner https://twitter.com/#!/dead_lock http://www.openmeetings.de http://www.webbase-design.de http://www.wagner-sebastian.com [email protected]
