dump and setup for es