Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

cbbackup gives "error: no design source node"

12 replies [Last post]
  • Login or register to post comments
Mon, 02/04/2013 - 20:50
cachvico
Offline
Joined: 06/21/2012
Groups:

Hello

Running /opt/couchbase/bin/cbbackup http://host:8091 backups/ --username Administrator --password pass

appears to work but gives an error message at the end;

[####################] 100.8% (130/129 msgs)
bucket: mybucket, msgs transferred...
       :                total |       last |    per sec
 batch :                  131 |        131 |      410.7
 byte  :                23971 |      23971 |    75154.6
 msg   :                  130 |        130 |      407.6
error: no design source node; spec_parts: ('host', '8091', 'Administrator', 'pass', '')

Is this cause for concern?

Thank you

Darren

Top
  • Login or register to post comments
Tue, 02/05/2013 - 01:34
dipti
Offline
Joined: 11/02/2011
Groups:

Do you have any design documents (views) defined in the system?

cbbackup backups an entire cluster, which includes all of the data buckets and data on all nodes. This will also include all design documents; do note however that you will rebuild any indexes after you restore the data. If you don't have design docs, I think you may see this error. If you do have design docs, it may be a bug.

- Dipti

Top
  • Login or register to post comments
Tue, 02/05/2013 - 08:55
cachvico
Offline
Joined: 06/21/2012
Groups:

I do have design docs - 11 of them in production, and I tested with a design doc in development and without, and the error remains.

Top
  • Login or register to post comments
Tue, 02/05/2013 - 10:29
dipti
Offline
Joined: 11/02/2011
Groups:

Do your design documents get backed up and restored when you run cbrestore?

Top
  • Login or register to post comments
Tue, 02/05/2013 - 16:36
cachvico
Offline
Joined: 06/21/2012
Groups:

It's true; they don't.

I can send logs or give you access to my instance if it would help.

Top
  • Login or register to post comments
Wed, 02/06/2013 - 10:27
anil
Offline
Joined: 01/31/2013
Groups: None

Yes please send us the logs and we will take a look at it.

Thanks

Top
  • Login or register to post comments
Wed, 02/06/2013 - 11:11
cachvico
Offline
Joined: 06/21/2012
Groups:

I've done this:

/opt/couchbase/bin/cbcollect_info localhost.zip
curl --upload-file localhost.zip http://s3.amazonaws.com/customers.couchbase.com/gratwi/

This is what you need?

Top
  • Login or register to post comments
Wed, 02/06/2013 - 15:56
bcui
Offline
Joined: 11/15/2010
Groups:

It is highly possible that you put the wrong parameter for cbbackup. You can try this:

/opt/couchbase/bin/cbbackup http://localhost:8091 backs/ --username Adminsitrator --password pass

or you put the actual ip address such as 10.1.2.3. Here you cannot specify hostname other than localhost.

Top
  • Login or register to post comments
Wed, 02/06/2013 - 16:08
cachvico
Offline
Joined: 06/21/2012
Groups:

It's the host reference - only 'localhost' works, not the FQDN or IP address.

Presumably this is a bug, and means remote backups are not currently possible?

Thank you

Top
  • Login or register to post comments
Wed, 02/06/2013 - 16:13
bcui
Offline
Joined: 11/15/2010
Groups:

neither host reference nor fqdn will work. But ip address will. So remote backup is certainly possible as long as the ip address is the valid one that represents a node in couchbase cluster.

Top
  • Login or register to post comments
Wed, 02/06/2013 - 16:21
cachvico
Offline
Joined: 06/21/2012
Groups:

I still get the error when using the external IP, locally

i.e. using the command 'cbbackup http://54.235.120.186:8091 ...', from the machine 54.235.120.186 itself, still gives the error.

Perhaps remote IP addresses only work from remote machines?

Top
  • Login or register to post comments
Wed, 02/06/2013 - 16:25
bcui
Offline
Joined: 11/15/2010
Groups:

Couchbase Server won't support external ip address. You have to use the internal ip address, i.e. server node name which you can find from Couchbase Admin console.

Top
  • Login or register to post comments
Wed, 02/06/2013 - 16:41
cachvico
Offline
Joined: 06/21/2012
Groups:

ok! So you can backup a node on your LAN, but not on a different network.

If I may suggest, might be a good idea to put a check for this into the cbbackup tool - this is really non-obvious from the tool/documentation (especially as it mostly works but not quite!)

Thank you for the clarification.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker