Depends on how the data was lost.
The only thing remotely close to a “restore” is cold starting and hope some records come back (see Issues with cold-start resurrecting deleted records). In this case, you’re deliberately trying to make this happen, instead of preventing it.
If you’re using non-persistent storage (in-memory only), then there’s nothing to recover from.