Creating a vSphere Distributed Switch backup

It may become necessary to back up your dvSwitch configuration so that it can be restored when required. One of most common use cases is to back up (export) dvSwitch configuration before implementing a change. Backing up and restoring a dvSwitch is quick and easy and saves time that would otherwise be spent in the back up/restore of the vCenter or its database.