Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

Problems with restore operation

1 reply [Last post]
  • Login or register to post comments
Wed, 06/20/2012 - 05:56
michals
Offline
Joined: 06/14/2012
Groups: None

Hi.
I have a cluster of 2 nodes.
I am trying to backup nodes and restore,
To simulate the restore process, i deleted the bucket.
But this deleted the data of /opt/couchbase/var/lib/couchbase/data/default-data/
only on one node.
So i delete the data on the other node.
But then, i started having problems.

After the restore, i could not flush the bucket or delete it. when i did it, the data was always recovered some
how.

So eventually i tried to:
1. remove nodes
2. restart servers
3. uninstall the couchbase on both servers

but then the rebalance of the servers failed since the /opt/couchbase/var/lib/couchbase/data/default-data/
was missing.

This was solved by copying these files from the other node.

What should i do?
how should i retore data? can i not delete the bucket & data on other node in order to simulate no data?

Thanks

Top
  • Login or register to post comments
Mon, 06/25/2012 - 17:06
ingenthr
Offline
Joined: 03/16/2010
Groups:

I think the problem you may have run into is that the deletion of the data when deleting a bucket actually occurs asynchronously so as to provide a good UI experience. The underlying deletion of data can take a long time if you have a lot of data.

The best thing to do after delete and before restore would be to periodically check for when the data is gone. After the data is gone, you can recreate the bucket and restore.

This is a known issue and something we plan to fix in a future release.

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