How to Backup & Restore a VMware vSphere Distributed Virtual Switch (VDS)

One of the new features of vSphere 5.1 Web Client is to help you backup the settings of your existing Distributed Virtual Switch. You can keep this backup handy for either applying of a new DVSwitch or to restore the settings of the original DVswitch form where you took this backup.
This is a simple Export and Import task, however since the vSphere Web Client is new and most of the admins are not as familiar with the Web Client, as they are the C# client also referred as a thick client, I thought I will write this small article with screenshots. More importantly, I will also try and tell you in which situations such a backup would help.

Let’s have a look at the process to EXPORT the settings:-

1- Login to the vSphere Web Client with a user with Admin / Network Privileges.

2- Click on Networking -> Right Click on your dvSwitch -> All vCenter Actions -> Export 
Configuration.

3- Choose to Save either the DVS settings only or DVS and Port Group Settings.
4- Click on Yes to confirm the export.
5- On the next Screen give this file a name and save it on a desired location on your computer.
————————————————————————————————————————————————————————————————————————————————————————————————————————–
Now, let’s have a look at the process to IMPORT the settings:-

1- Login to the vSphere Web Client with a user with Admin / Network Privileges.

2- Click on Networking -> Right Click on your dvSwitch -> All vCenter Actions -> Restore
Configuration.

3- Select the backup file from which you wish to restore the settings of the dvSwitch.
4- Click on Next, confirm the settings and click on Finish.
















————————————————————————————————————————————————————————————————————————————————————————————————————————–

Things to remember:-

While I was playing around with this backup, there are a few things which I learnt from my mistakes. Here are a few things you should know about this backup:-
a) This backup & restore does not re-creates the DVS, it helps you backup and restore configuration of a DVS.
b) You can use this backup to apply these settings across different DVS switches.
c) You need to create a DVS switch yourself and then apply these settings.
d) You can only Backup and Restore from a vSphere Web Client and not the C# client.
e) You can backup or restore the configuration of an onlder DVS as well such as 4.0, 4.1, 5.0 versions of DVS.
Enjoy the great features of DVS 5.1 and vSphere web client, this is an intelligent Virtual Switch which has loads to offer.
Share to spread the word & benefit others!!!

Published by Sunny Dua

Sunny Dua works as a Senior Product Line Manager for VMware’s Cloud Management business. His charter is to deliver Multi-Cloud solutions to reduce cloud complexity by leveraging data analytics and artificial intelligence. His 16+ years of experience include technical and strategic roles for Hewlett Packard, Capgemini, and VMware. He is a hands-on Product Manager with deep knowledge of Cloud and Enterprise technologies. His current charter includes driving product strategy and roadmap for VMware’s vRealize portfolio within the VMware’s Multi-Cloud strategy.

4 thoughts on “How to Backup & Restore a VMware vSphere Distributed Virtual Switch (VDS)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: