How to Remove Old Records?

Forum for questions and support relating to the 1.24.x releases only.
Locked
sunucu
Posts: 13
Joined: Fri May 02, 2008 11:02 am

How to Remove Old Records?

Post by sunucu »

Hi, I'm working for to understand filtering settings for a while. There are many options, it seems like fully useful feature. But also too complex for me. I couldn't understand. And i do not know why but, event clearing process it too slow.

Simply i want to remove old (e.g. a few weeks ago ) records and events automatically from harddrive. How can I do that?

Thanks.
OSVER: Ubuntu Server 9.10 Karmic
ZMVER: ZoneMinder 1.24.2
DEVICE: Conexant CX23881 (4 Channel) with 2 CCD cams.
VIDEO: GeForce 9400GT 1GB (non-shared)
RAM: 1GB DDR2
CPU: Intel Pentium Dual 2.00GHz
agoodm
Posts: 52
Joined: Tue Oct 09, 2007 12:16 pm

Post by agoodm »

Look in filters at the purgewhenfull filter. Modify the settings to fit your needs ensuring that you select to delete matches. Then save it ensuring to select to run the filter in the background.
sunucu
Posts: 13
Joined: Fri May 02, 2008 11:02 am

Post by sunucu »

There isn't any option to configure past time. There are few options about time and date but you can only choose a specific date from calendar.
I don't want to do that. I saw "now" expression in date option. So I can choose date "less than now" to delete. But as above I wrote, i want to remove all records of the oldest day from "now" in database when the disk capacity at %90.

I want to do like this:
[Date] - [equal to] - [oldest day]
[x] Create Video for all matches
[x] Delete all matches

and tried this:
[Date] - [less than] - [now]
and [Time] - [greater than] - [00:00:00]
and [Time] - [less than] - [23:59:59]
Sort By [Date/Time] [Asc] Limit first [ ] results only

But when i submit that, all records are appear from db. I think, I need "Limit first 1 day only" option :lol:
Any suggestion?
OSVER: Ubuntu Server 9.10 Karmic
ZMVER: ZoneMinder 1.24.2
DEVICE: Conexant CX23881 (4 Channel) with 2 CCD cams.
VIDEO: GeForce 9400GT 1GB (non-shared)
RAM: 1GB DDR2
CPU: Intel Pentium Dual 2.00GHz
Locked