In the case of disaster recovery, where a full system restore is required, you must first rebuild the system to exactly the state as it existed before the problem.
Rebuild the hardware as it existed before.
Rebuild the machine with the same operating system, PostgreSQL server and all the Agent components as they existed before the corruption or damage to the client.
What To Do Next
Restore the entire PostgreSQL Server from the instance level