Understanding CBBackup Output


#1

Hello -

We ran a cbbackup and it finished successfully, but with some unexpected output. We expected all the [ #### ] % completes to be 100% after it finished each bucket. But to our surprise, all except for one were less-than 100% (see codeblock below). Is this expected? We ran the most genertic command that is suppose to back up all the buckets:

cbbackup http://servername.domain c:\backups -u Username -p Password

  [####################] 100.0% (35/estimated 35 msgs)
bucket: main, msgs transferred...
       :                total |       last |    per sec
 byte  :               159853 |     159853 |    42844.5
  [####################] 99.9% (174043/estimated 174266 msgs)
bucket: client1, msgs transferred...
       :                total |       last |    per sec
 byte  :            290450038 |  290450038 |   665695.0
  [####################] 99.9% (3210977/estimated 3214073 msgs)
bucket: client2, msgs transferred...
       :                total |       last |    per sec
 byte  :           4993368292 | 4993368292 |   572325.6
  [###############     ] 76.9% (1139438/estimated 1482649 msgs)
bucket: test, msgs transferred...
       :                total |       last |    per sec
 byte  :           7218452123 | 7218452123 |  2195475.8
  [#############       ] 64.5% (1124629/estimated 1743182 msgs)
bucket: client3, msgs transferred...
       :                total |       last |    per sec
 byte  :           9019430677 | 9019430677 |  3001393.5
done

Any thoughts?


#2

Hello All -

It’s been a few weeks and I haven’t heard anything on this. Am I misunderstanding the output, or are these truly partial backups for the buckets that are listed as less-than 100% complete?

Thanks,

  • Jeff

#3

Apologies for the delay there @jeffhoward001. Which version of Couchbase are you running? The release notes have had a bit to say about cbbackup in the last couple of releases and maintenance releases.

I’ll look into this but maybe @pvarley or @drigby know off the top of their head on why you’d see done before hitting 100%