Backing up virtual distributed switch configurations
Virtual distributed switch configurations can be exported to a file. The file contains the switch configuration settings and can also contain information about the dvPortGroup configurations. This file can then be used to restore the virtual distributed switch configuration or import the configuration to a different deployment.
Tip
Virtual distributed switch import, export, and restore operations are available in the vSphere Web Client.
Virtual distributed switch configurations should be exported before making changes to the distributed virtual switches in a production environment in order to ensure that the switch can be restored to an operational state in the event of a configuration error.
How to do it…
Perform the following procedure to create a backup of the VDS configuration:
- In the vSphere Web Client, right-click on the VDS to be exported. Navigate to Settings | Export Configuration…, as shown in the following screenshot...