How to persist the state of ray cluster

I have deployed some services on the ray cluster. When there is a problem with the cluster and need to restart the cluster, how to restore some of the previously deployed services?