Details
Description
Reproduction
- Create a bucket, and create an eventing function for that bucket
- Create a backup repo with the following flagsĀ
--disable-bucket-config --disable-views --disable-gsi-indexes --disable-ft-indexes --disable-data --disable-cluster-analytics --disable-analytics --disable-ft-alias --disable-bucket-query --disable-cluster-query
- Backup the cluster
- Delete the bucket and the eventing function from the cluster
- Try to restore the backup
The eventing functions will not be restored, as the bucket/scope/collections required for it are not present on the cluster.
Fix
An error should be returned (possibly by the eventing endpoint). It should be possible to force create the bucket/scope/collections required with a combination of flag e.g. --mao-data, --auto-create-bucketsĀ