gpback/gprestoer reports "DDBoost Error 5034: the user has insufficient privilege" or "DDBoost open file failed"
search cancel

gpback/gprestoer reports "DDBoost Error 5034: the user has insufficient privilege" or "DDBoost open file failed"

book

Article ID: 376888

calendar_today

Updated On:

Products

VMware Tanzu Greenplum Pivotal Data Suite Non Production Edition VMware Tanzu Data Suite VMware Tanzu Data Suite Greenplum

Issue/Introduction

The gpbackup and/or gprestore utility reports an error : "DDBoost Error 5034: the user has insufficient privilege"

$ gprestore --timestamp 20240712193615 --redirect-db test_db --redirect-schema schema01 --include-table schema01.table01 --plugin-config /home/gpadmin/gpconfigs/DataDomain_DDboost_plugin.cfg

20240910:11:29:16 gprestore:gpadmin:mdw:339041-[INFO]:-Restore Key = 20240712193615
20240910:11:29:16 gprestore:gpadmin:mdw:339041-[INFO]:-Reading Plugin Config /home/gpadmin/gpconfigs/DataDomain_DDboost_plugin.cfg
20240910:11:29:16 gprestore:gpadmin:mdw:339041-[INFO]:-plugin config path: /tmp/20240910112916_DataDomain_DDboost_plugin.cfg
20240910:11:29:24 gprestore:gpadmin:mdw:339041-[CRITICAL]:-exit status 1: 11:29:24 ERROR ddboost_plugin.c:1923: DDBoost open file failed on backup/20240712/20240712193615/gpbackup_20240712193615_config.yaml [DDBoost Error 5034: the user has insufficient privilege]
20240910:11:29:24 FATAL gpbackup_ddboost_plugin.c:274: Could not execute command restore_file, err 1, errno 0

 

Cause

The cause of the error is due to insufficient permissions for the DDBoost user on the DataDomain(DD).

For backups, the DDBoost user needs to have read-write permission for the storage unit on the DD.

For restores, the DDBoost user needs to have read permissions for the storage unit on the DD. 

Resolution

Fix

Contact the DataDomain administrator to provide the required permissions for the DDBoost user.