PurgeWhenFull deleted need help restoring it (SOLVED)

Forum for questions and support relating to the 1.25.x releases only.
Locked
rockets
Posts: 10
Joined: Thu Nov 29, 2012 12:55 am

PurgeWhenFull deleted need help restoring it (SOLVED)

Post by rockets »

I must have deleted PurgeWhenFull filter when I thought I was disabling it. I found a post by defacto7 referring to "reinstall the data base table Filters".

I can sorta cli, but have a hard time following (and thinking) programming.

I do not know how to "reinstall the data base table Filters". Please give complete kindergarden help. I can only restart mysql, apache etc. after googling for commands.

Zoneminder 1.25 on Ubuntu 12.04 64, with a dual core amd in a desktop.

ps: I have reinstalled zm twice with all the cam config.... I guess that would be my solution, unless someone can lead me thru mysql....thanks dan
Last edited by rockets on Wed Dec 12, 2012 9:46 pm, edited 1 time in total.
Flasheart
Posts: 342
Joined: Thu Jul 06, 2006 2:27 pm

Re: PurgeWhenFull deleted need help restoring it

Post by Flasheart »

Not sure what deleting a PurgeWhenFull filter has to do with mysql or creating tables, but this is the way to recreate it without reinstalling;

To create a PurgeWhenFull filter.

Click "Filters" on the main ZM Console and set the following.

Archive Status equal to Unarchived Only
AND Disk Percent greater than or equal to 95
Sort by Id ASC, limit to first 5 results only

All unticked except "Delete all matches".

Click save, name "PurgeWhenFull" and ensure "Run filter in background" is ticked.
rockets
Posts: 10
Joined: Thu Nov 29, 2012 12:55 am

Re: PurgeWhenFull deleted need help restoring it

Post by rockets »

Thanks, just what I needed. Clear, complete and consise....
rockets
Posts: 10
Joined: Thu Nov 29, 2012 12:55 am

Re: PurgeWhenFull deleted need help restoring it (solved)

Post by rockets »

Mark it "Solved" .... but I cannot find the solved button..
Locked