I know some people have contributed this type of system, however I haven't had an automatic process work, I just wite a script to delete event files X days older than today and them do a ZMaudit manually. Is there anything in the works to have ZM take care of cleanup internally?
-Scott
Autoclean via Date/time or low disk space....
The built in script works. It's a little picky about how you set it up though. The "PurgeWhenFull" filter needs to be resaved and you will get a window with actions and need to check the delete checkbox. You might also want to change the disk percent to 95 or a little less. to set the filter to delete after a month set up like so
Use 2 filter expressions
Archive Status is equal to Unarchived Only
and Date/Time less than or equal to -1 month
Sort by Date/Time Assending limit to first 20 events
Click on save and give it a name and check the delete action and save.
Hope this helps,
Cordel
Use 2 filter expressions
Archive Status is equal to Unarchived Only
and Date/Time less than or equal to -1 month
Sort by Date/Time Assending limit to first 20 events
Click on save and give it a name and check the delete action and save.
Hope this helps,
Cordel
3939663646337
It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Searching for PurgeWhenFull will find several references. This thread is one of the most recent and contains step by step instructions.
Phil
Phil
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: