[SOLVED] Migrate user and cam config, but no data

Forum for questions and support relating to the 1.30.x releases only.
Locked
sherminator
Posts: 15
Joined: Mon Jul 18, 2016 8:30 am

[SOLVED] Migrate user and cam config, but no data

Post by sherminator »

Hi everybody,

after succesfully testing Zoneminder we like to migrate our virtual test installation to real hardware. :D
Both (source and destination) is a 1.30.4 from iconner's Ubuntu repos.
What we would like best is migrating the user configs (including passwords) and the camera configs, but no data. There we would like to start from zero.
Could you give me a hint how to handle this?

Thanks a lot and many greets
Stephan
Last edited by sherminator on Wed Nov 22, 2017 11:26 am, edited 1 time in total.
bbunge
Posts: 2931
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Migrate user and cam config, but no data

Post by bbunge »

Take a dump (backup) of the zm database on the test machine and import it into a blank zm database on the new machine. Yes, the record of events will come over but zmaudit will clean them out. I've done this several times using the MySQL utility in Webmin.
sherminator
Posts: 15
Joined: Mon Jul 18, 2016 8:30 am

Re: Migrate user and cam config, but no data

Post by sherminator »

Hi,

sorry for my late reply - and thanks for your support!
Migration worked like a charm, everything runs fine.

Greets
Stephan
Locked