I am trying to restore a database:dump.4.psql.gz using the following command:
gzip -c C:\Users\Downloads\backup\dump.4.psql.gz | psql -d jiradb_backup -U postgres -p 5432 -h localhost unicode UTF-8
The gz file was sent to me via MS Team and I downloaded it to my local PC. When I am running the command above I am getting an error: invalid byte sequence for encoding "UTF8": 0x8b
What should I do?