I have a backup where I’m trying to restore only specific documents to a specific bucket… I tried the command on my Windows machine where I have a test couchbase server and it worked fine… trying the same command on a redhat 7 server it always restores zero documents.
The command i’m using is
cbbackupmgr restore -a /home/x/backups/couchbase -r cbbackup --host couchbase://localhost --username xyz --password xyz --include-buckets mybucket --filter-keys \[Abc\.com].+
I even tried to do double back-slash instead of single back-slash to escape the bracket and the dot but it’s not working on linux.
Maybe somebody can shed some light onto this?
regex example here: https://regex101.com/r/JMTRMX/1