tuhaihe commented on code in PR #287: URL: https://github.com/apache/cloudberry-site/pull/287#discussion_r2144081658
########## docs/sys-admin/migration-and-upgrade.md: ########## @@ -0,0 +1,247 @@ +--- +title: Migration and Upgrade +toc_max_heading_level: 5 +--- + +# Migration and Upgrade + +This guide provides detailed instructions for two scenarios: +1. Migrating from Greenplum Database 6.x/7.x to Cloudberry Database +2. Upgrading from Cloudberry Database 1.x to Cloudberry Database 2.x Review Comment: ```suggestion 2. Upgrading from Apache Cloudberry 1.x (non-Apache release before joining the Apache Incubator) to Apache Cloudberry 2.x ``` Also, we need to replace the `Cloudberry Database` with `Apache Cloudberry` in the docs. ########## docs/sys-admin/migration-and-upgrade.md: ########## @@ -0,0 +1,247 @@ +--- +title: Migration and Upgrade +toc_max_heading_level: 5 +--- + +# Migration and Upgrade + +This guide provides detailed instructions for two scenarios: +1. Migrating from Greenplum Database 6.x/7.x to Cloudberry Database +2. Upgrading from Cloudberry Database 1.x to Cloudberry Database 2.x + +Both scenarios utilize the `cbcopy` tool, a powerful data migration utility designed for efficient database migration and upgrade operations. + +## Prerequisites + +Before starting the migration or upgrade process, ensure you have: + +1. Go Programming language version 1.19 or higher installed +2. Superuser privileges on both source and target databases +3. Network connectivity between source and target database clusters +4. Sufficient disk space on both source and target clusters +5. The `cbcopy` and `cbcopy_helper` binaries installed in the `$GPHOME/bin` directory on all nodes of both source and target databases + +## Installing cbcopy + +1. Clone the repository: +```bash +git clone https://github.com/HashDataInc/cbcopy.git +``` + Review Comment: Can add one disclaimer on cbcopy: ``` :::note cbcopy is contributed by community members; however, please note that it is not maintained as an official Cloudberry project. ::: ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
