this post was submitted on 01 Jun 2025
36 points (92.9% liked)

Selfhosted

48329 readers
858 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 2 weeks ago (5 children)

This does not help you but it makes me think of this:

I understand why it makes technical sense to do so but immich storing things in a database in general is more nuisance then practical.

We want those fotos accessible in our own file system where we have full control of what is what.

Immich job is to put the pictures from a phone to the server and also to display all pictures within a certain directory.

It does a good job at both. Having your own file structure is not a problem and it seem to even know and adapt if pics get moved around.

But we have to manually move the photos out of its own structure into our own every time we do a big upload.

Maybe i can set something up with syslinks so it all appears centralized as a big “upload” folder to be sorted.

[–] [email protected] 4 points 2 weeks ago (4 children)

When you first set it up there is an option to set a custom filesystem, I selected that and then chose the default which just sorts by year and day

load more comments (3 replies)