Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Custom storage provider for media files (S3-like or WebDAV) #2964

Closed
dotWee opened this issue Mar 14, 2022 · 7 comments
Closed
Labels
enhancement New feature or request stale

Comments

@dotWee
Copy link

dotWee commented Mar 14, 2022

Describe what you are trying to accomplish and why in non technical terms

Frigate's media directory uses a lot of storage. It would be useful to use custom storage providers like S3 or WebDAV.

This would also be useful for cloud-hosting environments.

Describe the solution you'd like

Being able to persist events & clips to S3 or WebDAV.

Describe alternatives you've considered

When using Docker, mounting the /media directory to an external drive with more space.

Additional context

I'm considering implementing this feature myself, but my Python experience is pretty limited. Let me know if this feature is marked as low-priority or not planed for implementing, maybe I'll contribute this feature.

@dotWee dotWee added the enhancement New feature or request label Mar 14, 2022
@natm
Copy link
Contributor

natm commented Mar 22, 2022

This would be a great addition, I have been using Frigate for a couple of years now and store recordings + clips offsite. I do this using a custom NodeRED pipeline which is triggered via MQTT, it uploads clips to a local Minio container. That local container has bucket replication setup to another Minio instance in a different country.

I would love to see the ability to store in an S3 compatible object store (e.g. AWS or Minio).

@rhatguy
Copy link

rhatguy commented Mar 22, 2022

@natm wonder if you could share any pointers or tips you have on the minio replication setup? I know its not technically related to frigate, but I've been thinking about setting something like this up with a local and remote RPI with USB SSD for a while and just haven't gotten it started yet. Very interested.

@stale
Copy link

stale bot commented Apr 23, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 23, 2022
@dotWee
Copy link
Author

dotWee commented Apr 23, 2022

Currently digging into the source code, i'll try to implement this for myself. Already forked the repo, but haven't published any code yet. Will update this issue on progress.

@stale stale bot removed the stale label Apr 23, 2022
@stale
Copy link

stale bot commented May 25, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@anuragbhatia
Copy link

Over an year passed on this discussion. Any ideas if option of s3 as storage is being considered now? I would love to have that feature. Would make handing HA storage much more easier.

@IvanBoykov
Copy link

would love to have this functional too Nice to have some retry logic, at least for latest records to not lost something because temporary network glitchs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

5 participants