Events and Images Save in Different Location.. Possible?

Forum for questions and support relating to the 1.25.x releases only.
Locked
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Events and Images Save in Different Location.. Possible?

Post by kamil »

Good Day guys.. is it possible to change the location of the images made by zoneminder to different path? I want the zoneminder to save the images to different partition. Is it posible? If yes.. how would I do that.?

Thanks for the help :)
river100
Posts: 145
Joined: Sun Oct 07, 2007 5:52 pm
Location: Louisiana

Re: Events and Images Save in Different Location.. Possible?

Post by river100 »

if you haven't found the solution yet, you have to,
stop ZM
copy the events dir to the location you want and then add or replace a symlink
to that location. it really depends on what distro you used and how ZM
was installed. some have symlinks and some installs use a real events folder.

you may need to rename or delete the original events folder
i usually rename them in case i mess up.
the best way to find a how to is search for add hard drive for event storage
bs27975
Posts: 24
Joined: Wed Apr 06, 2011 2:03 am
Location: K-W, Ontario, Canada (Kubuntu 12.04LTS, zm 1.25, i7-2600K)

Re: Events and Images Save in Different Location.. Possible?

Post by bs27975 »

river100 wrote:if you haven't found the solution yet, you have to,
stop ZM
copy the events dir to the location you want and then add or replace a symlink
to that location. it really depends on what distro you used and how ZM
was installed. some have symlinks and some installs use a real events folder.

you may need to rename or delete the original events folder
i usually rename them in case i mess up.
the best way to find a how to is search for add hard drive for event storage
Reality check (just in case) please ...

Is it really that simple?

stop zm, copy /var/cache/zoneminder somewhere you like, ln -s /var/cache/zoneminder {favourite place}

[Your pardon, just, having been bitten by supposedly simple things in the past ... thought I would check.]
____________
Edit:

OK, thanks to another post, got to http://www.zoneminder.com/wiki/index.ph ... Hard_Drive

wiki updated so that storage location takes you somewhere useful, like to the orphan article above.

Summary: ln's will get schmucked at upgrade, use fstab / mount points instead. (Per article above.)
Kubuntu 12.04LTS, zm 1.25, i7-2600K
Locked