bring settings into a new install

Support and queries relating to all previous versions of ZoneMinder
Locked
caseystone
Posts: 98
Joined: Fri Feb 25, 2005 3:41 am
Location: England

bring settings into a new install

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
caseystone
Posts: 98
Joined: Fri Feb 25, 2005 3:41 am
Location: England

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Yes it would, there are serveral changes that would conflict.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
Locked