Unable to initialize the Cloud Pak for Data volume backup and restore utility

When you try to initialize the cpd-cli backup-restore command-line interface, an error occurs.

Symptoms

You see the following error:
Error: repository "default" already exist

Causes

A previous attempt to initialize cpd-cli backup-restore failed, and resources must be cleaned up.

Resolving the problem

Reset cpd-cli backup-restore, and then retry the initialization command.

cpd-cli backup-restore reset \
--namespace ${PROJECT_CPD_INST_OPERANDS} \
--force \
--log-level=debug \
--verbose