• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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