rep restore