modify temp restore path and delete temp restoreDir process