Why can’t you simply update your emonpi by using the emonpi update menu? Or is there some other reason why you need to reinstall to a new SD card, ie capacity.