The VMware vSphere Distributed Switch (vDS) has long been one of my favorite features. vDS won me over in the beginning with its advanced features and simplified management features. VMware has continued to add features to the vDS, making it a leading contender in the virtual switch space. In the past, one of the features that was missing was the ability to backup and restore the configuration of the vSphere Distributed Switch by admins.
The release of vSphere 5.1 in 2012 brought the vSphere web client and the ability to export the vDS configuration. I will say the web client is still trying to make friends with most admins, but the vDS export function has won many over. This now allows for the vDS config to be exported for backups and easy recovery. Another possible option would be to use the exported configuration to rapidly build other vDS switches that you want to be configured in the same way.
To get the process started we must log into the vSphere web client. This is one of the new features and cannot be performed from the classic thick vSphere client.
As you can see, the process to backup a vDS switch in vCenter 5.1 or above is very easy. This is a simple but powerful feature that VMware has released and should be used as part of your normal process. I would recommend that admins work this into a normal support process so that you are taking regular backups. This might help in the recovery from a critical failure in the future, and you will be glad you had these backups.
Another option is if you have a large environment and had the need to create vDS on a regular basis, these backups could be imported to create new vDS configured in the same way. This is a simple way to accomplish if you are not a scripting person.
The backup is very simple and takes just a minute or two, so keep your environment protected and take advantage of this easy to use feature.