Filter dont delete files from disk

Forum for questions and support relating to the 1.29.x releases only.
Locked
GTXDRIVER
Posts: 3
Joined: Thu Mar 17, 2016 9:39 am

Filter dont delete files from disk

Post 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
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Filter dont delete files from disk

Post 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.
GTXDRIVER
Posts: 3
Joined: Thu Mar 17, 2016 9:39 am

Re: Filter dont delete files from disk

Post 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)...
mikb
Posts: 678
Joined: Mon Mar 25, 2013 12:34 pm

Re: Filter dont delete files from disk

Post 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.
GTXDRIVER
Posts: 3
Joined: Thu Mar 17, 2016 9:39 am

Re: Filter dont delete files from disk

Post by GTXDRIVER »

Yes you are right ... Sorry !
Locked