© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•8mo ago•
28 replies
nextros_

Restoring from backup

Hello,

I am trying to restore from a backup, but after trying to restore the database I get this error:

SET
SET
SET
NOTICE:  database "immich" does not exist, skipping
DROP DATABASE
DROP ROLE
CREATE ROLE
ALTER ROLE
SET
SET
SET
SET
SET
     set_config     
--------------------
 public, pg_catalog
(1 row)

SET
SET
SET
SET
UPDATE 0
ERROR:  database "template1" does not exist
ERROR:  option "locale_provider" not recognized
LINE 1: ...late1 WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE_PRO...
                                                             ^
ERROR:  database "template1" does not exist
\connect: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL:  database "template1" does not exist
SET
SET
SET
NOTICE:  database "immich" does not exist, skipping
DROP DATABASE
DROP ROLE
CREATE ROLE
ALTER ROLE
SET
SET
SET
SET
SET
     set_config     
--------------------
 public, pg_catalog
(1 row)

SET
SET
SET
SET
UPDATE 0
ERROR:  database "template1" does not exist
ERROR:  option "locale_provider" not recognized
LINE 1: ...late1 WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE_PRO...
                                                             ^
ERROR:  database "template1" does not exist
\connect: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL:  database "template1" does not exist


What does it mean?
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Restoring from backup error
ImmichIImmich / help-desk-support
9mo ago
Restoring Immich From Backup
ImmichIImmich / help-desk-support
10mo ago
Restoring from Backup Question
ImmichIImmich / help-desk-support
14mo ago
Restoring Backup
ImmichIImmich / help-desk-support
6mo ago