PurgeWhenFull - can't setup

Support and queries relating to all previous versions of ZoneMinder
Locked
boppen
Posts: 1
Joined: Tue Dec 04, 2007 9:17 pm

PurgeWhenFull - can't setup

Post by boppen »

Hello!

I'm running 1.23.0, and I have been trying to configure the PurgeWhenFull filter - but I can't figure out how to do. I've read som about it here on the forum but I can't find the options I should use, see the screenshot below.

Image

Thanks for any help, Boppen!
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

I found that to... How are you running it? Mine is Peter's debs... Anyway, open up the filter window fresh, and leave it on "choose filter." Add a second line. Now make it look like this.

Code: Select all

             Archive Status            =               Unarchived Only
  and        Disk Percent              >=              90
----------------------------------------------------------------------
Sort by     ID           Asc           limite to first      50
Then check "delete" and save as PurgeWhenFull and run in background.
darkpaw
Posts: 166
Joined: Thu Apr 26, 2007 2:35 am

archived

Post by darkpaw »

You may also want to make sure you add the condition of not being archived, as well. Unless you don't care if archived events are blown away. :)
Kushnirenko
Posts: 17
Joined: Mon Jun 25, 2007 6:29 pm

Fix should be soon

Post by Kushnirenko »

See http://www.zoneminder.com/forums/viewtopic.php?t=11034 for detail. You can take patch from there.

I think the fix is going to show up in next release. Meanwhile it may be much easier to create xPurgeWhenFull by hand. After all it is just another filter script which triggers when 95% of disk is full.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Re: archived

Post by Lee Sharp »

darkpaw wrote:You may also want to make sure you add the condition of not being archived, as well. Unless you don't care if archived events are blown away. :)
That was the first line, by the way. :)
darkpaw
Posts: 166
Joined: Thu Apr 26, 2007 2:35 am

oops

Post by darkpaw »

OOPS, yeah, I misread the copy/paste. My bad.

Point still stands, though...think of it as reenforcing the obvious. :)
Locked