How to quickly upgrade the heavydb6.4 version to heavydb7.0 online?
-
Hi jieguo,
You can find the documents on upgrading the 6.x suite to 7.x in our documentation at this link:If you wish to ensure the ability to revert to the 6.x release, please take a backup of your current data directory before proceeding with the upgrade process.
Thank you.
-
Hi,
so if I understand everything correctly, you did the following steps
- Stopped the container
- Performed a backup of the existing data, replicating the 6.4 data into the path /var/lib/heavyai-7.0/storage7.0-6.4
- Started a new container containing the update version of software (let's say 7.0) mapping the /var/lib/heavyai/storage to /var/lib/heavyai-7.0/storage7.0-6.4
Candido
-
Hi,
I migrated from 6.x to 7.x several times without having any issue like that, but I never renamed the storage directory, especially with a docker image that uses a fixed internal heavyai base.
I usually stop the docker, then I take a backup with an OS utility like tar, and after that I run a different version of the docker without renaming any directory.
I'll try that approach, but it looks like something related to docker disk mapping.
Candido
Please sign in to leave a comment.
Comments
5 comments