gpbackup fails with "yaml: line 6: did not find expected key"
search cancel

gpbackup fails with "yaml: line 6: did not find expected key"

book

Article ID: 296259

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

The gpbackup may fail with a YAML error:
gpbackup --dbname gpadmin --plugin-config /home/gpadmin/ddboost-test-config.yaml
20190711:15:45:04 gpbackup:gpadmin:mdw.gphd.local:019276-[INFO]:-Starting backup of database gpadmin
20190711:15:45:36 gpbackup:gpadmin:mdw.gphd.local:019276-[CRITICAL]:-yaml: line 6: did not find expected key


Environment

Product Version: 4.3

Resolution

The error is points to an issue within the yaml configuration file.
Please check the yaml file for typos (in this case a missing quote):
 

executablepath: $GPHOME/bin/gpbackup_ddboost_plugin
options:
hostname: "hostnameexample"
username: "ddboost"
password: "xxx"
storage_unit: "GPDB
directory: "direxample"