Page 1 of 1

Filter dont delete files from disk

Posted: Wed Mar 30, 2016 9:18 pm
by GTXDRIVER
Hi

First of all im new in this forum - so please accept if im wrong ...

My Problem:

I want to record all CamĀ“s and automatically delete all Recordings after 2 Days so i used "Filter" to do some tests.

On ZM Web Interface i can see that recordings are deleted - but on Harddisk they are still on the Disk.

Whats wront here ?

How can i manage to zm also physicaly delete Recordings from Harddisk to get free space when deleteing from Databsas ?

Best regarda

Re: Filter dont delete files from disk

Posted: Wed Mar 30, 2016 9:31 pm
by bbunge
Here is a link to the filter section of the user manual:
http://zoneminder.readthedocs.org/en/la ... vents.html

Now, your settings should be... Open Event Filter
Date, less than or equal to, -2 day
and, Archive Status, equal to, unarchived Only
Sort by Date/Time, Asc, limit to first (10 is a good starting point) results only

Delete all matches (checked)

Save, give it a name and run in background.

Re: Filter dont delete files from disk

Posted: Thu Mar 31, 2016 6:20 am
by GTXDRIVER
Hi

thanks for your reply - thats the way i did it !

And if i look at ZM Console (Web Interface) i can see recordings are deleted - but Harddisk is still ohn 75% (same as bevore)...

Re: Filter dont delete files from disk

Posted: Thu Mar 31, 2016 5:32 pm
by mikb
Have you got the "Fast Delete" option ticked?

This will cause ZM to delete the entry from the database but leaves behind the disk files (jpgs, videos) until ZMAudit runs and tidies up -- you may find that they've gone away "overnight".

If this is not the behaviour you want, untick Fast Delete and the files and database entries will be deleted at the same time.

Re: Filter dont delete files from disk

Posted: Tue Apr 05, 2016 12:19 pm
by GTXDRIVER
Yes you are right ... Sorry !