Now i want to add a more permanent solution (add usb-stick storage) but would like to keep the tmpfs storage as pre-processor (as it filters out many files). So i created a new dummy camera with storage set to the usb drive and installed a filter rule on the tmpfs camera that copies bunch of files regularly.
The file structure on the usb-stick looks like this then:
Code: Select all
$ tree -d
.
├── 1
│ └── 2025-06-23
│ ├── 230944
│ ├── 230946
│ ├── 230949
│ ├── 230950
│ ├── 230951
│ ├── 230953
│ └── 230957
├── 6 -> 1
├── Hik-720p-Archive -> 6
The video files are there but the database is not aware of the files i guess. I've tried this:
Code: Select all
$ zmrecover.pl --storage_id 3
06/23/2025 23:55:42.294437 zmrecover[4414].INF [main:123] [Recovering from Storage Area 3 USB-sdb1 at /mnt/sdb1]
Any idea what's wrong here?
Or maybe a completely different approach? I just want to have some kind of preprocessor to filter out low scores before its actually written to disk. I'm recording with very high sensitivity resulting in many bogus files (flies, shadows, sun burns, etc) and it should also serve as a write buffer (the usb stick has 5MB/s only).