Website goes down while importing backup (Internal server 500)

Sorted it out myself.

The problem was, server was very slow to process the import. The process was happening behind the scene but server actually went down.

When server was up, I could see all the content on the other site.