As I try to restore my data, I get the warning message: pg_restore: [archiver] input file does not appear to be a valid archive (too short?) Ok, but the job ends with green status, I want it to finish with error. Is there any way of using $? there? -- View this message in context: http://postgresql.1045698.n5.nabble.com/pg-restore-must-failure-on-attempt-tp4798842p4798842.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general