Details
-
Improvement
-
Resolution: Won't Fix
-
Major
-
2.3.0
-
None
-
1
Description
Path for the save/restore command is either used to save/restore all buckets, save/restore scopes and collections of a particular bucket or save/restore collections of a particular 'bucket.scope'.
A scenario where it does not work:
1. Create a 1 node cluster with 3 buckets.
2. Save the topology of a single bucket.
3. Delete all buckets.
4. Restore the saved topology i.e. only one bucket and its children resources.
This does not work because we do not have the option to save one bucket topology. (Step 4 does not work if that bucket is not already created during restore.)
Error:
Collecting data topology resources...
|
Loading current cluster topology...
|
/
|
Loading requested cluster topology...
|
parameter error: save level 1 does not match patch level 0 |
As a workaround, we can backup the only required bucket and restore it without data but the corresponding kubernetes objects would not be created.