How to perform an OSRestore on Messaging Gateway