Where Are Events Stored

Forum for questions and support relating to the 1.28.x releases only.
Locked
AlexB
Posts: 18
Joined: Mon Aug 03, 2015 3:18 pm

Where Are Events Stored

Post 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!
rounddice
Posts: 2
Joined: Tue Aug 04, 2015 4:13 pm

Re: Where Are Events Stored

Post 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!
AlexB
Posts: 18
Joined: Mon Aug 03, 2015 3:18 pm

Re: Where Are Events Stored

Post 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?
mikb
Posts: 704
Joined: Mon Mar 25, 2013 12:34 pm

Re: Where Are Events Stored

Post 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. :)
Locked