Properly restore Postgres database to new application
Merge pull request #2406 from fotioslindiakos/Bug959123

Merged by openshift-bot