I normally use pgadmin3 for backups and restorations. But sometimes, I only have terminal access to certain servers. When I try to restore a backup made with pgadmin3,
pg_restore -dmydb --disable-triggers mydb.backup
i get
pg_restore: [archiver] could not open input file: Permission denied.