How to restore my Immich server, lost all user data
I recently changed my server setup from TrueNAS to Proxmox with a TrueNAS VM. My server includes a 256GB internal SSD and a 32TB DAS connected to the server via USB-C. Before switching to Proxmox, I exported the settings from my TrueNAS installation.
After installing Proxmox on the server, I created a TrueNAS VM and passed the HDDs through to it. I then uploaded the settings I had exported from my previous TrueNAS installation. Most things transferred correctly, but none of the apps I had previously installed on my old TrueNAS instance were deploying properly. I suspect this is because my old TrueNAS instance was running the OS version just before ElectricEel, while my new instance is running ElectricEel, which switched to using Docker instead of Kubernetes.
Since I had backups of all my apps, I decided to start fresh with the apps and restore them one by one using the backup files. This process was straightforward for all apps except Immich.
For Immich, I had backed up all the folders from my previous TrueNAS instance, including library, upload, profile, pgBackup, pgData, etc. On my new TrueNAS instance, I reinstalled Immich and connected it to new, empty folders on TrueNAS. I then transferred all the photos from the old library folder into the new one. While none of my photos were lost, all previous server and user settings were gone.
With the folders inside the library folder there were user IDs that were associated with each account in my old Immich instance. So I created those same accounts in the new Immich instance and changed the user IDs of the folders in the library folder to match the new accounts. The Immich web UI is not showing those photos for each user account, but I can access those photos in the Immich container shell.
In the pgBackup and pdData folder from my old TrueNAS instance, I found multiple folder and files. Is there a way to use these files to restore my old Immich server?
I've attached screenshots of my folders to this post.
After installing Proxmox on the server, I created a TrueNAS VM and passed the HDDs through to it. I then uploaded the settings I had exported from my previous TrueNAS installation. Most things transferred correctly, but none of the apps I had previously installed on my old TrueNAS instance were deploying properly. I suspect this is because my old TrueNAS instance was running the OS version just before ElectricEel, while my new instance is running ElectricEel, which switched to using Docker instead of Kubernetes.
Since I had backups of all my apps, I decided to start fresh with the apps and restore them one by one using the backup files. This process was straightforward for all apps except Immich.
For Immich, I had backed up all the folders from my previous TrueNAS instance, including library, upload, profile, pgBackup, pgData, etc. On my new TrueNAS instance, I reinstalled Immich and connected it to new, empty folders on TrueNAS. I then transferred all the photos from the old library folder into the new one. While none of my photos were lost, all previous server and user settings were gone.
With the folders inside the library folder there were user IDs that were associated with each account in my old Immich instance. So I created those same accounts in the new Immich instance and changed the user IDs of the folders in the library folder to match the new accounts. The Immich web UI is not showing those photos for each user account, but I can access those photos in the Immich container shell.
In the pgBackup and pdData folder from my old TrueNAS instance, I found multiple folder and files. Is there a way to use these files to restore my old Immich server?
I've attached screenshots of my folders to this post.

