M
MOUCHONS
Guest
Hello,
I church to use the -conflicts-resolution option on pleskrestore command.
I make :
/usr/local/psa/bin/pleskrestore --restore ns_back_domain.pl_info_1005052351.xml -level domains -conflits-resolution /root/conflicts-plesk -debug
I have this error :
<message>backup__restore__conflict_configuration_reason_ip</message>
<param name="ip-address" value="xx.xx.xx.xx"/>
<param name="ip-type" value="shared"/>
<param name="type" value="backup__restore__object_plesk_admin"/>
<param name="name" value="backup__restore__object_plesk_admin"/>
It is due that the backup is provided since an other server.
I want use the the conflicts-resolution option to make a generic option datafile:
My file /root/conflicts-plesk contain :
the generic content resolution rules:
<conflict-resolution-rules>
<policy>
<timing>
<resolution>
<proceed-with-current />
</resolution>
</timing>
<resource-usage>
<resolution>
<overuse />
</resolution>
</resource-usage>
<configuration>
<resolution>
<automatic />
</resolution>
</configuration>
</policy>
</conflict-resolution-rules>
and I have find the domain specific data
<resolve-conflicts-task-description>
<conflict-resolution-rules>
<policy />
<rule conflict-id="0">
<dump-objects>
<node name="my_specific_domain.tld">
<attributes>
<attribute name="id" value="25"></attribute>
<attribute name="guid" value="0822c175-a10d-459e-bd3a-e5cbc497e1f0"></attribute>
<attribute name="owner-guid" value="93dbe1b1-cff5-430f-8466-5b810099772f"></attribute>
<attribute name="name" value="my_specific_domain.tld"></attribute>
</attributes>
</node>
</dump-objects>
<resolution>
<!-- beginning of the conflict resolution definition: IP mapping: upon restore, the conflicting domain example.com should have hosting configured on IP 192.0.2.34 -->
<rename new-name="ip-type:shared:ip-address:xx.xx.xx.22"/>
</resolution>
<!-- end of the conflict resolution definition -->
</rule>
</conflict-resolution-rules>
</resolve-conflicts-task-description>
But it is still en error.
I want to put renew new-name to the generic resolution conflicts .
I need to help because I don't find some information about this and I am very far of the resolution ^^
Can you provide me a specific xml text file to apply on the generic rules to use on a global restore backup ?
or can you give a runway to help ?
Very thanks for your time.
regards
I church to use the -conflicts-resolution option on pleskrestore command.
I make :
/usr/local/psa/bin/pleskrestore --restore ns_back_domain.pl_info_1005052351.xml -level domains -conflits-resolution /root/conflicts-plesk -debug
I have this error :
<message>backup__restore__conflict_configuration_reason_ip</message>
<param name="ip-address" value="xx.xx.xx.xx"/>
<param name="ip-type" value="shared"/>
<param name="type" value="backup__restore__object_plesk_admin"/>
<param name="name" value="backup__restore__object_plesk_admin"/>
It is due that the backup is provided since an other server.
I want use the the conflicts-resolution option to make a generic option datafile:
My file /root/conflicts-plesk contain :
the generic content resolution rules:
<conflict-resolution-rules>
<policy>
<timing>
<resolution>
<proceed-with-current />
</resolution>
</timing>
<resource-usage>
<resolution>
<overuse />
</resolution>
</resource-usage>
<configuration>
<resolution>
<automatic />
</resolution>
</configuration>
</policy>
</conflict-resolution-rules>
and I have find the domain specific data
<resolve-conflicts-task-description>
<conflict-resolution-rules>
<policy />
<rule conflict-id="0">
<dump-objects>
<node name="my_specific_domain.tld">
<attributes>
<attribute name="id" value="25"></attribute>
<attribute name="guid" value="0822c175-a10d-459e-bd3a-e5cbc497e1f0"></attribute>
<attribute name="owner-guid" value="93dbe1b1-cff5-430f-8466-5b810099772f"></attribute>
<attribute name="name" value="my_specific_domain.tld"></attribute>
</attributes>
</node>
</dump-objects>
<resolution>
<!-- beginning of the conflict resolution definition: IP mapping: upon restore, the conflicting domain example.com should have hosting configured on IP 192.0.2.34 -->
<rename new-name="ip-type:shared:ip-address:xx.xx.xx.22"/>
</resolution>
<!-- end of the conflict resolution definition -->
</rule>
</conflict-resolution-rules>
</resolve-conflicts-task-description>
But it is still en error.
I want to put renew new-name to the generic resolution conflicts .
I need to help because I don't find some information about this and I am very far of the resolution ^^
Can you provide me a specific xml text file to apply on the generic rules to use on a global restore backup ?
or can you give a runway to help ?
Very thanks for your time.
regards