How to Rebuild master Database and Leave Master Device Intact