Couchbase backup restore error


#1

I am trying to restore a couchbase base backup file but I get the error when I run the command
./cbrestore
/backup/2019-02-06T121650Z-full
http://127.0.0.1:8091
-u Administrator -p password
–bucket-source=my_bucket
–bucket-destination=my_bucket

I get the error
s0 error: async operation: error: conn.send() exception: [Errno 32] Broken pipe on sink: http://10.128.0.2:8091(my_bucket@10.128.0.2:8091) error: conn.send() exception: [Errno 32] Broken pipe


#2

In the all my sync_gateway document is also in the backup and also have some attachment. When I restore the data I get the same error


#3

Hi @mohdzafargzp,

What version of Couchbase Server are you using? Would you mind also providing the command you used to create the backup?


#4

Hi @matthew.groves ,
I used couchbase community server 5.1.1 , and the command I used is "./cbbackup http://HOST:8091 /backups/cb-backup -u Administrator -p password "