restore inmemory strategy