Upgrade from 3.1.1 to 5.1.1 version


#1

Hi ,

I have 3.1.1 cluster setup on my linux machine i want to upgrade to 5.1.1 .
What approach should i take ? Is it necessary to upgrade to 4.1.1 then to 5.1.1 ?


#2

Hi @kulsam, https://docs.couchbase.com/server/5.5/install/upgrade.html has all the information you are looking for. Yes, you need to first upgrade from 3.1.1 to 4.x (it can be 4.0 or 4.5 or 4.6.5) and then upgrade to 5.1.1.


#3

Thanks a lot raju.

One more question, can i install 5.1 cluster and then restore backup from 3.1 version using cbbackup and cbrestore utility ?
As of now when i try to restore my backup to 5.1 version i face
exception reading backup file : no such column : conf_res


#4

Hi Kulsam,
Thanks for using our Couchbase Server.
To be able to restore data to cluster 5.x.x version, backup data must backup from 4.x.x.
In your case, your cluster is 3.1 version. You need to upgrade y0ur cluster to 4.x.x version.
Once your cluster is in 4.x.x version, there are 2 options to bring data back to 5.x.x cluster:

  1. One is upgrade your cluster directly to 5.1.1 (or latest one 5.5.0) from 4.x.x
  2. Take backup data from 4.x.x cluster. Install new 5.x.x cluster and restore data back to 5.x.x cluster.
    Thanks

#5

Thanks a lot thuan !! :slight_smile: