tinymouse wrote: ↑Fri Jan 27, 2023 8:46 pm
If ZoneMinder gets removed when upgrading to 22.04 (from 20.04) and has to be re-installed, what about the configuration setting for all the monitors? Do we need to redo all the monitor definition also?
If you do an OS release upgrade, ZM does not get removed. After upgrading -
if the OS release upgrade goes well and the system runs fine- you will find the ZM configuration as it was before OS release upgrading. But, again, personally I'm not recommending.
If you start from scratch (with a fresh OS installation), you could use a saved ZM backup db as Magic is suggesting. It works: I used this method for my 'experiments' from scratch for 20.04 and 22.04.
Having a ZM db backup is a good idea in any case. To avoid to configure ZM again. Yes, It's boring...
Backup
======================================================================
sudo service zoneminder stop
mysqldump -uroot -p zm > zm.sql (then move zm.sql in a safe device)
sudo service zoneminder start
======================================================================
Restore
======================================================================
installation of all the LAMP stack and ZM (without configure anything in ZM)
sudo service zoneminder stop
(then move back zm.sql from the safe device)
mysql -uroot -p zm < zm.sql
sudo service zoneminder start
======================================================================
So, in the new system you will have the exact ZM configuration (monitor and so on) as the old one.