© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•9mo ago•
5 replies
Aleksander H

Backups

I've been reading the documentation and experimenting a bit. I'm still a little unsure how to best go about this though. My uncertainty is basically, what happens if a few photos are uploaded to immich after the last database dump? Are those images "lost"? Is there any logic in Immich to detect images on the file path that aren't known to the database?

I see in the example script that they trigger a database dump as part of the script. Thing is, what if a user is currently uploading photos from their phone while this backup script is running? In theory, some photos could make it onto the file system after the database dump is done, even when it happens straight after.

I'm currently wondering if the right thing to do would be to simply take the docker container down, then perform a backup, and then bring it back up again after. Is this the only way to ensure a 100% consistent backup? Is it correct, that I don't have to worry about the database-dump and can instead simply copy all the folders if immich is offline when I perform the backup task?
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

No backups
ImmichIImmich / help-desk-support
7mo ago
Borg backups
ImmichIImmich / help-desk-support
10mo ago
Backups are super slow
ImmichIImmich / help-desk-support
4mo ago
Automatic DB Backups help
ImmichIImmich / help-desk-support
13mo ago