From 3956c1f026f77fb0e84a59b4aa3800fa1c23555b Mon Sep 17 00:00:00 2001 From: "Vincent (Wen Yu) Ge" Date: Fri, 24 Nov 2023 22:20:42 +0000 Subject: [PATCH 1/3] Fix migration cloud to self-hosted --- .../advanced/migrations/cloud/+page.markdoc | 35 +++++++++++++++++-- .../migrations/self-hosted/+page.markdoc | 25 ++++++------- 2 files changed, 43 insertions(+), 17 deletions(-) diff --git a/src/routes/docs/advanced/migrations/cloud/+page.markdoc b/src/routes/docs/advanced/migrations/cloud/+page.markdoc index 7e04ea1a9b..8480007c04 100644 --- a/src/routes/docs/advanced/migrations/cloud/+page.markdoc +++ b/src/routes/docs/advanced/migrations/cloud/+page.markdoc @@ -1,13 +1,12 @@ --- layout: article title: Migrate from Cloud -description: Migrate to Appwrite from cloud platforms seamlessly. Learn how to move your applications and data to Appwrite for enhanced flexibility and control. +description: Self-hosted application migration made easy with Appwrite. Discover the steps and strategies for migrating your self-hosted apps to Appwrite's managed platform. difficulty: beginner readtime: 10 --- -Migrations makes it as easy as a couple clicks to move all of your self-hosted project data to a Cloud instance. - +Migrations make it as easy as a couple of clicks to move all your Appwrite Cloud data into a self-hosted instance. {% section #notices step=1 title="Things to keep in mind" %} @@ -19,6 +18,36 @@ Migrations makes it as easy as a couple clicks to move all of your self-hosted p {% /section %} +{% section #create-migration step=2 title="Create migration" %} + +To begin migrating to self-hosted, make sure to read the [migration overview](/docs/advanced/migrations) and [things to keep in mind](#notices) sections above. + +1. Navigate to your Cloud project's console, navigate to **Settings** and click on the **Migrations** tab. + +1. Under **Export to self-hosted instance**, click **Export data**. + +1. You will complete the migration on your self-hosted instance. + +{% /section %} + +{% section #continue-on-self-hosted step=3 title="Continue on self-hosted" %} + +1. Once redirected to your self-hosted project, you'll be prompted to select an organization and a project. You can migrate to an existing project or create a new one. + +1. Select the data you wish to migrate. You can choose among accounts, databases, documents, files, and functions. + +1. Click **Start Migration** to start the migration process. You do not need to keep the Appwrite Console open through the process. + +{% info title="Keep in mind" %} +Your self-hosted instance will generate an API Key in the background to pass to Appwrite Cloud. You can revoke this key after the migration process is complete. +{% /info %} +{% /section %} + + + + + + {% section #create-migration step=2 title="Create migration" %} To begin migrating to self-hosted, make sure to read the [migration overview](/docs/advanced/migrations) diff --git a/src/routes/docs/advanced/migrations/self-hosted/+page.markdoc b/src/routes/docs/advanced/migrations/self-hosted/+page.markdoc index 4efe8f8a98..87143d1016 100644 --- a/src/routes/docs/advanced/migrations/self-hosted/+page.markdoc +++ b/src/routes/docs/advanced/migrations/self-hosted/+page.markdoc @@ -1,12 +1,11 @@ --- layout: article title: Migrate from self-hosted -description: Self-hosted application migration made easy with Appwrite. Discover the steps and strategies for migrating your self-hosted apps to Appwrite's managed platform. +description: Migrate to Appwrite from self-hosted platforms seamlessly. Learn how to move your applications and data to Appwrite for enhanced flexibility and control. difficulty: beginner readtime: 20 --- - -Migrations make it as easy as a couple of clicks to move all your Appwrite Cloud data into a self-hosted instance. +Migrations makes it as easy as a couple clicks to move all of your self-hosted project data to a Cloud instance. {% section #notices step=1 title="Things to keep in mind" %} @@ -21,25 +20,23 @@ Migrations make it as easy as a couple of clicks to move all your Appwrite Cloud {% section #create-migration step=2 title="Create migration" %} -To begin migrating to self-hosted, make sure to read the [migration overview](/docs/advanced/migrations) and [things to keep in mind](#notices) sections above. +To begin migrating to Cloud, make sure to read the [migration overview](/docs/advanced/migrations) +and [things to keep in mind](#notices) sections above. -1. Navigate to your self-hosted project's console and click on the **Migrations** tab. +1. Navigate to your self-hosted project's Console and click on the **Migrations** tab. -1. Click **Deploy to Cloud**, you will be redirected to Appwrite Cloud. +2. Click **Deploy to Cloud**, you will be redirected to Appwrite Cloud. -1. You will complete the migration on Appwrite Cloud. +3. You will complete the migration on Appwrite Cloud. {% /section %} -{% section #continue-on-self-hosted step=3 title="Continue on self-hosted" %} +{% section #continue-on-cloud step=3 title="Continue on Appwrite Cloud" %} -1. Once redirected to your self-hosted project, you'll be prompted to select an organization and a project. You can migrate to an existing project or create a new one. +1. Once redirected to Appwrite Cloud, you'll be prompted to select an organization and a project. You can migrate to an existing project or create a new one. -1. Select the data you wish to migrate. You can choose among accounts, databases, documents, files, and functions. +2. Select the data you wish to migrate. You can choose among accounts, databases, documents, files, and functions. -1. Click **Start Migration** to start the migration process. You do not need to keep the Appwrite Console open through the process. +3. Click **Start migration** to start the migration process. You do not need to keep the Appwrite Console open through the process. -{% info title="Keep in mind" %} -Your self-hosted instance will generate an API Key in the background to pass to Appwrite Cloud. You can revoke this key after the migration process is complete. -{% /info %} {% /section %} \ No newline at end of file From cb26c4a569e8adb430e99c3fdac80a6a4e058b44 Mon Sep 17 00:00:00 2001 From: tglide <26071571+TGlide@users.noreply.github.com> Date: Mon, 18 Dec 2023 13:28:41 +0000 Subject: [PATCH 2/3] remove whitespace --- src/routes/docs/advanced/migrations/cloud/+page.markdoc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/routes/docs/advanced/migrations/cloud/+page.markdoc b/src/routes/docs/advanced/migrations/cloud/+page.markdoc index 8480007c04..0e30230261 100644 --- a/src/routes/docs/advanced/migrations/cloud/+page.markdoc +++ b/src/routes/docs/advanced/migrations/cloud/+page.markdoc @@ -43,11 +43,6 @@ Your self-hosted instance will generate an API Key in the background to pass to {% /info %} {% /section %} - - - - - {% section #create-migration step=2 title="Create migration" %} To begin migrating to self-hosted, make sure to read the [migration overview](/docs/advanced/migrations) From 23afdb4c9cd97c673b60bc7d7c5ccf23d21fd14f Mon Sep 17 00:00:00 2001 From: "Vincent (Wen Yu) Ge" Date: Tue, 19 Dec 2023 00:28:41 +0000 Subject: [PATCH 3/3] Remove leftover --- .../advanced/migrations/cloud/+page.markdoc | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/src/routes/docs/advanced/migrations/cloud/+page.markdoc b/src/routes/docs/advanced/migrations/cloud/+page.markdoc index 0e30230261..9d6c5beae5 100644 --- a/src/routes/docs/advanced/migrations/cloud/+page.markdoc +++ b/src/routes/docs/advanced/migrations/cloud/+page.markdoc @@ -41,27 +41,4 @@ To begin migrating to self-hosted, make sure to read the [migration overview](/d {% info title="Keep in mind" %} Your self-hosted instance will generate an API Key in the background to pass to Appwrite Cloud. You can revoke this key after the migration process is complete. {% /info %} -{% /section %} - -{% section #create-migration step=2 title="Create migration" %} - -To begin migrating to self-hosted, make sure to read the [migration overview](/docs/advanced/migrations) -and [things to keep in mind](#notices) sections above. - -1. Navigate to your self-hosted project's Console and click on the **Migrations** tab. - -2. Click **Deploy to Cloud**, you will be redirected to Appwrite Cloud. - -3. You will complete the migration on Appwrite Cloud. - -{% /section %} - -{% section #continue-on-cloud step=3 title="Continue on Appwrite Cloud" %} - -1. Once redirected to Appwrite Cloud, you'll be prompted to select an organization and a project. You can migrate to an existing project or create a new one. - -2. Select the data you wish to migrate. You can choose among accounts, databases, documents, files, and functions. - -3. Click **Start migration** to start the migration process. You do not need to keep the Appwrite Console open through the process. - {% /section %} \ No newline at end of file