#Where do the backup photos go?

1 messages · Page 1 of 1 (latest)

fading matrix
#

Hello! I have setup immich on truenas scale, pointed the external to a dataset and everything works fine, however, if i take a picture and immich backs it up, does it store it in the same location? I have a SMB share on that dataset but the new picture aren't there. Where does immich store those pictures?

sudden sierraBOT
#

:wave: Hey @fading matrix,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
  7. :blue_square: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

fading matrix
#

Where do the backup photos go?

cunning quail
#

wherever you defined library/UPLOAD_LOCATION to be

lunar olive
#

it goes to UPLOAD_LOCATION/upload or UPLOAD_LOCATION/library if you have storage template enabled

fading matrix
#

where do i find that value out? I checked the folder that i have pointed to external library and i didn't see anything thats' why i was confused

#

if i go to /mnt/storage/photos/chinmay i see no /upload or /library

#

hm i guess /mnt/.ix-apps/app_mounts/immich/library?

#

prob hidden in the app installation

#

hm nothing in that folder

#

seems like it's in it's own format, is it possible to keep the upload image as in? I'm copying this data downstream into backblaze and want to keep the image viewable

lone meteor
#

Immich stores all images in the unedited form, as jpeg etc

fading matrix
#

i found the folder but it seems like it's stored in random folders

#

since i have two users, i see the uuid per user

#
drwxr-xr-x 258 root root 258 Nov 10 09:43 eaa676d5-63e9-4414-8524-48a96b6fd423```
#

but it's all in folders... root@truenas[/mnt/.ix-apps/app_mounts/immich/uploads]# cd 7dcdf16d-2b33-4160-b909-b949c62fb6a3 root@truenas[.../7dcdf16d-2b33-4160-b909-b949c62fb6a3]# ls -ltr total 2176 drwxr-xr-x 31 root root 31 Nov 7 20:55 d6 drwxr-xr-x 21 root root 21 Nov 7 20:57 5d drwxr-xr-x 28 root root 28 Nov 7 21:06 40 drwxr-xr-x 23 root root 23 Nov 7 21:07 62 drwxr-xr-x 22 root root 22 Nov 7 21:08 43 drwxr-xr-x 30 root root 30 Nov 7 21:08 61 drwxr-xr-x 27 root root 27 Nov 7 21:08 5c drwxr-xr-x 21 root root 21 Nov 7 21:08 05

sudden sierraBOT
fading matrix
#

are there any performance implication for storing it in a specific way?

cunning quail
#

Random folders are default, it's because too many items in 1 folder will slow down your system

fading matrix
#

kk. sorry getting back to this late. apologies, but i gave this a try, set the storage template, the migration says it's running and finishes but the folder structure doesn't change

#
[/mnt/.ix-apps/app_mounts/immich/uploads]# ls -ltr
total 17
drwxr-xr-x 258 root root 258 Nov  7 18:13 7dcdf16d-2b33-4160-b909-b949c62fb6a3
drwxr-xr-x 258 root root 258 Nov 10 09:43 eaa676d5-63e9-4414-8524-48a96b6fd423

#

i've ran it multiple times

lone meteor
#

any logs?

fading matrix
#

seems like it's skipping it

#

some do finish though

lone meteor
#

well it seems that the files in question have no time/date info

#

so it does not know where to put them

fading matrix
#

strange.. they definitely do have that info. immich loads fine with the dates

#

let me see

lone meteor
#

I mean immich is not going to delete the folders you are looking at

#

perhaps you are not understanding where to look. the storage template files will be in library/

fading matrix
#

hm that might be. let me double check the mount binds

#

if it can't find the exif data, does it migrate or keep it where it is?

#

or create a random "failed" folder and put it in that?

#

nvm figured it out

#

truenas bindings were wonky.. i'll update some readme for whoever installs it next