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

How to change data folder location for existing bucket

No replies
  • Login or register to post comments
Tue, 11/27/2012 - 13:36
robw00t
Offline
Joined: 05/29/2012
Groups: None

Hello, I have a hard drive that is filling up with my couchbase cluster. I need to change the data folder location or perform some sort of migration act to move my couchbase data to a larger drive.

I'm running couchbase 1.8 on two machines in a cluster with a single bucket (default). Both machines are identical & both have a new mount point that is larger than the current drive couchbase is using for the default bucket.

What is the best way to move my default bucket to the new hard drive mout point? I'm familiar with where the data exists on the drives now (/opt/couchbase/var/lib/couchbase/data/default-data/) though I'm not aware of any settings file that points the default bucket to that location.

In mysql I would shut the server down, move the data folder to its new home, edit /etc/my.cnf to change the data folder location, then restart mysql and wala the migration is complete.

I'm not sure how to do this with couchbase. Any advice would be great! I'm having trouble finding any forum posts discussing this topic...

-Rob

Top
  • 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