Chose data base to postgres and generate file json with initial dump data