I am using Postgresql 9.5.10 for developing vehicle tracking application and taking daily backups as pg_dump Custom format. But while restoring the same it shows.
$ pg_restore -h localhost -d dbname -U user -a tracking_data.sql
pg_restore: [compress_io] could not uncompress data: (null)