using MB restore to load to different buckets
I don't see a way to tell mbrestore which bucket to stream the backups into:
/opt/membase/bin/mbrestore -h
Usage: mbrestore [opts] db_files (use -h for detailed help)
Options:
-h, --help show this help message and exit
-a, --add Use add instead of set to avoid overwriting existing
items
-H HOST, --host=HOST Hostname of moxi server to connect to
-p PORT, --port=PORT Port of moxi server to connect to
-u USERNAME, --username=USERNAME
Bucket username (usually the bucket name) to
authenticate to moxi with
-P PASSWORD, --password=PASSWORD
Bucket password to authenticate to moxi with
-t THREADS, --threads=THREADS
Number of worker threads
Restore keys from the sqlite backing store files from a single node.
The behavior i'm seeing is this data goes straight into the default bucket even if it came from another bucket.
Got it - thanks. I was looking for -b "bucket" or something.
Yeah, I can see the confusion there, and we'll update the documentation to provide examples.
The problem is that mbrestore doesn't actually know what the bucket is, all it knows is a 'memcached-compatible' port to send data into...
Perry
Whitney, you need to tell mbrestore which bucket you want to restore into.
You can do this either by changing the host/port (-H and -p) to put it into a bucket configured with a "dedicated port" or with a user/pass (-u and -P) if you have the bucket configured with a password in "standard port" mode.
By default (for ease of use) it pushes the data into 'localhost:11211' which is connected to the default bucket.
Perry
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!