Restoring Couchbase Backup to Other Cluster

Context: We’re migrating Couchbase from an OpenShift (on-prem) cluster to AWS EKS.

During the restore process from an S3 backup, we encountered the following error:

Error restoring cluster: collection ‘site’ with id 0x9 in the scope ‘_default’ exists with a different name/id on the cluster, a manual remap using ‘–map-data’ is required

According to the documentation, resolving this requires remapping the data to a different scope (not _default). However, changing the scope name would introduce significant changes on the application side. Is there a way to perform the restore while still using the _default scope?

Here’s the backup CRD:

apiVersion: couchbase.com/v2
kind: CouchbaseBackup
metadata:
  name: couchbase-backup-s3
  labels:
    cluster: couchbase-cluster
spec:
  strategy: full_incremental
  full:
    schedule: "30 15 * * 0"
  incremental:
    schedule: "30 15 * * 1-6"
  storageClassName: ocs-storagecluster-ceph-rbd
  size: 20Gi
  ephemeralVolume: true
  s3bucket: s3://klg-prd-couchbase-backup
  objectStore:
    secret: secret-couchbase-backup-s3
    uri: s3://klg-prd-couchbase-backup

here’s the restore:

apiVersion: couchbase.com/v2
kind: CouchbaseBackupRestore
metadata:
  name: couchbase-backup-restore
  labels:
    cluster: staging-couchbase-cluster
spec:
  start:
    str: oldest
  end:
    str: latest
  objectStore:
    secret: secret-couchbase-backup-s3
    uri: s3://klg-stg-couchbase-backup

I understand the message to mean if either the name or id is different. So mapping _default to _default would work.