Rubygems.org: tar file header (toc.dat)

Created on 15 Mar 2017  路  1Comment  路  Source: rubygems/rubygems.org

Continued from #1583,

I tried to download the tar file from the URL that gets echoed on the screen. Next, I use pg_restore instead of psql

pg_restore -c -U postgres -d rubygems -v "public_postgresql.tar" -W
and get error from pg_restore
pg_restore: [tar archiver] could not find header for file "toc.dat" in tar archive

I am on postgres95 and am using a mac

>All comments

You need to extract the file first.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

matthewd picture matthewd  路  5Comments

m1kit picture m1kit  路  5Comments

cjyclaire picture cjyclaire  路  8Comments

mdesantis picture mdesantis  路  5Comments

forced-request picture forced-request  路  6Comments