PowerProtect Data Manager:使用默认pg_dump脚本时,由于 /tmp 磁盘空间耗尽,PostgreSQL 备份失败

Summary: 通过 PowerProtect Data Manager (PPDM) 通用应用程序代理配置 PostgreSQL 数据库备份时,默认pg_dump备份脚本在将备份数据写入Data Domain之前使用 /tmp 作为临时暂存区域。如果 PostgreSQL 数据库大于 /tmp 中的可用空间,则备份会填满文件系统,导致 PPDM 耗尽磁盘空间,并且备份将失败。此问题会影响使用默认 PostgreSQL 备份脚本参数的 PPDM 环境。 ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

PPDM 使用通用应用程序代理保护 PostgreSQL 数据库,默认 pg_dump 备份脚本。备份因磁盘空间不足而失败。The /tmp 在备份操作期间,代理主机上的文件系统将填满容量。较小的数据库可能会成功备份,而超过可用 /tmp 空间始终失败。

Cause

提供的脚本中使用的默认参数将 /tmp 作为将备份写入 Data Domain 之前的暂存区域。

Resolution

  1. 将 PPDM 设备升级到版本 20.1.0.0-14 或更高版本。从 PowerProtect Data Manager 驱动程序和下载页面下载最新版本。
  2. 修改默认备份脚本:
    • 在 PPDM UI 中,导航到 保护→脚本
    • 找到 PostgreSQL 备份脚本。
    • 编辑脚本并找到 pg_dump 包含 -F t 参数
    • 来源
      echo "Starting pg_dump for database $db PG_DUMPBACKUP_PATH: $PG_DUMPBACKUP_PATH"
            output=$("${PG_DUMPBACKUP_PATH}" "${port_option}" -F t -f "${base_backup_dir}/${db}-$(date +%Y%m%d-%H%M%S).tar" ${username} "${db}")
    • 更改 -F t 将参数设置为 -F c -Z 0中的用户名和密码:
    • 更新了:
      echo "Starting pg_dump for database $db PG_DUMPBACKUP_PATH: $PG_DUMPBACKUP_PATH"
            output=$("${PG_DUMPBACKUP_PATH}" "${port_option}" -F c -Z 0 -f "${base_backup_dir}/${db}-$(date +%Y%m%d-%H%M%S).tar" ${username} "${db}")
    • 保存脚本。
  3. 验证修复
    • 从 PPDM 为受影响的数据库运行手动 PostgreSQL 备份。
    • 确认备份成功完成,但没有 /tmp 空间耗尽。
    • 监视 /tmp 文件系统,并确认其未填满容量。
  4. 如果修改脚本参数后 PostgreSQL 备份仍然失败,请联系 戴尔支持 以进行进一步调查,并参考此知识库文章。

Affected Products

PowerProtect Data Manager

Products

Data Protection Suite Series
Article Properties
Article Number: 000494783
Article Type: Solution
Last Modified: 04 أغسطس 2026
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.