Page 1 of 1

Creating network server

Posted: Tue May 03, 2011 11:11 am
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

Re: Creating network server

Posted: Wed May 04, 2011 6:02 am
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)

Re: Creating network server

Posted: Wed May 04, 2011 11:50 am
by Jeret13
Thanks for sharing...

Ok, so anyone have used webmin? as a network server..

Re: Creating network server

Posted: Thu Jun 09, 2011 2:27 am
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...

Re: Creating network server

Posted: Thu Jun 09, 2011 7:05 am
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