You only changed the recording retention not the snapshots retention (which is what is inside of /clips/). In general you should not delete files manually as you can just delete via the webUI.
Deleting the addon does nothing, all you need to do is stop the addon, delete the files in /frigate/media and then start the addon again if you want.
This has nothing to do with frigate’s DB. The HA backup konws nothing about Frigate’s DB so that error is something that needs to be addressed separately.
To exclude a folder, I have to list all of the folders except the media folder. However when I do a partial backup even with a single add-on slug, or a single folder, it runs and no backup is created. I can’t find anything in the logs that says why it failed.
You mean /media/frigate
Did this and now I can again make a full backup without errors.
It’s a mystery why backup should fail because it can’t find a JPG file in /media/frigate…
Did you look in the supervisor’s logs?
Try a program like WinSCP to check if there isn’t a corrupted file in the backup folder that is not being shown in HA.
I had the same issue. Frigate really needs a “Delete All” button. Here’s my work-around… I duplicated my frigate.yml, renamed the dupe “frigate_running_backup.yml”, created another dupe and called it “frigate_cleanup.yml” Then I edited the cleanup yml to retain all clips, recordings, etc. for the shortest duration possible. I replaced the frigate.yml with the cleanup version, stopped and then restarted Frigate so that it would delete most things. This helped to delete most of the recordings. Then I ran a full backup, replaced the frigate.yml “cleanup” version with the copy of the original settings and was back in business. A bit of a PITA. Here’s hoping a Delete All button is forthcoming.
How do you ‘just delete’ that folder? I am unable to find out where to even find the folder other than in the media tab, but that doesn’t have any additional options past just opening the folder. Apologies if this is a very simple operation
This addon exposes the following directories over smb (samba):
|Directory|Description|
| --- | --- |
|`addons`|This is for your local add-ons.|
|`backup`|This is for your backups.|
|`config`|This is for your Home Assistant configuration.|
|`media`|This is for local media files.|
|`share`|This is for your data that is shared between add-ons and Home Assistant.|
|`ssl`|This is for your SSL certificates.|