backup images and restore images during deployments