Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.6.2
-
7.6.2-3710 community edition
-
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?