Creating network server

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
Jeret13
Posts: 4
Joined: Tue May 03, 2011 10:52 am

Creating network server

Post by Jeret13 »

Hello,

I hope I'm posting under the right section here. I'm new to zm and i would like to change the event directories to the other pc. Well this is the scenario, i've installed the zm on linux debian and i would like to change the events directory to my other pc which is ubuntu server via networking.

Anyone have tried this before? Looking forward to hear from you guys soon. Thanks
Flasheart
Posts: 342
Joined: Thu Jul 06, 2006 2:27 pm

Re: Creating network server

Post by Flasheart »

Sure.

It's a twofold process:

1. Move database zm to the new server. (Typically - you can leave it in place and access is remotely but that's probably not what you're wanting). Most people would use mysqldump and mysql to restore the sqlfile. (Google for backup mysql and restore)

2. Move the events directory to the new machine.

Some caveats:

Turn off zm first on both machines.
Backup everything.
Do not turn zm on until it's complete. (Or it will happily eat your database)
Jeret13
Posts: 4
Joined: Tue May 03, 2011 10:52 am

Re: Creating network server

Post by Jeret13 »

Thanks for sharing...

Ok, so anyone have used webmin? as a network server..
whatboy
Posts: 304
Joined: Mon Aug 31, 2009 10:31 pm

Re: Creating network server

Post by whatboy »

Install NFS On server put folder you want to share in the /etc/exports

on zoneminder put folder you want to see in /etc/fstab

Softlink events with the shared folder...
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Re: Creating network server

Post by Flash_ »

Use soft links only with caution. Upgrading may remove them and kill your database;

Hard links better. See:

http://www.zoneminder.com/wiki/index.ph ... Hard_Drive
Post Reply