I have situation where I need to move some specific types of docs from one bucket to another bucket.
I have made a check for cbbackup and got
Filter keys during backup
The cbbackup command includes support for filtering the keys that are backed up into the database files you create. This can be useful if you want to specifically backup a portion of your dataset, or you want to move part of your dataset to a different bucket.
The specification is in the form of a regular expression, and is performed on the client-side within the cbbackup tool. For example, to backup information from a bucket where the keys have a prefix of ‘object’:
cbbackup http://HOST:8091 /backups/backup-20120501
-u Administrator -p password
-b default
-k ‘^object.*’
https://developer.couchbase.com/documentation/server/3.x/admin/Tasks/backup-cbbackup.html
But just confused how do I create a regular expression for a docs I want to fiter like
if I only want to restore the docs with abc type
?