This document describes how to back up and restore a Cisco 9000 Series Multilayer Data Switch (MDS) and how to replace or migrate from a current MDS 9000 Series switch to a new one. Instructions on how to apply the configuration from the old switch to the new switch are also included.
https://www.cisco.com/c/en/us/support/docs/storage-networking/mds-9500-series-multilayer-directors/117621-configure-MDS-00.html
and here some general guidelines
https://www.cisco.com/c/en/us/products/collateral/storage-networking/mds-9700-series-multilayer-directors/white-paper-c11-732037.html