如何解决如何忽略“无法解决所有冲突”错误?
我想在服务器上重新安装操作系统后恢复完整的服务器数据。 常规使用管理区域备份失败:
plesk bin pleskrestore --restore /root/backup_domain.com_2107031005.tar -level server -ignore-sign
返回以下输出:
<?xml version="1.0"?>
<conflicts-description>
<conflict id="1" guid="f4f9a236f73cc05b2a4de946c4d65206">
<type>
<configuration>
<reason-description>
<required-resource-description>
<ip type="exclusive" value="89.22.000.00"/>
</required-resource-description>
</reason-description>
<resolve-options>
<option name="rename"/>
<option name="do-not-restore"/>
</resolve-options>
</configuration>
</type>
<conflicting-objects/>
</conflict>
</conflicts-description>
Unable to resolve all conflicts
在我基于 this 示例创建默认冲突解决 xml 之后:
plesk bin pleskrestore --restore /root/backup_domain.com_2107031005.tar \
-level server -ignore-sign -conflicts-resolution r.xml
这会返回另一个错误:
PHP Warning: fread(): supplied resource is not a valid stream resource; File: /opt/psa/admin/plib/StreamXMLReader.php,Line: 110
PHP Warning: fread(): supplied resource is not a valid stream resource in /opt/psa/admin/plib/StreamXMLReader.php on line 110
[2021-07-03 12:07:18.763] 7795:60e052f2d13a2 ERR [panel] Failed to read data from stream:
0: /opt/psa/admin/plib/StreamXMLReader.php:112
StreamXMLReader->parse()
1: /opt/psa/admin/plib/StreamXMLReader.php:179
StreamXMLReader->read(string 'conflicts-description',integer '2',integer '1',integer '0')
...
6: /opt/psa/admin/plib/backup/cuPleskRestore.php:281
cuPleskRestore->__construct()
7: /opt/psa/admin/plib/backup/pleskrestore.php:8
ERROR: Exception: Failed to read data from stream (StreamXMLReader.php:112)
exit status 1
你有什么想法,如何解决这个问题? 备份数据提取成功,可以一一恢复吗?
The backup file was extracted to "/var/lib/psa/dumps".
root@server:/var/lib/psa/dumps/domains/domain.com# ls
backup_apache-files_2107031005.tgz backup_domainmail_2107031005.tgz backup_pd_2107031005.tgz backup_user-data_2107031005.tgz sites
backup_conf_2107031005.tgz backup_info_2107031005.xml backup_statistics_2107031005.tgz databases
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。