[Bug] PostgreSQL database restore failed
type: question
### Contact Information
1009147564@qq.com
### 1Panel Version
专业版2.2.1
### Problem Description
通过1panel备份数据库,在数据库界面能展示但是无法恢复,一直报错
<img width="1044" height="361" alt="Image" src="https://github.com/user-attachments/assets/1ba030e5-1fcf-4d96-9e94-59b3c8813e53" />
<img width="1981" height="328" alt="Image" src="https://github.com/user-attachments/assets/5a9b0588-9bfb-49f2-a493-c87f4440cde3" />
### Steps to Reproduce
备份数据库然后新建数据库在导入就报错
### The expected correct result
希望能修正这个bug,如果通过1panel备份出来的数据库不能恢复,这些功能没有任何存在的意义。而且很影响使用,数据库都已经没有了,数据怎么办。
### Related log output
```shell
2026/06/14 18:27:05 恢复 [postgresql] 任务开始 [START]
2026/06/14 18:27:07 恢复 失败: exit status 1
2026/06/14 18:27:08 [TASK-END]
```
### Additional Information
_No response_
3 条评论