Skip to main content

Error Message: "EOF (End Of File)" When Restoring a Company

Data Restore Fails Due to Connection Interruption or Server/Database Error

Written by Petr Pech

When restoring a company, the error "EOF (End Of File)" is displayed, which means that an unexpected interruption occurred during the data transfer while restoring.

Example of the full error message:

Error: "pg_restore: [custom archiver] could not read input file: end of file"


Most common causes:

  • interrupted or unstable connection

  • incomplete backup file (unfinished generation, connection error, etc.)


How to proceed:

Did this answer your question?