Page 1 of 1

Where Are Events Stored

Posted: Tue Aug 04, 2015 2:03 pm
by AlexB
I was just wondering where unarchived events and archived events are stored on the hard drive. The reason I'd like to know is because I've been having trouble saving event filters in the ZoneMinder console so I'd just like to create a cron job that deletes unarchived events and keeps archived events at a certain time every month, if I can. Unless, somebody can help me figure out why filters aren't saving, that would be appreciated. Also, if you see a problem with creating a cron job instead, could you please tell me the reason it may not work?

Also, here's the link to the other topic about filtered events not saving.
http://www.zoneminder.com/forums/viewto ... 32&t=23333

Thanks!

Re: Where Are Events Stored

Posted: Tue Aug 04, 2015 4:57 pm
by rounddice
Your location may vary, but I'm running ubuntu server and for me it's stored under /var/cache/zoneminder/events

another option is to use "locate events" in terminal to search for it.

Good luck!

Re: Where Are Events Stored

Posted: Tue Aug 04, 2015 6:18 pm
by AlexB
rounddice wrote:Your location may vary, but I'm running ubuntu server and for me it's stored under /var/cache/zoneminder/events
Thanks, but are archived events stored in a different location?

Re: Where Are Events Stored

Posted: Tue Aug 04, 2015 6:56 pm
by mikb
AlexB wrote:
rounddice wrote:Your location may vary, but I'm running ubuntu server and for me it's stored under /var/cache/zoneminder/events
Thanks, but are archived events stored in a different location?
No -- it's a database flag, no data is actually moved to "archive" the event. :)