Hello,
I need some help to understand filter PurgeWhenFull.
- We are currently running Zoneminder 1.34.2 on Ubuntu 18.04.4 LTS.
- We have a storage space called storage1 where all the events are recorded to.
- The storage1 space is currently sitting at 90%.
Does PurgeWhenFull remove events starting from oldest events?
Do we need to explicitly tell it which storage area to remove events from?
Our goal is to purge anything older than 3 months.
Kind regards,
pennyzm
How does PurgeWhenFull work?
Re: How does PurgeWhenFull work?
I'm still trying to find answers to the storage question, but I've found that PurgeWhenFull deletes starting with oldest.
The filter is set to "Sort by Id Asc".
The filter is set to "Sort by Id Asc".
Re: How does PurgeWhenFull work?
I think I know how to do the purge for events older than 30 days.
"Archive status equal to Unarchived Only"
"Start Date/Time greater than 90"
Does the 90 automatically default to days?
What is the difference between say that and "Start Date/Time less than -90"?
When I run the filter just to see what is listed I get the same thing whether I use less than -90 or greater than 90.
"Archive status equal to Unarchived Only"
"Start Date/Time greater than 90"
Does the 90 automatically default to days?
What is the difference between say that and "Start Date/Time less than -90"?
When I run the filter just to see what is listed I get the same thing whether I use less than -90 or greater than 90.
Re: How does PurgeWhenFull work?
The purge when full filter defines what is deleted and from where.
I think this thread will help.
viewtopic.php?f=40&t=30516
I think this thread will help.
viewtopic.php?f=40&t=30516
Andy
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
Re: How does PurgeWhenFull work?
Thank you very much @Andyrh, that was a helpful link.
I've edited the purgewhenfull filter to include the location of the storage area, but when I click "List Matches" it gives me 0 events.
I tested this by setting the disk percent to 90 since the storage area is at 91% now.
I'll keep researching to figure this out, but if you have any more suggestions please help if you can.
Thank you
I've edited the purgewhenfull filter to include the location of the storage area, but when I click "List Matches" it gives me 0 events.
I tested this by setting the disk percent to 90 since the storage area is at 91% now.
I'll keep researching to figure this out, but if you have any more suggestions please help if you can.
Thank you
Re: How does PurgeWhenFull work?
@Andyrh,
Thank you again for the link. It's now working. I just had to adjust the order of how things were listed such as:
storage area equal to storage1
archive status equal to unarchived only
disk percent greater than or equal to 95
sort by id asc limit to first 1000
The issue I had before was when I would select storage area 3rd on the list it would not give me a drop down to select it and it would not take a manual entry.
I've created a separate purgewhenfull for the storage1 and tested it by setting the disk percent to 90 and clicking "list matches" and I get the first 1000 events.
Again, thank you
Thank you again for the link. It's now working. I just had to adjust the order of how things were listed such as:
storage area equal to storage1
archive status equal to unarchived only
disk percent greater than or equal to 95
sort by id asc limit to first 1000
The issue I had before was when I would select storage area 3rd on the list it would not give me a drop down to select it and it would not take a manual entry.
I've created a separate purgewhenfull for the storage1 and tested it by setting the disk percent to 90 and clicking "list matches" and I get the first 1000 events.
Again, thank you