migrate zmconfig.txt

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
pchan
Posts: 50
Joined: Thu Jan 15, 2004 9:38 pm

migrate zmconfig.txt

Post by pchan »

It would be very nice, and probably fairly easy to be able to migrate a zmconfig.txt from a previous installation to a new one. It seems somewhat tedious to answer all the questions each installation. In reality, I think very little changes between versions wrt the questionaire.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: migrate zmconfig.txt

Post by zoneminder »

Hi,

This is kind of the idea really. If you download a new version, or have a new installation just run 'configure <options>' and then copy the zmconfig.txt from your existing install to the zm directory. Then just run 'perl zmconfig.pl -noi', assuming you don't want to change anything. It will figure out which configuration to add or drop and sort your DB out in one go. Then just 'make', 'make install' as before.

Phil,
Post Reply