Page 1 of 1

Deleting files in the filesystem structure

Posted: Wed Apr 01, 2009 11:03 pm
by jriavec
Hi, We just installed Zoneminder and everything went OK in the Installation, but I have create a filter in order to delete some recording in the Linux file system at night but I see that is only deleting the events in the database. What I need is to delete physically the files from the file system.

Does anybody knows how to do it using Filters?

Let say that I want to delete everything from 11 pm to 8 am, the 7 days of the week.

I will appreciate any help on this matter

Thanks in advance

Regards

Julian

Posted: Thu Apr 02, 2009 12:46 am
by cordel
If you have Option fast delete enabled then it only removes from the database.

If above is enabled then you can enable zmaudit to come along and remove files that are not in the database. It will also sync files that are removed and remove entries from the database so generally it good to have this option enabled.

Posted: Thu Apr 02, 2009 8:04 am
by zoneminder
To paraphrase.

If you have FAST_DELETE enabled then all delete operations will work on the DB only. Then zmaudit will come along shortly after and clean up the files etc.

If you have FAST_DELETE disabled then files etc will be deleted at the same time as the DB entries but these deletes may take longer.