Correctly restore postgres db
Added restore_database command