To save configuration of a virtual machine so you can restore it later, you can use the PropertyCollector to get the virtual machine configuration.
The PropertyCollector is the most efficient mechanism to specify, at the top level, all of the managed objects that are of interest to your application. It has methods for providing updates that indicate only changes to the previous state of these objects. There are two mechanisms for acquiring these updates:
The PropertyCollector is powerful but requires great attention to detail. Backup-related features of the PropertyCollector are covered in Low Level Backup Procedures of this document. The next section provides some background about PropertyCollector.