Page 1 of 1

bring settings into a new install

Posted: Thu Nov 17, 2005 1:48 am
by caseystone
Hello!

I'm going to do a fresh install of Zoneminder, probably from the latest livecd. However I have a current installation with fairly tweaked camera settings and zones etc. I'm not sure where ZM stores those settings.

How can I save the settings from my current box and have ZM load those on the fresh install?

The current installed version (not working well) is 1.21.4 and I will be installing 1.21.3 on from livecd. For that reason I'm guessing I won't be able to keep my "options" but I'm hoping the monitor definition settings can be moved.

Thanks.

-Casey

Posted: Thu Nov 17, 2005 2:05 am
by cordel
Most of the monitor and zone setting are in the database. You could export it so that you populate the new DB with it. There are also settings as a result of zmconfig.pl that are in a file zmconfig.txt in your source directory but I don't think these are what your looking for and are easy to recreate, so only the relivent tables fromt he database should be enough.

Regards,
Cordel

Posted: Thu Nov 17, 2005 2:09 am
by caseystone
Thanks for the reply. Has the database format changed somewhat from 1.21.3 to 1.21.4 that would get me in trouble if I tried to import the database that I have now (in 1.21.4) into the fresh 1.21.3 install?

-Casey

Posted: Thu Nov 17, 2005 2:15 am
by cordel
Yes it would, there are serveral changes that would conflict.

Posted: Thu Nov 17, 2005 12:28 pm
by zoneminder
If you look at zmalter-1.21.3.sql you should see what the changes are and be able to reverse them. Or ignore them if they are not in the tables you are interested in.

Phil