Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-62402

community edition cbbackupmgr cannot restore data taken from a different cluster

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      Basically I have travel-sample, I take a backup of travel-sample, now if i delete travel-sample and recreate it OR try to restore this backup to a different cluster I get this error

      ./cbbackupmgr config --archive /data/backups --repo community_backup

      ./cbbackupmgr backup --archive /data/backups --repo community_backup --host 127.0.0.1 --username Administrator --password password

      root@s71919-deb11:/opt/couchbase/bin# ./cbbackupmgr restore --archive /data/backups --repo community_backup --cluster http://127.0.0.1:8091 --username Administrator --password password
      Warning: Existing restore failed before any data was transferred, restarting from scratch
      Error restoring cluster: scope 'tenant_agent_03' with id 0xa exists with a different name/id on the cluster, a manual remap using '--map-data' is required
       
      root@s71919-deb11:/opt/couchbase/bin# ./cbbackupmgr restore --archive /data/backups --repo community_backup --cluster http://127.0.0.1:8091 --username Administrator --password password --map-data travel-sample.tenant_agent_04=travel-sample.tenant_agent_04,travel-sample.tenant_agent_03=travel-sample.tenant_agent_03,travel-sample.tenant_agent_02=travel-sample.tenant_agent_02,travel-sample.tenant_agent_01=travel-sample.tenant_agent_01,travel-sample.tenant_agent_00=travel-sample.tenant_agent_00
      Error restoring cluster: invalid mapping 'travel-sample.tenant_agent_00=travel-sample.tenant_agent_00', mapping a scope/collection during a restore is an Enterprise Edition feature
      

      essentially it does not seem possible to restore data to a different cluster, or if you delete and recreate a scope it will no longer be possible to restore data to that scope using a previous backup on CE, is this an intended limitation?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ajay.bhullar Ajay Bhullar
            ajay.bhullar Ajay Bhullar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty