• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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