Fellow self hosting friends, I screwed up. Not only have I deleted Immich’s PostgreSQL folder but I also didn’t have backups (of the database, of the photos I do).

I’ve tried to recover the deleted folder but there’s not much left even with proper tools. I’ve checked and the photos are still there, so my question is: Is there a way for immich to rebuild the database with the photos there? Should I start from scratch and re-upload?

  • webghost0101@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 days ago

    I am, that works really well actually and it even knows when the same file was moved.

    But to add new files to that external library, which is in fact the only main library. We need to dig in immich file structure which at the very least enforces different directories per individual user and also uses those to store some forms of metadata.

    We tried sharing a user in the beginning but the app did not seem to like that.

    Now its not the biggest deal, just an annoyance. the fix i am currently thinking is to move the immich directory to somewhere hidden and us systemlinks to get all uploads centralized under a single directory for further processing.