what to backup #19196
-
|
I am thinking about how to backup my frigate install from a "get things running again" perspective. I'm not particularly worried about past events, old recordings, or anything like that. I just want to get my docker container back up and running with my cameras and config files. Other than the config file, what do I need to backup. Im especially curious about the database since I don't have any images or recordings, does it have anything I need to keep in it? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
|
For getting your Frigate Docker container back up and running, you need to backup the entire The database is actually important even if you don't have recordings or events. The documentation specifically states: "Tracked object and recording information is managed in a sqlite database at The For your Docker setup, you should backup:
The documentation emphasizes the importance of backing up your configuration: "Always back up your Since you're not concerned about past events or recordings, you don't need to backup the 📚 Sources: |
Beta Was this translation helpful? Give feedback.
-
|
“The database is actually important even if you don't have recordings or events. The documentation specifically states: "Tracked object and recording information is managed in a sqlite database at /config/frigate.db. “ so if i don’t have recordings or any media, what’s the database holding? Seems like if i have it without media i would have orphaned records to clean up. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the clarification. I’ll probably grab it anyway or make some scripts to export non-event driven data for safe keeping. |
Beta Was this translation helpful? Give feedback.
-
|
quick follow up question to the one from OP; where is the trained model data stored if I want to back it up? thanks |
Beta Was this translation helpful? Give feedback.
You're correct, the AI wasn't entirely accurate. The database does store other things like users, roles, and passwords, and will likely be the repository for other data unrelated to tracked objects and recordings in future versions. If you have a single-user setup and are running Frigate 0.15 or earlier, a database backup is not necessarily required.