• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Question Trying to restore Plesk backup - Conflict and password problems

Pascal_Netenvie

Regular Pleskian
Hi i try to restore plesk 12.0 domain backup on another server under plesk 12.5.

On CLI i use this command :
/usr/local/psa/bin/pleskrestore --restore /path_to/backupfile.gz -backup-password -level domains -ignore-sign -verbose

I have 2 problems :

1 - My backup password contains a ! so when i tri to specify it in command i have an event error ... Same if i try to set it as env variable ... how to get rid of this ??

2 - I have this conflict message :
Code:
<?xml version="1.0"?>
<conflicts-description>
 <conflict id="1" guid="2db23ab4921a8f91f50d940de15c83ab">
  <type>
   <configuration>
    <reason-description>
     <required-resource-description>
      <ip type="shared" value="178.xxx.xxx.xxx"/>
     </required-resource-description>
    </reason-description>
    <resolve-options>
     <option name="rename"/>
     <option name="do-not-restore"/>
    </resolve-options>
   </configuration>
  </type>
  <conflicting-objects/>
 </conflict>
</conflicts-description>

i tried to build this conflictres.xml file and use the option "-conflicts-resolution /path_to/conflictres.xml" but it fail :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<resolve-conflicts-task-description>
  <conflict-resolution-rules>
    <policy />
    <rule conflict-id="1">
      <dump-objects>
        <node name="domain">
          <attributes>
          <attribute name="id" value="1"></attribute>
          <attribute name="guid" value="2db23ab4921a8f91f50d940de15c83ab"></attribute>
          <attribute name="name" value="xxx.com"></attribute>
          </attributes>
        </node>
      </dump-objects>
      <resolution>
        <rename new-name="ip-type:shared:ip-address:xxx.xxx.xxx.xx"/>
      </resolution>
    </rule>
  </conflict-resolution-rules>
</resolve-conflicts-task-description>

Some idea or advices ?

Regards.
 
type your password in simple quote.; like 'password' no as this "password"
It works for password, thanks.

But i still have the xml resolution conflict problem ...
I have this error :
PHP Warning: fread(): 249 is not a valid stream resource; File: /opt/psa/admin/plib/StreamXMLReader.php, Line: 110

I tried to modify my xml file in many way but nothing run :/
I looked at this KB :
Sample 1: Configuration Conflict with Missing IP Address

Help please ...
 
Back
Top