Zerto Virtual Replication Cmdlets Reference : Export-Settings
  
Export-Settings
Exports the VPG details for both the Zerto Virtual Manager where the cmdlet is run and for its paired site.
Syntax
Export-Settings [-ZVMIP] <String> [-ZVMPort] <Int32> [-Username] <String> [-Password] <String> [-Wait <int32>] [<Common&RiskParameters>]
Description
The Export-Settings cmdlet exports the details of all the VPGs, either protected or recovered to the site of the Zerto Virtual Manager where the cmdlet is run. When the Zerto Virtual Manager is paired with multiple sites the VPGs can be from any of these paired sites, as long as they were either protected or recovered to the site of the Zerto Virtual Manager where the cmdlet is run.
Parameters
[-ZVMIP] <String>
The IP address of the machine where the Zerto Virtual Manager is installed that is used to process the cmdlet.
Required?
True
Position?
1 or named
Default Value
None
Accept Wildcard Characters?
False
[-ZVMPort] <Int32>
The HTTP port used for inbound communication with the Zerto Virtual Manager for APIs and cmdlets, specified during the installation. The default port recommended during installation is 9080.
Required?
True
Position?
2 or named
Default Value
None
Accept Wildcard Characters?
False
[-Username] <String>
A username defined in the users.txt file in the Zerto Virtual Replication installation folder, for the Zerto Virtual Manager where the cmdlet is run.
Required?
True
Position?
3 or named
Default Value
None
Accept Wildcard Characters?
False
[-Password] <String>
The password for the specified username, in the users.txt file in the Zerto Virtual Replication installation folder, for the Zerto Virtual Manager where the cmdlet is run, encrypted using SHA-1.
Required?
True
Position?
4 or named
Default Value
None
Accept Wildcard Characters?
False
[-Wait <Int32>]
The number of seconds to wait before timing out.
Required?
False
Position?
Named
Default Value
None
Accept Wildcard Characters?
False
<Common&RiskParameters>
This cmdlet supports the parameters described in Optional PowerShell Parameters.
Inputs and Outputs
The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet returns.
Inputs
None.
Outputs
XML formatted text describing the exported VPGs from both the local and peer sites.
Notes
To enable the result of the Export-Settings to be usable after upgrading Zerto Virtual Replication, you can pipe the output of the cmdlet to a file. This file will contain all the VPGs’ details in XML format, which can be imported later with the Zerto Diagnostics utility or the import-settings cmdlet.
When restoring the protection to the virtual machines, the target disks are used and, thus, the synchronization process is faster. The faster synchronization occurs because the recovery and protection disks are compared through the MD5 checksum and only changes are synchronized.
See Also
Import-Settings
Unprotect-Vpg
Example 1
PS C:\Windows\SysWOW64\WindowsPowerShell\v1.0> Export-Settings 182.24.123.123 9080 administrator password > C:\ZertoUpgrade\Export.xml
This command exports the details of every VPG on the site where the cmdlet is run and with its paired site. The details are exported to a file Export.xml in C:\ZertoUpgrade on the local computer where the cmdlet is run. The Zerto Virtual Manager site used to process the cmdlet runs on IP 182.24.123.123 and port 9080.