backup env and restore from baseline