Back up before changing tree type