pg_restore: error: corrupt tar header found in ÿ_t (expected 0, computed 4163) file position 512

vinhqua
HOBBY

8 months ago

I tried to follow this article but came with an error

https://blog.railway.app/p/postgre-backup

Backup command

pg_dump -U postgres -h monorail.proxy.rlwy.net -p 30383 -W -F t railway > SCHOOL_MANAGER

Restore command

pg_restore -U postgres -h autorack.proxy.rlwy.net -p 28543 -W -F t -d railway SCHOOL_MANAGER

I used to back up and restore postgresql database successfully, but not this time

Closed

2 Replies

vinhqua
HOBBY

8 months ago

Here's the image

Attachments


8 months ago

Closing in favor of the discord thead, going forward, please do not cross post.


Status changed to Closed brody 9 months ago


pg_restore: error: corrupt tar header found in ÿ_t (expected 0, computed 4163) file position 512 - Railway Help Station