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

unable to run cbbackup/cbrestore, need to bulkload json docs into couchbase

1 reply [Last post]
  • Login or register to post comments
Thu, 01/31/2013 - 09:28
abhish_gl
Offline
Joined: 01/31/2013
Groups: None

I am trying to run the backup restore of couchbase and I am getting "SASL auth failed" error, however I am able to run the other commands using couchbase-cli with same username and password. I also tried using the actual hostname/ip instead of localhost, but got the same error.

error I am getting:

./cbbackup http://localhost:8091 /tmp/backup-20120131 -u Administrator -p password
error: SASL auth failed: , user: production

however, if I run following command it runs fine and lists the servers.

./couchbase-cli server-list -c localhost:8091 -u Administrator -p password

1. Do I need to setup something before I can run cbbackup restore utility?
2. can I bulk load json docs directly to couchbase db?

Top
  • Login or register to post comments
Thu, 01/31/2013 - 17:53
anil
Offline
Joined: 01/31/2013
Groups: None

Hello,
If you are trying to backup ‘SASL Buckets’ then you can use ‘-b option’ with cbbackup command.

To bulk load json documents to Couchbase you can use the ‘CBDocLoader’ tool and here is the blog post on that (http://blog.couchbase.com/loading-json-data-couchbase) some examples here (https://github.com/couchbase/couchbase-examples).

Hope that helps…

Anil

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