Exporting Configuration Settings
To export the Replicator configuration for a farm,
Export-ReplicatorSettings -FileName "C:\filenameofyourchoice.xml"
The powershell command is available only form the Management console. For more information on the command, see the Metalogix Replicator Command-line Reference Guide.
This exports Replicator settings for the entire farm to the filename you chose. No passwords are saved in the file and you must later add passwords before importing this file.
Restoring Configuration Settings to a Farm
To restore the complete configuration settings to a farm, do the following:
<Setting name="Password" value="" />
Import-ReplicatorSettings –FileName "<path><file>.xml"
<file> represents the name of the configuration file. For more information on the repadm command, see the Metalogix Replicator Command-line Reference.
After the command completes, your farm will have the same Replicator configuration that is described in the configuration file. The Import-ReplicatorSettings command has additional options to only import web application, group, connection, and map family settings. For more information about these options, see the Metalogix Replicator Command-line Reference.
Importing Configuration Settings as a Template
To configure Replicator identically for several different farms, you can use an exported settings file as a template. To do this:
In most cases, you should remove the following lines from the file to use the default settings on the farm you are importing configuration for.
<WebAppSettings>
…
<Setting name="RemapDomainName" value="" />
…
<Setting name="CachePath" … />
<Setting name="PackageDataPath" … />
…
</WebAppSettings>
<Setting name="Password" value="" />
Import-ReplicatorSettings –FileName <file> -UseFarmAsTemplate "<farmname>"
<file> represents the name of the configuration file and <farmname> represents the word you used in the configuration file to be replaced by the name of the farm. For more information on the command, see the Metalogix Replicator Command-line Reference.
For example, run:
Import-ReplicatorSettings –FileName c:\ReplicatorSettings.xml -UseFarmAsTemplate "FARMNAME"
After the command completes, your farm will have the same Replicator configuration that is described in the configuration file. The Import-ReplicatorSettings command has additional options to only import web application, group, connection, and map family settings. For more information about these options, see the Metalogix Replicator Command-line Reference.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center