HansWege
Cadet
- Joined
- Jun 23, 2023
- Messages
- 1
I'm total Linux newbie. I'm using TrueNAS CORE as my small NAS with my 1 IPCAM recordings on it that are saved via FTP. I've dedicated 300 GB of space for my camera recordings. These recordings are not critical, and only will only need to look at them if motion capture won't trigger and something happened. Camera generates around 60 GB of data per day (around 2.5 GB per hour).
I'm looking for a thing that would archive the oldest folder with best compression and delete the folder itself. If space is low (let's say <90%) delete the oldest archive.
Foder structure looks like this main\CameraFTP\Cam\2023\06\23 as in: main share \ CameraFTP \ camera name \ current year \ current month \ current day. Filenames inside the folder cameraname_00_20230623143452.mp4, as in cameraname _00_ year month day hh mm ss
This seems complicated to achieve for me, knowing almost nothing about linux, it took my half a day to setup TrueNAS, setup FTP and setup SMB share. Now I'm concerned what will happen when the partition fills up.
I'm looking for a thing that would archive the oldest folder with best compression and delete the folder itself. If space is low (let's say <90%) delete the oldest archive.
Foder structure looks like this main\CameraFTP\Cam\2023\06\23 as in: main share \ CameraFTP \ camera name \ current year \ current month \ current day. Filenames inside the folder cameraname_00_20230623143452.mp4, as in cameraname _00_ year month day hh mm ss
This seems complicated to achieve for me, knowing almost nothing about linux, it took my half a day to setup TrueNAS, setup FTP and setup SMB share. Now I'm concerned what will happen when the partition fills up.