As a followup to all this, the OP also needs to figure out why a crashed server could cause so much corruption. This is usually the result of hardware lying about fsync status, i.e. consumer grade hardware pressed into service as a server.
pgsql-admin by date:
Соглашаюсь с условиями обработки персональных данных