From a1b55f19d0151ac01087f1075bc12f73c553c4ad Mon Sep 17 00:00:00 2001 From: Dwight Hodge Date: Mon, 12 Aug 2024 17:16:03 -0400 Subject: [PATCH] links --- .../preview/manage/data-migration/_index.md | 6 ++--- .../manage/data-migration/bulk-export-ysql.md | 2 +- .../manage/data-migration/bulk-import-ysql.md | 2 +- .../data-migration/migrate-from-postgres.md | 26 +++++++++---------- .../stable/manage/data-migration/_index.md | 6 ++--- .../manage/data-migration/bulk-export-ysql.md | 2 +- .../manage/data-migration/bulk-import-ysql.md | 2 +- .../data-migration/migrate-from-postgres.md | 26 +++++++++---------- 8 files changed, 36 insertions(+), 36 deletions(-) diff --git a/docs/content/preview/manage/data-migration/_index.md b/docs/content/preview/manage/data-migration/_index.md index 99c4daf4e4c3..b8f20b9bf84a 100644 --- a/docs/content/preview/manage/data-migration/_index.md +++ b/docs/content/preview/manage/data-migration/_index.md @@ -17,10 +17,10 @@ Migrating to YugabyteDB, a high-performance distributed SQL database, involves a ## YugabyteDB Voyager -Yugabyte ships [YugabyteDB Voyager](../../yugabyte-voyager/), a comprehensive data migration tool designed specifically to help users migrate from traditional databases like PostgreSQL, Oracle, MySQL, and others to YugabyteDB. It offers a variety of features that make the migration process smoother, more reliable, and less error-prone. +Yugabyte ships [YugabyteDB Voyager](/preview/yugabyte-voyager/), a comprehensive data migration tool designed specifically to help users migrate from traditional databases like PostgreSQL, Oracle, MySQL, and others to YugabyteDB. It offers a variety of features that make the migration process smoother, more reliable, and less error-prone. -{{}} -To learn more about how to methodically export using YB Voyager, see [Migrate](../../yugabyte-voyager/migrate/). +{{}} +To learn more about how to methodically export using YB Voyager, see [Migrate](/preview/yugabyte-voyager/migrate/). {{}} ## Export your data diff --git a/docs/content/preview/manage/data-migration/bulk-export-ysql.md b/docs/content/preview/manage/data-migration/bulk-export-ysql.md index a7f374996d9a..806281fa1381 100644 --- a/docs/content/preview/manage/data-migration/bulk-export-ysql.md +++ b/docs/content/preview/manage/data-migration/bulk-export-ysql.md @@ -19,7 +19,7 @@ The recommended way to export data from PostgreSQL for purposes of importing it To export an entire database that consists of smaller datasets, you can also use the YugabyteDB [ysql_dump](../../../admin/ysql-dump/) utility. {{< tip title="Migrate using YugabyteDB Voyager" >}} -To automate your migration from PostgreSQL to YugabyteDB, use [YugabyteDB Voyager](../../../yugabyte-voyager/). To learn more, refer to the [export schema](../../../yugabyte-voyager/migrate/migrate-steps/#export-schema) and [export data](../../../yugabyte-voyager/migrate/migrate-steps/#export-data) steps. +To automate your migration from PostgreSQL to YugabyteDB, use [YugabyteDB Voyager](/preview/yugabyte-voyager/). To learn more, refer to the [export schema](/preview/yugabyte-voyager/migrate/migrate-steps/#export-schema) and [export data](/preview/yugabyte-voyager/migrate/migrate-steps/#export-data) steps. {{< /tip >}} ## Export data into CSV files using the COPY command diff --git a/docs/content/preview/manage/data-migration/bulk-import-ysql.md b/docs/content/preview/manage/data-migration/bulk-import-ysql.md index 8fb19f7127cd..7564478d46c9 100644 --- a/docs/content/preview/manage/data-migration/bulk-import-ysql.md +++ b/docs/content/preview/manage/data-migration/bulk-import-ysql.md @@ -67,7 +67,7 @@ While loading data that is exported from another RDBMS, the source data set may ## Import PostgreSQL data {{< tip title="Migrate using YugabyteDB Voyager" >}} -To automate your migration from PostgreSQL to YugabyteDB, use [YugabyteDB Voyager](../../../yugabyte-voyager/). To learn more, refer to the [import schema](../../../yugabyte-voyager/migrate/migrate-steps/#import-schema) and [import data](../../../yugabyte-voyager/migrate/migrate-steps/#import-data) steps. +To automate your migration from PostgreSQL to YugabyteDB, use [YugabyteDB Voyager](/preview/yugabyte-voyager/). To learn more, refer to the [import schema](/preview/yugabyte-voyager/migrate/migrate-steps/#import-schema) and [import data](/preview/yugabyte-voyager/migrate/migrate-steps/#import-data) steps. {{< /tip >}} ### Import data from CSV files diff --git a/docs/content/preview/manage/data-migration/migrate-from-postgres.md b/docs/content/preview/manage/data-migration/migrate-from-postgres.md index c19fb996132f..ade01e6e815c 100644 --- a/docs/content/preview/manage/data-migration/migrate-from-postgres.md +++ b/docs/content/preview/manage/data-migration/migrate-from-postgres.md @@ -16,7 +16,7 @@ rightNav: The following guide is designed to help you smoothly transition your data and applications from a monolithic PostgreSQL database to YugabyteDB's distributed architecture. The guide walks you through the essential steps and best practices for migrating your data, including planning the migration, transforming your schema, migrating your data, and optimizing your applications for a distributed environment. By following these steps, you can minimize downtime, preserve data integrity, and leverage YugabyteDB's advanced features to meet your evolving business needs. {{}} -Manage end-to-end database migration, including cluster preparation, schema migration, and data migration, using [YugabyteDB Voyager](../../../yugabyte-voyager/). Voyager is designed to handle various corner cases correctly to minimize errors and achieve faster migration. +Manage end-to-end database migration, including cluster preparation, schema migration, and data migration, using [YugabyteDB Voyager](/preview/yugabyte-voyager/). Voyager is designed to handle various corner cases correctly to minimize errors and achieve faster migration. {{}} ## PostgreSQL compatibility @@ -125,11 +125,11 @@ You can use the [ysql_dump](../../../admin/ysql-dump/) utility to export a Yugab ysql_dump --schema-only -h source_host -U source_user source_db > schema.sql ``` -If you are using YubabyteDB Voyager, use the [yb-voyager export schema](../../../yugabyte-voyager/reference/schema-migration/export-schema/) command. +If you are using YubabyteDB Voyager, use the [yb-voyager export schema](/preview/yugabyte-voyager/reference/schema-migration/export-schema/) command. ### Changes to schema -Depending on the use case, your schema may require the following changes. You can also use [yb-voyager analyze schema](../../../yugabyte-voyager/reference/schema-migration/analyze-schema/) command to analyze the schema and get suggestions for modifications. +Depending on the use case, your schema may require the following changes. You can also use [yb-voyager analyze schema](/preview/yugabyte-voyager/reference/schema-migration/analyze-schema/) command to analyze the schema and get suggestions for modifications. #### Specify `PRIMARY KEY` inline @@ -185,7 +185,7 @@ After completing your schema changes, you can use ysqlsh to import the modified ysqlsh -h yugabyte_host -U yugabyte_user -d yugabyte_db -f schema.sql ``` -If you are using YubabyteDB Voyager, use the [yb-voyage import schema](../../../yugabyte-voyager/reference/schema-migration/import-schema/) command. +If you are using YubabyteDB Voyager, use the [yb-voyage import schema](/preview/yugabyte-voyager/reference/schema-migration/import-schema/) command. ## Data migration @@ -195,7 +195,7 @@ The data from the source PostgreSQL database can be exported either using the [C ysql_dump --data-only --disable-triggers -h source_host -U source_user source_db > data.sql ``` -If you are using YubabyteDB Voyager, use the [yb-voyager export data](../../../yugabyte-voyager/reference/data-migration/export-data/) command (recommended). +If you are using YubabyteDB Voyager, use the [yb-voyager export data](/preview/yugabyte-voyager/reference/data-migration/export-data/) command (recommended). Import the exported data into YugabyteDB using [COPY FROM](../../../manage/data-migration/bulk-import-ysql/#import-data-from-csv-files) command or using ysqlsh as follows: @@ -203,7 +203,7 @@ Import the exported data into YugabyteDB using [COPY FROM](../../../manage/data- ysqlsh -h yugabyte_host -U yugabyte_user -d yugabyte_db -f data.sql ``` -If you are using YubabyteDB Voyager, use the [yb-voyager import data](../../../yugabyte-voyager/reference/data-migration/import-data/) command. +If you are using YubabyteDB Voyager, use the [yb-voyager import data](/preview/yugabyte-voyager/reference/data-migration/import-data/) command. ### What to migrate @@ -221,26 +221,26 @@ Regardless of how much data you decide to migrate, you can choose from the follo **Offline migration**: You can take down the system and import the exported data. This approach is typically used when downtime is acceptable or the system is not required to be available during the migration. -{{}} -For more details, see [Offline migration](../../../yugabyte-voyager/migrate/migrate-steps/). +{{}} +For more details, see [Offline migration](/preview/yugabyte-voyager/migrate/migrate-steps/). {{}} **Live migration**: Live migration aims to minimize downtime by keeping the application running during the migration process. Data is copied from the source database to the target database while the application is still live, and a final switchover is made after the migration is complete. -{{}} -For more details, see [Live migration](../../../yugabyte-voyager/migrate/live-migrate/). +{{}} +For more details, see [Live migration](/preview/yugabyte-voyager/migrate/live-migrate/). {{}} **Live migration with fall-forward**: Live migration with fall-forward is a variant of live migration where, after the application has switched to the new database, there is no option to revert to the old database. This strategy is typically used when the new database is considered stable and there is confidence in the migration process. -{{}} -For more details, see [Live migration with fall-forward](../../../yugabyte-voyager/migrate/live-fall-forward/). +{{}} +For more details, see [Live migration with fall-forward](/preview/yugabyte-voyager/migrate/live-fall-forward/). {{}} **Live migration with fall-back**: Live migration with fall-back provides a safety net by allowing a return to the original database if issues are encountered after the cutover to the new database. This strategy involves maintaining bidirectional synchronization between the source and target databases for a period after the migration. {{}} -For more details, see [Live migration with fall-back](../../../yugabyte-voyager/migrate/live-fall-back/). +For more details, see [Live migration with fall-back](/preview/yugabyte-voyager/migrate/live-fall-back/). {{}} ## Application migration diff --git a/docs/content/stable/manage/data-migration/_index.md b/docs/content/stable/manage/data-migration/_index.md index 547b71df1bba..3e820bf5b4b4 100644 --- a/docs/content/stable/manage/data-migration/_index.md +++ b/docs/content/stable/manage/data-migration/_index.md @@ -17,10 +17,10 @@ Migrating to YugabyteDB, a high-performance distributed SQL database, involves a ## YugabyteDB Voyager -Yugabyte ships [YugabyteDB Voyager](../../yugabyte-voyager/), a comprehensive data migration tool designed specifically to help users migrate from traditional databases like PostgreSQL, Oracle, MySQL, and others to YugabyteDB. It offers a variety of features that make the migration process smoother, more reliable, and less error-prone. +Yugabyte ships [YugabyteDB Voyager](/preview/yugabyte-voyager/), a comprehensive data migration tool designed specifically to help users migrate from traditional databases like PostgreSQL, Oracle, MySQL, and others to YugabyteDB. It offers a variety of features that make the migration process smoother, more reliable, and less error-prone. -{{}} -To learn more about how to methodically export using YB Voyager, see [Migrate](../../yugabyte-voyager/migrate/). +{{}} +To learn more about how to methodically export using YB Voyager, see [Migrate](/preview/yugabyte-voyager/migrate/). {{}} ## Export your data diff --git a/docs/content/stable/manage/data-migration/bulk-export-ysql.md b/docs/content/stable/manage/data-migration/bulk-export-ysql.md index 8d069a608d3c..de465c2ae8bf 100644 --- a/docs/content/stable/manage/data-migration/bulk-export-ysql.md +++ b/docs/content/stable/manage/data-migration/bulk-export-ysql.md @@ -19,7 +19,7 @@ The recommended way to export data from PostgreSQL for purposes of importing it To export an entire database that consists of smaller datasets, you can also use the YugabyteDB [ysql_dump](../../../admin/ysql-dump/) utility. {{< tip title="Migrate using YugabyteDB Voyager" >}} -To automate your migration from PostgreSQL to YugabyteDB, use [YugabyteDB Voyager](../../../yugabyte-voyager/). To learn more, refer to the [export schema](../../../yugabyte-voyager/migrate/migrate-steps/#export-schema) and [export data](../../../yugabyte-voyager/migrate/migrate-steps/#export-data) steps. +To automate your migration from PostgreSQL to YugabyteDB, use [YugabyteDB Voyager](/preview/yugabyte-voyager/). To learn more, refer to the [export schema](/preview/yugabyte-voyager/migrate/migrate-steps/#export-schema) and [export data](/preview/yugabyte-voyager/migrate/migrate-steps/#export-data) steps. {{< /tip >}} ## Export data into CSV files using the COPY command diff --git a/docs/content/stable/manage/data-migration/bulk-import-ysql.md b/docs/content/stable/manage/data-migration/bulk-import-ysql.md index 8c60ff4fb9e5..a655d985eac6 100644 --- a/docs/content/stable/manage/data-migration/bulk-import-ysql.md +++ b/docs/content/stable/manage/data-migration/bulk-import-ysql.md @@ -67,7 +67,7 @@ While loading data that is exported from another RDBMS, the source data set may ## Import PostgreSQL data {{< tip title="Migrate using YugabyteDB Voyager" >}} -To automate your migration from PostgreSQL to YugabyteDB, use [YugabyteDB Voyager](../../../yugabyte-voyager/). To learn more, refer to the [import schema](../../../yugabyte-voyager/migrate/migrate-steps/#import-schema) and [import data](../../../yugabyte-voyager/migrate/migrate-steps/#import-data) steps. +To automate your migration from PostgreSQL to YugabyteDB, use [YugabyteDB Voyager](/preview/yugabyte-voyager/). To learn more, refer to the [import schema](/preview/yugabyte-voyager/migrate/migrate-steps/#import-schema) and [import data](/preview/yugabyte-voyager/migrate/migrate-steps/#import-data) steps. {{< /tip >}} ### Import data from CSV files diff --git a/docs/content/stable/manage/data-migration/migrate-from-postgres.md b/docs/content/stable/manage/data-migration/migrate-from-postgres.md index 076791934f64..28d0131d276e 100644 --- a/docs/content/stable/manage/data-migration/migrate-from-postgres.md +++ b/docs/content/stable/manage/data-migration/migrate-from-postgres.md @@ -16,7 +16,7 @@ rightNav: The following guide is designed to help you smoothly transition your data and applications from a monolithic PostgreSQL database to YugabyteDB's distributed architecture. The guide walks you through the essential steps and best practices for migrating your data, including planning the migration, transforming your schema, migrating your data, and optimizing your applications for a distributed environment. By following these steps, you can minimize downtime, preserve data integrity, and leverage YugabyteDB's advanced features to meet your evolving business needs. {{}} -Manage end-to-end database migration, including cluster preparation, schema migration, and data migration, using [YugabyteDB Voyager](../../../yugabyte-voyager/). Voyager is designed to handle various corner cases correctly to minimize errors and achieve faster migration. +Manage end-to-end database migration, including cluster preparation, schema migration, and data migration, using [YugabyteDB Voyager](/preview/yugabyte-voyager/). Voyager is designed to handle various corner cases correctly to minimize errors and achieve faster migration. {{}} ## PostgreSQL compatibility @@ -125,11 +125,11 @@ You can use the [ysql_dump](../../../admin/ysql-dump/) utility to export a Yugab ysql_dump --schema-only -h source_host -U source_user source_db > schema.sql ``` -If you are using YubabyteDB Voyager, use the [yb-voyager export schema](../../../yugabyte-voyager/reference/schema-migration/export-schema/) command. +If you are using YubabyteDB Voyager, use the [yb-voyager export schema](/preview/yugabyte-voyager/reference/schema-migration/export-schema/) command. ### Changes to schema -Depending on the use case, your schema may require the following changes. You can also use [yb-voyager analyze schema](../../../yugabyte-voyager/reference/schema-migration/analyze-schema/) command to analyze the schema and get suggestions for modifications. +Depending on the use case, your schema may require the following changes. You can also use [yb-voyager analyze schema](/preview/yugabyte-voyager/reference/schema-migration/analyze-schema/) command to analyze the schema and get suggestions for modifications. #### Specify `PRIMARY KEY` inline @@ -185,7 +185,7 @@ After completing your schema changes, you can use ysqlsh to import the modified ysqlsh -h yugabyte_host -U yugabyte_user -d yugabyte_db -f schema.sql ``` -If you are using YubabyteDB Voyager, use the [yb-voyage import schema](../../../yugabyte-voyager/reference/schema-migration/import-schema/) command. +If you are using YubabyteDB Voyager, use the [yb-voyage import schema](/preview/yugabyte-voyager/reference/schema-migration/import-schema/) command. ## Data migration @@ -195,7 +195,7 @@ The data from the source PostgreSQL database can be exported either using the [C ysql_dump --data-only --disable-triggers -h source_host -U source_user source_db > data.sql ``` -If you are using YubabyteDB Voyager, use the [yb-voyager export data](../../../yugabyte-voyager/reference/data-migration/export-data/) command (recommended). +If you are using YubabyteDB Voyager, use the [yb-voyager export data](/preview/yugabyte-voyager/reference/data-migration/export-data/) command (recommended). Import the exported data into YugabyteDB using [COPY FROM](../../../manage/data-migration/bulk-import-ysql/#import-data-from-csv-files) command or using ysqlsh as follows: @@ -203,7 +203,7 @@ Import the exported data into YugabyteDB using [COPY FROM](../../../manage/data- ysqlsh -h yugabyte_host -U yugabyte_user -d yugabyte_db -f data.sql ``` -If you are using YubabyteDB Voyager, use the [yb-voyager import data](../../../yugabyte-voyager/reference/data-migration/import-data/) command. +If you are using YubabyteDB Voyager, use the [yb-voyager import data](/preview/yugabyte-voyager/reference/data-migration/import-data/) command. ### What to migrate @@ -221,26 +221,26 @@ Regardless of how much data you decide to migrate, you can choose from the follo **Offline migration**: You can take down the system and import the exported data. This approach is typically used when downtime is acceptable or the system is not required to be available during the migration. -{{}} -For more details, see [Offline migration](../../../yugabyte-voyager/migrate/migrate-steps/). +{{}} +For more details, see [Offline migration](/preview/yugabyte-voyager/migrate/migrate-steps/). {{}} **Live migration**: Live migration aims to minimize downtime by keeping the application running during the migration process. Data is copied from the source database to the target database while the application is still live, and a final switchover is made after the migration is complete. -{{}} -For more details, see [Live migration](../../../yugabyte-voyager/migrate/live-migrate/). +{{}} +For more details, see [Live migration](/preview/yugabyte-voyager/migrate/live-migrate/). {{}} **Live migration with fall-forward**: Live migration with fall-forward is a variant of live migration where, after the application has switched to the new database, there is no option to revert to the old database. This strategy is typically used when the new database is considered stable and there is confidence in the migration process. -{{}} -For more details, see [Live migration with fall-forward](../../../yugabyte-voyager/migrate/live-fall-forward/). +{{}} +For more details, see [Live migration with fall-forward](/preview/yugabyte-voyager/migrate/live-fall-forward/). {{}} **Live migration with fall-back**: Live migration with fall-back provides a safety net by allowing a return to the original database if issues are encountered after the cutover to the new database. This strategy involves maintaining bidirectional synchronization between the source and target databases for a period after the migration. {{}} -For more details, see [Live migration with fall-back](../../../yugabyte-voyager/migrate/live-fall-back/). +For more details, see [Live migration with fall-back](/preview/yugabyte-voyager/migrate/live-fall-back/). {{}} ## Application migration