Hi, I am currently using the automatic generated backup on Tigris, using this fly postgres backup enable · Fly Docs. I downloaded the .tar file, and tried to restore the DB locally for testing purpose. I used the code:
pg_restore -c -U postgres -d postgres -v "db.tar" -W.
However, it gives me this error:
pg_restore: error: could not find header for file "toc.dat" in tar archive
I searched on the internet and found the issue was the version of the pg_dump and the pg_restore is different on here database restore - pg_restore: [tar archiver] could not find header for file "toc.dat" in tar archive :- [PostgreSQL-11] pg admin 4 - Stack Overflow.
I tried searching the version of pg_dump or even the tools to backup our data in Fly Postgres, but didn’t find any info? Can someone please help. Thanks a lot ![]()