Backup/Restore Zoneminder config

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

Backup/Restore Zoneminder config

Post by gmar_87 » Tue Sep 06, 2011 9:42 am

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: 164
Joined: Thu Apr 26, 2007 2:35 am

Re: Backup/Restore Zoneminder config

Post by darkpaw » Wed Sep 07, 2011 11:39 am

(bumping this thread)

PacoLM
Posts: 970
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Backup/Restore Zoneminder config

Post by PacoLM » Wed Sep 07, 2011 12:15 pm

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

mini-ITX system (4 IPCams - Ubuntu20.04 - ZM1.34.15)
TelegramBot

gmar_87
Posts: 69
Joined: Sat Aug 13, 2011 11:38 pm
Location: Melbourne, Australia

Re: Backup/Restore Zoneminder config

Post by gmar_87 » Thu Sep 08, 2011 11:46 am

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: 970
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Backup/Restore Zoneminder config

Post by PacoLM » Thu Sep 08, 2011 9:32 pm

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

mini-ITX system (4 IPCams - Ubuntu20.04 - ZM1.34.15)
TelegramBot

darkpaw
Posts: 164
Joined: Thu Apr 26, 2007 2:35 am

Re: Backup/Restore Zoneminder config

Post by darkpaw » Fri Sep 09, 2011 1:32 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests