Hi Nathan, that is a known issue that is already reported with the beta. Here is some of my ps code to fix it. $xmlstring should contain the xml output from the export (eg, you can use something like $xmlstring = get-content config.xml)
- Code: Select all
$xmlobj = [xml]$xmlstring
$null = $xmlobj.ExecutionResult.Data.AppSettings.RemoveChild($xmlobj.ExecutionResult.Data.AppSettings.NotificationSettings)
$xmlobj.ExecutionResult.Data.JobInfo.RetentionInfo.RestorePointsCount = "4"
$xmlstring = $xmlobj.OuterXml
Basically, you didn't configure the email settings so during export, the to, from and server are exported as an empty string (you can validate this in the xml file by opening it with notepad). However during import this is refused. So removing the notifcationsettings completely fixes this. Alternatively, you can fill in to, from and server with some fake values. The third line is actually an example on how you can change the amount of restore points. At the end you should write $xmlstring again to a config file (e.g with $xmlstring | set-content -path config.xml)