Hello, I create one PurgeWhenFull95 for remove old events when ZM events are in 95% of usage. But when ZM go to 95% of usage all events in ZM are deleted, this is normal ? Not is possible remove only the more old events(fisrt day for example when go to in 95%), Without remove all events ? You understand what I like say ?
If is possible, how i do ? Have anyone doc exaplim how do this ?
Thank you!
PurgeWhenFull
-
- Posts: 15
- Joined: Tue May 31, 2005 10:30 pm
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 15
- Joined: Tue May 31, 2005 10:30 pm
- Contact:
How do this Automatically ?
Is possible do this Automatically ?
For example, i have ZM with four cameras, and I go travel and come back after 3 month. I like when events use 95% disc Automatically use that filter, is possible ?
Thank you agaim!
For example, i have ZM with four cameras, and I go travel and come back after 3 month. I like when events use 95% disc Automatically use that filter, is possible ?
Thank you agaim!
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
db not loaded?
Is there something else that should not work if the database did not load, I have 5 cameras running in modect mode and events occur when they should. I can change settings in the console options window too. Are´nt those variables in the database?
Regards
Rikard
Regards
Rikard
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
I don't why your filter should be missing. However it's pretty simple. You can just run the following statement in mysql
or manually create a filter on disk space sorted by id ascending and with a limit of say 5. Then save it and check the delete box.
Phil
Code: Select all
insert into Filters values ('PurgeWhenFull','trms=2&obr1=&cbr1=&attr1=Archived&op1==&val1=0&cnj2=and&obr2=&cbr2=&attr2=DiskPercent&op2=>=&val2=95&sort_field=Id&sort_asc=1&limit=5',0,0,0,0,0,'');
Phil