Help with Exporting immich photos and videos to external drive

how to export all the photos and videos from immich with all the metadata to external hard drive which is connected to my laptop which has the docker. I have database in my laptop’s internal storage (Win 10). I am seeing all the files with created date only which is the date I backed up the files to the server.
11 Replies
Alex Tran
Alex Tran2y ago
All of the Immich photos is stored in your specified location of UPLOAD_LOCATION in the .env file
warstoc
warstocOP2y ago
But how to merge that meta data with the photos
jrasm91
jrasm912y ago
There's nothing built into immich that enables this, you'd have to take care of that yourself by reading data from the database and using exif tool to write it back to the files or sidecar. You can always open a github feature request for saving data back to sidecar files. Then you would just need to copy the originals + sidecars to preserve metadata changes from immich.
warstoc
warstocOP2y ago
Thanks for the all the replies but I cant find the meta data files. There are only photos in the library, and thumbnails in the Thumbs folder. There is nothing in the upload folder in UPLOAD_LOCATION. I also checked the pg_data folder but only found .files files with .map file in it. I just want to know where the sidecar files are in windows 10. Thank you
Alex Tran
Alex Tran2y ago
The sidecar are not generated from Immich Immich right now only has a mechanism to read sidecar file, not generating or writing to them just yet
warstoc
warstocOP2y ago
But where is the sidecar files that from immich is reading.
Alex Tran
Alex Tran2y ago
It would be import to Immich from the CLI if you use that route, and if you have the sidecar file in your library
jrasm91
jrasm912y ago
When you upload a file to immich we: - Save it in library/ - Read exif data from the file and write it to the postgres database - Run workflows to apply machine learning models to it - Data from the machine learning models (face recognition, object tagging, etc.) are saved in the postgres database What data, specifically are you trying to access? The original metadata from the file is still in the original file. Custom data generated by immich is saved in the postgres database.
warstoc
warstocOP2y ago
I trying to access the original metadata from the images that i have uploaded from my iphone. Images are saved in the library but the metadata on those images is not in those images. Those images have only the data only after the uploaded date in my system
jrasm91
jrasm912y ago
I don't understand what metadata you are referring to.
warstoc
warstocOP2y ago
Thank you for the help, I installed a metadata viewer app on windows and opened the photos from the library. It showed all the metadata (date captured, geo location, etc). I was confused because windows was not showing any metadata on those files. Thank you for the help

Did you find this page helpful?