Details
-
Bug
-
Resolution: Unresolved
-
Major
-
7.6.0
-
Untriaged
-
0
-
No
Description
What is the problem?
If you create a repository and exclude a collection and then restore backups from it to a cluster where the collections have different IDs then cbbackupmgr will ask you to use --map-data on the excluded collection, even though it will not be restored.
What is the solution?
When looking for collection conflicts we should ignore collections in the repository's config that have been excluded.
Reproduction
- Create two collections, C1 and C2 on a cluster
- Create a repository with --exclude-data default._default.c2
- Do a backup
- Recreate the bucket and collections but create C2 before C1
- Try to restore the backup
Workaround
-include-data/-exclude-data on the restore fixes this
Attachments
Gerrit Reviews
For Gerrit Dashboard: MB-62511 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
212099,2 | MB-62511 Account for repo include/exclude on restore | trinity | backup | Status: NEW | -1 | +1 |