Restore from data directory without database data?

Is it possible to restore without reimporting everything again from my data folder? My immich server was corrupted without backups but I was able to recover all the uploaded files from an older backup.
~/s/i/i/immich-data ❯❯❯ tree -L 2
.
├── 0a9d3e37-3de5-4465-aaac-f432e9da8d40
│   ├── 2013
│   ├── 2014
│   ├── 2015
│   ├── 2016
│   ├── 2017
│   ├── 2018
│   ├── 2019
│   ├── 2020
│   ├── 2021
│   ├── 2022
│   ├── 2023
│   ├── encoded-video
│   ├── original
│   └── thumb
└── 6838fc95-dd73-49ee-8f67-b2cf84a9ec07
├── 2015
├── 2018
├── 2019
├── 2020
├── 2021
├── 2022
├── 2023
├── encoded-video
├── original
└── thumb

26 directories, 0 files
~/s/i/i/immich-data ❯❯❯ tree -L 2
.
├── 0a9d3e37-3de5-4465-aaac-f432e9da8d40
│   ├── 2013
│   ├── 2014
│   ├── 2015
│   ├── 2016
│   ├── 2017
│   ├── 2018
│   ├── 2019
│   ├── 2020
│   ├── 2021
│   ├── 2022
│   ├── 2023
│   ├── encoded-video
│   ├── original
│   └── thumb
└── 6838fc95-dd73-49ee-8f67-b2cf84a9ec07
├── 2015
├── 2018
├── 2019
├── 2020
├── 2021
├── 2022
├── 2023
├── encoded-video
├── original
└── thumb

26 directories, 0 files
1 Reply
bo0tzz
bo0tzz3y ago
Unfortunately not, you'll need to import everything again

Did you find this page helpful?