反馈问题【BUG】请附带以下信息
1Panel 版本:v2.2.5
操作系统(设备): Debian GNU/Linux 13
关键截图:
日志:如图
可以尝试手动执行一下命令
set -o pipefail
gzip -dc '/path/to/backup.sql.gz' \
| docker exec -i \
-e PGPASSWORD='数据库密码' \
'postgresql容器名' \
pg_restore -v -F c -c --if-exists --no-owner \
-U '数据库用户' \
-d '目标数据库' \
2>&1 | tee /tmp/pg-restore.log