Add backup feature to medit