Backup/Restore Zoneminder config

Forum for questions and support relating to the 1.24.x releases only.
Locked
gmar_87
Posts: 72
Joined: Sat Aug 13, 2011 11:38 pm
Location: Melbourne, Australia

Backup/Restore Zoneminder config

Post by gmar_87 »

I was wondering if there is a way to backup a zoneminder config so that it can be restored after fresh install or on another machine?
darkpaw
Posts: 166
Joined: Thu Apr 26, 2007 2:35 am

Re: Backup/Restore Zoneminder config

Post by darkpaw »

(bumping this thread)
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Backup/Restore Zoneminder config

Post by PacoLM »

Maybe is a good feature to implement in a newer version. Meanwhile, if you backup your database using phpmyadmin, you could restore the database whenever you want.

Regards,

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
gmar_87
Posts: 72
Joined: Sat Aug 13, 2011 11:38 pm
Location: Melbourne, Australia

Re: Backup/Restore Zoneminder config

Post by gmar_87 »

PacoLM wrote:Maybe is a good feature to implement in a newer version. Meanwhile, if you backup your database using phpmyadmin, you could restore the database whenever you want.

Regards,

PacoLM
Thanks PacoLM.

Will this database backup contain config, events or both?
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Backup/Restore Zoneminder config

Post by PacoLM »

I think that inside is everything, but I believe that the real jpeg files should be in a valid path, if not, the database could be corrupted. Maybe a 'senior' ZM user could confirm this.

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
darkpaw
Posts: 166
Joined: Thu Apr 26, 2007 2:35 am

Re: Backup/Restore Zoneminder config

Post by darkpaw »

PacoLM, I've been asking for this "feature" since 1.22, maybe even 1.21. ;) There used to be a script called "backup_zm" that would do something similar, but this was dropped very early on. It wasn't an official script, and I can't remember who wrote it.

After spending the better part of a night trying to get phpmyadmin working, I decided to just wipe it and install Core 15 and start over (again). Core 16 will be beta soon, and hopefully it has the newest version in it.
Locked