• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Pleskrestore backup__restore__conflict_configuration_reason_ip

Mickael Salfati

Regular Pleskian
Hi IgorG,

Today a new issue with Plesk, so here's the description ;)

---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Centos 6 10.4.4 MU20 X64

PROBLEM DESCRIPTION AND STEPS TO REPRODUCE
/usr/local/psa/bin/pleskrestore --restore /root/gr23-customer -level clients -verbose -conflicts-resolution /root/ip-resolution.xml

/root/ip-resolution.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<resolve-conflicts-task-description>
	<conflict-resolution-rules>
		<policy>
			<timing>
				<resolution>
				<proceed-with-current />
				</resolution>
			</timing>
			<resource-usage>
				<resolution>
				<overuse />
				</resolution>
			</resource-usage>
			<configuration>
				<resolution>
				<automatic />
				</resolution>
			</configuration>
		</policy>
		<rule conflict id="0">
			<resolution>
			<rename new-name="ip-type:shared:ip-address:192.168.10.50"/>
			</resolution>
		</rule>
	</conflict-resolution-rules>
</resolve-conflicts-task-description>

ACTUAL RESULT
Code:
<?xml version="1.0"?>
<conflicts-description>
 <conflict id="0" guid="4502037b45f8f40a32d6ae15befdac75">
  <type>
   <configuration>
    <reason-description>
     <required-resource-description>
      <ip type="shared" value="192.0.10.50"/>
     </required-resource-description>
     <plesk-object-identifier>
      <type>admin</type>
      <database-id>1</database-id>
      <guid>803a3ba1-3f31-4a0e-867a-9d1fac178a2e</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="19"/>
     <attribute name="guid" value="323a3fdc-0bea-4b8f-b8c8-1a9a323d4fbc"/>
     <attribute name="owner-guid" value="803a3ba1-3f31-4a0e-867a-9d1fac178a2e"/>
     <attribute name="name" value="gr23-customer"/>
    </attributes>
   </node>
   <node name="domain">
    <attributes>
     <attribute name="id" value="382"/>
     <attribute name="guid" value="038dcc37-69b7-4667-b187-8e006f95c5da"/>
     <attribute name="owner-guid" value="323a3fdc-0bea-4b8f-b8c8-1a9a323d4fbc"/>
     <attribute name="name" value="domain.com"/>
    </attributes>
   </node>
   <node name="phosting">
    <attributes>
     <attribute name="guid" value="038dcc37-69b7-4667-b187-8e006f95c5da_phosting"/>
     <attribute name="owner-guid" value="038dcc37-69b7-4667-b187-8e006f95c5da"/>
    </attributes>
   </node>
  </conflicting-objects>
  <overview>
   <object>
    <message>backup__restore__conflict_object_name</message>
    <name>gr23-customer</name>
    <type>backup__restore__object_client</type>
    <reasons>
     <reason>
      <message>backup__restore__conflict_configuration_reason_ip</message>
      <resolver-message>backup__restore__conflict_configuration_reason_ip</resolver-message>
      <param name="ip-address" value="192.0.10.50"/>
      <param name="ip-type" value="shared"/>
      <param name="name" value="backup__restore__object_plesk_admin"/>
      <param name="type" 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>
      <resolver-message>backup__restore__conflict_configuration_reason_ip</resolver-message>
      <param name="ip-address" value="192.0.10.50"/>
      <param name="ip-type" value="shared"/>
      <param name="name" value="backup__restore__object_plesk_admin"/>
      <param name="type" value="backup__restore__object_plesk_admin"/>
     </reason>
    </reasons>
   </object>
   <object>
    <message>backup__restore__conflict_object_complex_name</message>
    <name>backup__restore__object_vhost</name>
    <type>backup__restore__object_vhost</type>
    <owner-name>domain.com</owner-name>
    <reasons>
     <reason>
      <message>backup__restore__conflict_configuration_reason_ip</message>
      <resolver-message>backup__restore__conflict_configuration_reason_ip</resolver-message>
      <param name="ip-address" value="192.0.10.50"/>
      <param name="ip-type" value="shared"/>
      <param name="name" value="backup__restore__object_plesk_admin"/>
      <param name="type" value="backup__restore__object_plesk_admin"/>
     </reason>
    </reasons>
   </object>
  </overview>
 </conflict>
</conflicts-description>
Unable to resolve all conflicts

EXPECTED RESULT
IP conflicts should be fix with conflict file.
--------------------------------------------------------------
 
Back
Top