Is there a way to have database only for last 30 days despite having older files ?

General discussion about Blue Iris
Post Reply
Old_Boy
Posts: 1
Joined: Sun Apr 21, 2024 4:45 am

Is there a way to have database only for last 30 days despite having older files ?

Post by Old_Boy »

Hello,
I an running 25 cameras on Blue Iris 5 in a system with a dedicated 20TB storage for Blue Iris. Is there a way to have database only for last 30 days despite having older files ?
I want Blue Iris to store the files older than 30 days and manage that folder to delete the files when there is no more storage but not to include this folder of older files in the database.
User avatar
TimG
Posts: 2669
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Is there a way to have database only for last 30 days despite having older files ?

Post by TimG »

My first thought would be to export them as Mp4. I think that would do it. Does anybody have a better idea ?
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
BruceH
Posts: 147
Joined: Wed Apr 01, 2020 10:10 pm

Re: Is there a way to have database only for last 30 days despite having older files ?

Post by BruceH »

TimG,

I agree exporting them sounds like a good solution, even if they are left in BVR format, BI would no longer see them and would not have them in the DB, but they could still be viewed from the BI PC by opening the file from windows explorer.
PaulDaisy
Posts: 57
Joined: Mon Nov 25, 2024 5:06 am

Re: Is there a way to have database only for last 30 days despite having older files ?

Post by PaulDaisy »

I think that one can set up an automatic Move from New to Stored or AUX1, and leave that AUX1 as an "unmanaged" option (or have them expire after a year or something). That would not remove them from the database though. However, if one was to use another utility to move them (a chron job or a sync software) elsewhere, then BI should probably lose track of them when it rebuilds the DB.

That said, the OP didn't say why he wants to do that. Is the DB getting too big and slow? My DB is over a month long and is only 1Gb in size, and is lightning fast. A senior software engineer at work told me "don't try to over-optimize". So I listen to him and only try to change things if something isn't working.
Post Reply