Deleting Events?

Support and queries relating to all previous versions of ZoneMinder
Locked
Maxxarcade
Posts: 36
Joined: Sun Jun 18, 2006 3:29 am

Deleting Events?

Post by Maxxarcade »

Is there a way to clear ALL events (except archive) with one button? Sometimes it takes me 15 minutes to clear all the events going a page at a time. Am I overlooking something?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Curently there isn't apart from either selecting all events (click on 'view all') or setting up a filter. This is on the TBD list tho.
Phil
User avatar
johabba
Posts: 26
Joined: Mon Jan 24, 2005 11:01 am

Post by johabba »

what is the best way to delete events w/out screwing up the database? After removing them from the filesystem, would we need to run an SQL cmd to let the database know all the events are gone?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If you either delete them from the DB or from the filesystem, zmaudit.pl will come along and tidy up and make everything consistent again. Though it might take a little while if you have a lot of them.
Phil
Maxxarcade
Posts: 36
Joined: Sun Jun 18, 2006 3:29 am

Post by Maxxarcade »

Well, I can't get my PurgeWhenFull filter to work, I had it set to 80%, and now the disk shows 82% full with about 8700 events. I can't select "view all" because it says Cannot Find Server. What should I do to clear out all the events before the disk gets completely full? There's no way I can sit here for hours and delete them a page at a time...
Maxxarcade
Posts: 36
Joined: Sun Jun 18, 2006 3:29 am

Post by Maxxarcade »

Nevermind, it started deleting things after I played with it a bit. Problem is, it cleared the archive out as well, even though I selected "unarchived only". I think I just need to learn how to use filters better.
Locked