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 :
i tried to build this conflictres.xml file and use the option "-conflicts-resolution /path_to/conflictres.xml" but it fail :
Some idea or advices ?
Regards.
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.