Hello Techie's,
Let's say, you need to scrap the existing couchbase cluster and create a new cluster running on the latest couchbase version, First step you need to do is taking backup of the Buckets.
How do you do that ?
Step 1 - Create the backup folder
mkdir -p /data/backup/couchbase/buckets
Step 2 - Create config for all the Buckets
cd /opt/couchbase/bin
cbbackupmgr config -a /data/backup/couchbase/buckets/`data +Y-%b` -r config_name --include-buckets bucket_name_1,bucket_name_2
Step 3 - Check if config is created
cbbackupmgr info -a /data/backup/couchbase/buckets/* -all
Step 4 - Backup all Buckets
cbbackupmgr backup -c couchbase://hostname -u admin -p password -a /data/backup/couchbase/buckets/* -r config_name
Step 5 - Check if buckets are backed up
cbbackupmgr list -a /data/backup/couchbase/buckets/*
want to know more about couchbase ?
click here -> what is Couchbase (vichietechie.blogspot.com)
Comments
Post a Comment