I have used pleskbackup to create a backup file from one server, and have moved it to another over FTP. I used pleskrestore to create a map file, and have specified a conflict resolution file.
However when I try and import the backup using pleskrestore it fails due to IP conflicts.
it spits out this line after a few minutes
And then every domain in the backup fails with this error
Here is my conflict file
and the first few lines my map file
So from what I can tell the map file is set correctly to go from 77.77.77.77 to 10.10.10.10 for all clients and domains using that shared IP (which several hundred are all doing in this map file). My conflict resolution file shows that resolution should overwrite and the rule says that for all dump objects it should rename the shared ip to the specified value - although I have also tried setting the conflict resolution to automatic for the configuration section.
This is all in line with what is displayed in this KB: http://kb.odin.com/6164 and in the help documents http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.0-backup-cli-guide/
Any help would be appreciated.
However when I try and import the backup using pleskrestore it fails due to IP conflicts.
/usr/local/psa/bin/pleskrestore --restore ./backup_file -level clients -verbose -conflicts-resolution ./conflict_file
it spits out this line after a few minutes
Backup file has wrong signature for this server
And then every domain in the backup fails with this error
<conflict id="116" guid="1140d30ccee5ff9305e5aa89e147375a">
<type>
<configuration>
<reason-description>
<required-resource-description>
<ip type="shared" value="77.77.77.77"/>
</required-resource-description>
<plesk-object-identifier>
<type>admin</type>
<database-id>2</database-id>
<guid>c13777e9-c880-46f7-8bee-86b1219244a6</guid>
</plesk-object-identifier>
</reason-description>
<resolve-options>
<option name="do-not-restore"/>
<option name="rename"/>
</resolve-options>
</configuration>
</type>
<conflicting-objects>
<node name="client">
<attributes>
<attribute name="id" value="799"/>
<attribute name="guid" value="943383d3-a924-4244-b579-0fe5fc9809cc"/>
<attribute name="owner-guid" value="c13777e9-c880-46f7-8bee-86b1219244a6"/>
<attribute name="name" value="user_account"/>
</attributes>
</node>
<node name="domain">
<attributes>
<attribute name="id" value="1451"/>
<attribute name="guid" value="fdd81206-431f-4f24-b464-2183d66baece"/>
<attribute name="owner-guid" value="943383d3-a924-4244-b579-0fe5fc9809cc"/>
<attribute name="name" value="domain.com"/>
</attributes>
</node>
</conflicting-objects>
<overview>
<object>
<message>backup__restore__conflict_object_name</message>
<name>user_account</name>
<type>backup__restore__object_client</type>
<reasons>
<reason>
<message>backup__restore__conflict_configuration_reason_ip</message>
<param name="ip-address" value="77.77.77.77"/>
<param name="ip-type" value="shared"/>
<param name="type" value="backup__restore__object_plesk_admin"/>
<param name="name" value="backup__restore__object_plesk_admin"/>
</reason>
</reasons>
</object>
<object>
<message>backup__restore__conflict_object_name</message>
<name>domain.com</name>
<type>backup__restore__object_domain</type>
<reasons>
<reason>
<message>backup__restore__conflict_configuration_reason_ip</message>
<param name="ip-address" value="77.77.77.77"/>
<param name="ip-type" value="shared"/>
<param name="type" value="backup__restore__object_plesk_admin"/>
<param name="name" value="backup__restore__object_plesk_admin"/>
</reason>
</reasons>
</object>
</overview>
</conflict>
Here is my conflict file
<?xml version="1.0" encoding="UTF-8"?>
<conflict-resolution-rules>
<policy>
<timing>
<resolution>
<proceed-with-current />
</resolution>
</timing>
<resource-usage>
<resolution>
<overuse />
</resolution>
</resource-usage>
<configuration>
<resolution>
<overwrite />
</resolution>
</configuration>
<rule>
<dump-objects />
<resolution>
<rename new-name="ip-type:shared:ip-address:10.10.10.10"/>
</resolution>
</rule>
</policy>
</conflict-resolution-rules>
and the first few lines my map file
[ip-map]
# Unchanged IP addresses:
# Please review default IP addresses mapping below:
77.77.77.77 shared -> 10.10.10.10 shared # ip address does not exist 77.77.77.77
# NOTE : It's not recommended to modify this section
[] # Owner account does not set.
[user_name]
77.77.77.77
domain.com 77.77.77.77
So from what I can tell the map file is set correctly to go from 77.77.77.77 to 10.10.10.10 for all clients and domains using that shared IP (which several hundred are all doing in this map file). My conflict resolution file shows that resolution should overwrite and the rule says that for all dump objects it should rename the shared ip to the specified value - although I have also tried setting the conflict resolution to automatic for the configuration section.
This is all in line with what is displayed in this KB: http://kb.odin.com/6164 and in the help documents http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.0-backup-cli-guide/
Any help would be appreciated.