PG 恢复没有 space 留在设备上,仅从恢复失败的地方恢复

PG restore no space left on device, only restore from where restore failed

我运行一个pg_restore在一个大数据库上,但是接近尾声恢复系统运行内存不足:

pg_restore: error: COPY failed for table "user_styles": ERROR:  could not extend file "base/11521287/99526805": No space left on device
HINT:  Check free disk space.

有没有办法从内存 运行 消失的地方继续恢复?

没有。您将不得不删除部分恢复的数据库并在增加磁盘后重新开始 space.