Importing Immich backup

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 12.0.17
What app is this about: Immich

Describe your issue

I’m trying to migrate all my files and db from one Immich instance to my Yunohost, I managed to export everything from my source, but when I try to import the db to yunohost with
psql -U immich -d immich < /path_to/immich_backup.sql
it ask me a “Password for user immich:” which I don’t know and cannot find it

In /etc/yunohost/apps/immich/settings.yml I found something at ‘db_pwd:’ and ‘psql_pwd:’ but I tried both and didn’t work

Share relevant logs or error messages

psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: password authentication failed for user “immich”

Install pgadmin4

1 Like

Hello @pinipon,

Are you sure this is the port your immich database is using? What port is specified in the settings.yml file?

2 Likes

Solved! I realized that a bit later, all done now, thanks.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.