I was running immich on windows docker desktop, and I've just setup an Ubuntu machine.
I ran the backup command as listed in the docs, and then I transferred the dump.sql.gz file to the ubuntu machine.
When I try to restore the postgres server I get this error below:
$ gunzip < "/mnt/sda-samsung/dump.sql.gz" | docker exec -i immich_postgres psql -U postgres -d immich
$ gzip: stdin: not in gzip format
Error response from daemon: Container 2c71b62bac5e9dbc98487b38eda69a46c9426e7151e208170822d793a1a05247 is not running
I'm checking the file type and it says that it's data
$ file dump.sql.gz
dump.sql.gz: data
Please can anyone offer some advice on what I should do?