Closed peilinqian closed 8 months ago
The error was logged and returned, and this may cause backup execution interruption in previous version.
And this is fixed as below:
gs_probackup init
will be executed by pitr-agent before any backup progress starts. #480
Environment
Issue description
Error log
{"level":"error","ts":"2023-12-26T10:36:03+08:00","caller":"pkg/opengauss.go:196","msg":"add instance failure[output=], err: exec failure[ee=exit status 1,stdout=ERROR: Instance 'ins-default-ss' backup directory already exists: '/home/peilq_og_sub/basebackup/backups/ins-default-ss'\n], wrap:10003-Command operate failed., wrap: 10006-The instance already exist."}
Expected result
The gs_probackup init operation is performed for each PITR backup. The agent displays a message but does not report an error.