#Is it possible to recover my data?

1 messages · Page 1 of 1 (latest)

finite crane
#

Hi guys, I set up my immich server with docker compose in NAS server 2 weeks ago, there were 2 disks, sda(128GB) for OS, sdb(2TB) for data. I use a path of sdb as UPLOAD_LOCALTION(in .env file), but other volumes, include 'docker_pgdata', 'docker_tsdata', were mounted to default docker volume path(/var/lib/docker/volumes), which will be placed in sda. Unfortunately sda was corrput few days ago and can't recovery, so I bought a new disk and installed new OS to replace it. Now I deployed immich with docker again, all media data is still there, but I can't see them in immich-web.
I think maybe it's lack of something like database or index, not so sure... Is there any way to make my immich instance run in right way?

mystic sparrow
#

The database, stored in the pgdata volume, is required. If that's gone then you'll need to start from scratch and upload everything again.

#

For the future, you'll probably want to look at both RAID or ZFS and at setting up backups

finite crane
#

icic, it's my bad luck, I created raid 1 but both of them went corrupt together.. I will think about more for data backup
@mystic sparrow thanks so much for reply!

real imp
#

It is really easy to set up, there is a container version you can even run