Restoring database, a lot of MySQL errors.

I've followed the directions on the Backup and Restore page: https://immich.app/docs/administration/backup-and-restore
Problem is I get a lot of SQL errors when running the gunzip < "/path/to/backup/dump.sql.gz" | docker exec -i immich_postgres psql -U postgres -d immich # Restore Backup command. Result is the admin account works, but no photos are imported.
Log is attached.
Immich has never ran, it's a fresh install, just created using the commands on the page above, also tried with docker-compose up --no-start instead of docker-compose create. But no luck!
Was this page helpful?