Backing up views using design_doc_only option

#1

Hi i’m trying to backup views using the cbbackup tool like this:

cbbackup http://<CB Host name>:8091 <back-up-dir> -x design_doc_only=1

Initially, this worked on my local environment, but when I tried this command on a DEV server (an EC2 instance) it doesn’t seem to generate the json file (that is the back up file) to the back up directory that I’ve specified. It just shows this message (as if the back up process was successful):

transfer design doc only. bucket msgs will be skipped. done

Am I missing something? Your thoughts. Thanks!

#2

The design doc do you see it in the UI?

if Yes there is a way to make sure its in the file that stores it.

#3

Yes I see it, the problem is when running the cbbackup command, the output file is not being generated.

What do you mean

there is a way to make sure its in the file that stores it.

#4

What version of Couchbase are you using? I want to try to reproduce this issue.