While performing a (Beta) Direct Replication by removing bundle options in posix file, causes the following errors:
[ERROR]:-error occurred while configuring for backup: directory /usr/local/gpdr/configs isn't empty.
Run configure backup with '--reconfigure' option to update the existing GPDR configuration files
-[ERROR]:-error occurred while configuring for backup: Conflicting timeline detected in the repository for segment -1. Current segment timeline: 1, found in the repository: 1Please fix archiving in your repository. Make sure that Primary cluster is not running and contact support to remove conflicting wal files.Please refer to /home/gpadmin/gpAdminLogs/gpdr_20250717.log file for details.
After the restore point has been successfully created the next step is to re-run 'gpdr configure backup'.
The above errors are due to re-running the 'gpdr configure backup' command after removing config files but the WAL files had been left on the repository thereby causing the 'conflicting timeline' error.
If the purpose of running 'gpdr configure' on the existing repository was to change the configuration option (like 'bundle' for example), then the path forward would be to run 'gpdr configure backup --reconfigure <path_to_config_file>' or start with fresh with a clean repository.
Please open a Support case and reference this article to obtain the steps to correct this issue.