Skip to content

mc: <ERROR> unable to configure remote target. The remote target already exists. #5207

@115305411

Description

@115305411

Expected behavior

Delete and add again

Actual behavior

mc replicate add --remote-bucket http://admin:admin@192.168.1.100:9090/test --replicate "delete,delete-marker,existing-objects" --sync minio-cluster-old/test --limit-upload 200Mi
mc: unable to configure remote target. The remote target already exists.

Steps to reproduce the behavior

mc replicate add --remote-bucket http://admin:admin@192.168.1.100:9090/test --replicate "delete,delete-marker,existing-objects" --sync minio-cluster-old/test --limit-upload 200Mi

mc replicate remove minio-cluster-old/test --all --force

mc replicate add --remote-bucket http://admin:admin@192.168.1.100:9090/test --replicate "delete,delete-marker,existing-objects" --sync minio-cluster-old/test --limit-upload 200Mi

mc --version

  • (paste output of mc --version)

mc --version
mc version RELEASE.2025-04-16T18-13-26Z (commit-id=b00526b153a31b36767991a4f5ce2cced435ee8e)
Runtime: go1.24.2 linux/amd64
Copyright (c) 2015-2025 MinIO, Inc.
License GNU AGPLv3 https://www.gnu.org/licenses/agpl-3.0.html

System information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions