Skip to content

Commit b3ffbf2

Browse files
Merge pull request #4376 from ovh/public_cloud_db_recycle_ecdb_migration_guide
Recycle ECDB migration guide to an on-premises migration guide
2 parents f15dcf1 + da5273c commit b3ffbf2

17 files changed

+170
-245
lines changed

pages/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@
565565
+ [Tutorials](public-cloud-databases-postgresql-tutorials)
566566
+ [PostgreSQL - Tutorial - Build a Strapi app connected to OVHcloud Managed PostgreSQL service](platform/databases/postgresql_tuto_01_connect_strapi_to_managed_postgresql)
567567
+ [PostgreSQL - Tutorial - Install Wagtail and connect it to OVHcloud Managed PostgreSQL service](platform/databases/postgresql_tuto_02_connect_wagtail_to_managed_postgresql)
568-
+ [PostgreSQL - Tutorial - How to migrate from Enterprise Cloud Databases to Public Cloud Databases](platform/databases/postgresql_tuto_03_migrate_ecdb)
568+
+ [PostgreSQL - Tutorial - How to migrate an on-premises database to Public Cloud Databases](platform/databases/postgresql_tuto_03_migrate_ecdb)
569569
+ [Redis](public-cloud-databases-redis)
570570
+ [Guides](public-cloud-databases-redis-guides)
571571
+ [Redis - Capabilities and Limitations](platform/databases/redis_01_capabilities)

pages/platform/databases/postgresql_tuto_03_migrate_ecdb/guide.de-de.md

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
---
2-
title: PostgreSQL - Tutorial - How to migrate from Enterprise Cloud Databases to Public Cloud Databases
3-
excerpt: Learn how to migrate a PostgreSQL Enterprise Cloud Databases instance to Public Cloud Databases for PostgreSQL
4-
slug: postgresql/howto-migrate-ecdb-to-pcd
2+
title: PostgreSQL - Tutorial - How to migrate an on-premises database to Public Cloud Databases
3+
excerpt: Learn how to migrate a on-premises PostgreSQL database instance to Public Cloud Databases for PostgreSQL
4+
slug: postgresql/howto-migrate-on-prem-to-pcd
55
section: PostgreSQL - Tutorials
66
order: 030
77
routes:
8-
canonical: 'https://docs.ovh.com/gb/en/publiccloud/databases/postgresql/howto-migrate-ecdb-to-pcd/'
9-
updated: 2022-03-02
8+
canonical: 'https://docs.ovh.com/gb/en/publiccloud/databases/postgresql/howto-migrate-on-prem-to-pcd/'
9+
updated: 2022-03-16
1010
---
1111

12-
**Last updated March 2nd 2022**
12+
**Last updated March 16th, 2023**
1313

1414
## Objective
1515

16-
**This guide details a procedure to migrate a PostgreSQL instance running on OVHcloud Enterprise Cloud Databases (soon to be EOL) to OVHcloud Public Cloud Databases for PostgreSQL.**
16+
**This guide details a procedure to migrate a PostgreSQL instance running on-premises to OVHcloud Public Cloud Databases for PostgreSQL.**
1717

1818
## Requirements
1919

2020
- A [Public Cloud project](https://www.ovhcloud.com/de/public-cloud/compute/) in your OVHcloud account
21-
- A PostgreSQL database running on OVHcloud Enterprise Cloud Databases (the "source" instance)
21+
- A PostgreSQL database running on-premises (the "source" instance)
2222
- A PostgreSQL database running on OVHcloud Public Cloud Databases (the "target" instance)
2323
- A PostgreSQL client that can connect to both database instances, source and target.
2424
- Access to the [OVHcloud Control Panel](https://www.ovh.com/auth/?action=gotomanager&from=https://www.ovh.de/&ovhSubsidiary=de)
@@ -30,12 +30,7 @@ These guides can help you to meet these requirements:
3030

3131
## Considerations
3232

33-
> [!warning]
34-
>
35-
> While the Enterprise Cloud Databases offer granted you super user privilege, Public Cloud Databases for PostgreSQL only grants its user admin level privilege. Thus, any application or administrative task that may have utilized that super user access needs to be adapted so that it requires at most the privilege granted to the default `avnadmin` admin user.
36-
>
37-
38-
- This document outlines an offline migration path for your database, which means you'll have to suspend all the writes from your application and schedule for maintenance for the duration of the migration. Ensure you plan sufficient downtime to carry out all the migration tasks.
33+
- This document outlines an offline migration path for your database, which means you will have to suspend all the writes from your application for the duration of the migration. Ensure you plan sufficient downtime to carry out all the migration tasks.
3934
- Ensure the source and destination PostgreSQL versions match.
4035
- Ensure you have good enough bandwidth between the client machine and both source and destination databases.
4136
- Ensure you choose a [Database plan](https://www.ovhcloud.com/de/public-cloud/prices/#databases) with appropriate compute, storage and memory resources.
@@ -51,16 +46,16 @@ Ensure client applications stop all write activity on the source database side.
5146
Use the `pg_dump` command to export the database schema to the client machine, as an SQL plaintext file:
5247

5348
```bash
54-
$ pg_dump --file "path/to/dump.sql" --host "xxxxxxxxxxx.prm.clouddb.ovh.net" --port "<write port>" \
55-
--username "postgres" --verbose --format=p --schema-only "database-name"
49+
$ pg_dump --file "path/to/dump.sql" --host "<local network hostname>" --port "<write port>" \
50+
--username "postgres" --verbose --format=p --schema-only "<database name>"
5651
```
5752

5853
### Step 3: Export the data
5954

6055
Use the `pg_dump` command to export the database data to the client machine, in a .tar archive file:
6156

6257
```bash
63-
$ pg_dump --file "path/to/dump.tar" --host "xxxxxxxxxxx.prm.clouddb.ovh.net" --port "<write port>" \
58+
$ pg_dump --file "path/to/dump.tar" --host "<local network hostname>" --port "<write port>" \
6459
--no-owner --username "postgres" --no-password --verbose --format=t --blobs --encoding "UTF8"
6560
```
6661

pages/platform/databases/postgresql_tuto_03_migrate_ecdb/guide.en-asia.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
2-
title: PostgreSQL - Tutorial - How to migrate from Enterprise Cloud Databases to Public Cloud Databases
3-
excerpt: Learn how to migrate a PostgreSQL Enterprise Cloud Databases instance to Public Cloud Databases for PostgreSQL
4-
slug: postgresql/howto-migrate-ecdb-to-pcd
2+
title: PostgreSQL - Tutorial - How to migrate an on-premises database to Public Cloud Databases
3+
excerpt: Learn how to migrate a on-premises PostgreSQL database instance to Public Cloud Databases for PostgreSQL
4+
slug: postgresql/howto-migrate-on-prem-to-pcd
55
section: PostgreSQL - Tutorials
66
order: 030
7-
updated: 2022-03-02
7+
updated: 2022-03-16
88
---
99

10-
**Last updated March 2nd 2022**
10+
**Last updated March 16th, 2023**
1111

1212
## Objective
1313

14-
**This guide details a procedure to migrate a PostgreSQL instance running on OVHcloud Enterprise Cloud Databases (soon to be EOL) to OVHcloud Public Cloud Databases for PostgreSQL.**
14+
**This guide details a procedure to migrate a PostgreSQL instance running on-premises to OVHcloud Public Cloud Databases for PostgreSQL.**
1515

1616
## Requirements
1717

1818
- A [Public Cloud project](https://www.ovhcloud.com/asia/public-cloud/compute/) in your OVHcloud account
19-
- A PostgreSQL database running on OVHcloud Enterprise Cloud Databases (the "source" instance)
19+
- A PostgreSQL database running on-premises (the "source" instance)
2020
- A PostgreSQL database running on OVHcloud Public Cloud Databases (the "target" instance)
2121
- A PostgreSQL client that can connect to both database instances, source and target.
2222
- Access to the [OVHcloud Control Panel](https://ca.ovh.com/auth/?action=gotomanager&from=https://www.ovh.com/asia/&ovhSubsidiary=asia)
@@ -28,12 +28,7 @@ These guides can help you to meet these requirements:
2828

2929
## Considerations
3030

31-
> [!warning]
32-
>
33-
> While the Enterprise Cloud Databases offer granted you super user privilege, Public Cloud Databases for PostgreSQL only grants its user admin level privilege. Thus, any application or administrative task that may have utilized that super user access needs to be adapted so that it requires at most the privilege granted to the default `avnadmin` admin user.
34-
>
35-
36-
- This document outlines an offline migration path for your database, which means you'll have to suspend all the writes from your application and schedule for maintenance for the duration of the migration. Ensure you plan sufficient downtime to carry out all the migration tasks.
31+
- This document outlines an offline migration path for your database, which means you will have to suspend all the writes from your application for the duration of the migration. Ensure you plan sufficient downtime to carry out all the migration tasks.
3732
- Ensure the source and destination PostgreSQL versions match.
3833
- Ensure you have good enough bandwidth between the client machine and both source and destination databases.
3934
- Ensure you choose a [Database plan](https://www.ovhcloud.com/asia/public-cloud/prices/#databases) with appropriate compute, storage and memory resources.
@@ -49,16 +44,16 @@ Ensure client applications stop all write activity on the source database side.
4944
Use the `pg_dump` command to export the database schema to the client machine, as an SQL plaintext file:
5045

5146
```bash
52-
$ pg_dump --file "path/to/dump.sql" --host "xxxxxxxxxxx.prm.clouddb.ovh.net" --port "<write port>" \
53-
--username "postgres" --verbose --format=p --schema-only "database-name"
47+
$ pg_dump --file "path/to/dump.sql" --host "<local network hostname>" --port "<write port>" \
48+
--username "postgres" --verbose --format=p --schema-only "<database name>"
5449
```
5550

5651
### Step 3: Export the data
5752

5853
Use the `pg_dump` command to export the database data to the client machine, in a .tar archive file:
5954

6055
```bash
61-
$ pg_dump --file "path/to/dump.tar" --host "xxxxxxxxxxx.prm.clouddb.ovh.net" --port "<write port>" \
56+
$ pg_dump --file "path/to/dump.tar" --host "<local network hostname>" --port "<write port>" \
6257
--no-owner --username "postgres" --no-password --verbose --format=t --blobs --encoding "UTF8"
6358
```
6459

pages/platform/databases/postgresql_tuto_03_migrate_ecdb/guide.en-au.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
2-
title: PostgreSQL - Tutorial - How to migrate from Enterprise Cloud Databases to Public Cloud Databases
3-
excerpt: Learn how to migrate a PostgreSQL Enterprise Cloud Databases instance to Public Cloud Databases for PostgreSQL
4-
slug: postgresql/howto-migrate-ecdb-to-pcd
2+
title: PostgreSQL - Tutorial - How to migrate an on-premises database to Public Cloud Databases
3+
excerpt: Learn how to migrate a on-premises PostgreSQL database instance to Public Cloud Databases for PostgreSQL
4+
slug: postgresql/howto-migrate-on-prem-to-pcd
55
section: PostgreSQL - Tutorials
66
order: 030
7-
updated: 2022-03-02
7+
updated: 2022-03-16
88
---
99

10-
**Last updated March 2nd 2022**
10+
**Last updated March 16th, 2023**
1111

1212
## Objective
1313

14-
**This guide details a procedure to migrate a PostgreSQL instance running on OVHcloud Enterprise Cloud Databases (soon to be EOL) to OVHcloud Public Cloud Databases for PostgreSQL.**
14+
**This guide details a procedure to migrate a PostgreSQL instance running on-premises to OVHcloud Public Cloud Databases for PostgreSQL.**
1515

1616
## Requirements
1717

1818
- A [Public Cloud project](https://www.ovhcloud.com/en-au/public-cloud/compute/) in your OVHcloud account
19-
- A PostgreSQL database running on OVHcloud Enterprise Cloud Databases (the "source" instance)
19+
- A PostgreSQL database running on-premises (the "source" instance)
2020
- A PostgreSQL database running on OVHcloud Public Cloud Databases (the "target" instance)
2121
- A PostgreSQL client that can connect to both database instances, source and target.
2222
- Access to the [OVHcloud Control Panel](https://ca.ovh.com/auth/?action=gotomanager&from=https://www.ovh.com.au/&ovhSubsidiary=au)
@@ -28,12 +28,7 @@ These guides can help you to meet these requirements:
2828

2929
## Considerations
3030

31-
> [!warning]
32-
>
33-
> While the Enterprise Cloud Databases offer granted you super user privilege, Public Cloud Databases for PostgreSQL only grants its user admin level privilege. Thus, any application or administrative task that may have utilized that super user access needs to be adapted so that it requires at most the privilege granted to the default `avnadmin` admin user.
34-
>
35-
36-
- This document outlines an offline migration path for your database, which means you'll have to suspend all the writes from your application and schedule for maintenance for the duration of the migration. Ensure you plan sufficient downtime to carry out all the migration tasks.
31+
- This document outlines an offline migration path for your database, which means you will have to suspend all the writes from your application for the duration of the migration. Ensure you plan sufficient downtime to carry out all the migration tasks.
3732
- Ensure the source and destination PostgreSQL versions match.
3833
- Ensure you have good enough bandwidth between the client machine and both source and destination databases.
3934
- Ensure you choose a [Database plan](https://www.ovhcloud.com/en-au/public-cloud/prices/#databases) with appropriate compute, storage and memory resources.
@@ -49,16 +44,16 @@ Ensure client applications stop all write activity on the source database side.
4944
Use the `pg_dump` command to export the database schema to the client machine, as an SQL plaintext file:
5045

5146
```bash
52-
$ pg_dump --file "path/to/dump.sql" --host "xxxxxxxxxxx.prm.clouddb.ovh.net" --port "<write port>" \
53-
--username "postgres" --verbose --format=p --schema-only "database-name"
47+
$ pg_dump --file "path/to/dump.sql" --host "<local network hostname>" --port "<write port>" \
48+
--username "postgres" --verbose --format=p --schema-only "<database name>"
5449
```
5550

5651
### Step 3: Export the data
5752

5853
Use the `pg_dump` command to export the database data to the client machine, in a .tar archive file:
5954

6055
```bash
61-
$ pg_dump --file "path/to/dump.tar" --host "xxxxxxxxxxx.prm.clouddb.ovh.net" --port "<write port>" \
56+
$ pg_dump --file "path/to/dump.tar" --host "<local network hostname>" --port "<write port>" \
6257
--no-owner --username "postgres" --no-password --verbose --format=t --blobs --encoding "UTF8"
6358
```
6459

pages/platform/databases/postgresql_tuto_03_migrate_ecdb/guide.en-ca.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
2-
title: PostgreSQL - Tutorial - How to migrate from Enterprise Cloud Databases to Public Cloud Databases
3-
excerpt: Learn how to migrate a PostgreSQL Enterprise Cloud Databases instance to Public Cloud Databases for PostgreSQL
4-
slug: postgresql/howto-migrate-ecdb-to-pcd
2+
title: PostgreSQL - Tutorial - How to migrate an on-premises database to Public Cloud Databases
3+
excerpt: Learn how to migrate a on-premises PostgreSQL database instance to Public Cloud Databases for PostgreSQL
4+
slug: postgresql/howto-migrate-on-prem-to-pcd
55
section: PostgreSQL - Tutorials
66
order: 030
7-
updated: 2022-03-02
7+
updated: 2022-03-16
88
---
99

10-
**Last updated March 2nd 2022**
10+
**Last updated March 16th, 2023**
1111

1212
## Objective
1313

14-
**This guide details a procedure to migrate a PostgreSQL instance running on OVHcloud Enterprise Cloud Databases (soon to be EOL) to OVHcloud Public Cloud Databases for PostgreSQL.**
14+
**This guide details a procedure to migrate a PostgreSQL instance running on-premises to OVHcloud Public Cloud Databases for PostgreSQL.**
1515

1616
## Requirements
1717

1818
- A [Public Cloud project](https://www.ovhcloud.com/en-ca/public-cloud/compute/) in your OVHcloud account
19-
- A PostgreSQL database running on OVHcloud Enterprise Cloud Databases (the "source" instance)
19+
- A PostgreSQL database running on-premises (the "source" instance)
2020
- A PostgreSQL database running on OVHcloud Public Cloud Databases (the "target" instance)
2121
- A PostgreSQL client that can connect to both database instances, source and target.
2222
- Access to the [OVHcloud Control Panel](https://ca.ovh.com/auth/?action=gotomanager&from=https://www.ovh.com/ca/en/&ovhSubsidiary=ca)
@@ -28,12 +28,7 @@ These guides can help you to meet these requirements:
2828

2929
## Considerations
3030

31-
> [!warning]
32-
>
33-
> While the Enterprise Cloud Databases offer granted you super user privilege, Public Cloud Databases for PostgreSQL only grants its user admin level privilege. Thus, any application or administrative task that may have utilized that super user access needs to be adapted so that it requires at most the privilege granted to the default `avnadmin` admin user.
34-
>
35-
36-
- This document outlines an offline migration path for your database, which means you'll have to suspend all the writes from your application and schedule for maintenance for the duration of the migration. Ensure you plan sufficient downtime to carry out all the migration tasks.
31+
- This document outlines an offline migration path for your database, which means you will have to suspend all the writes from your application for the duration of the migration. Ensure you plan sufficient downtime to carry out all the migration tasks.
3732
- Ensure the source and destination PostgreSQL versions match.
3833
- Ensure you have good enough bandwidth between the client machine and both source and destination databases.
3934
- Ensure you choose a [Database plan](https://www.ovhcloud.com/en-ca/public-cloud/prices/#databases) with appropriate compute, storage and memory resources.
@@ -49,16 +44,16 @@ Ensure client applications stop all write activity on the source database side.
4944
Use the `pg_dump` command to export the database schema to the client machine, as an SQL plaintext file:
5045

5146
```bash
52-
$ pg_dump --file "path/to/dump.sql" --host "xxxxxxxxxxx.prm.clouddb.ovh.net" --port "<write port>" \
53-
--username "postgres" --verbose --format=p --schema-only "database-name"
47+
$ pg_dump --file "path/to/dump.sql" --host "<local network hostname>" --port "<write port>" \
48+
--username "postgres" --verbose --format=p --schema-only "<database name>"
5449
```
5550

5651
### Step 3: Export the data
5752

5853
Use the `pg_dump` command to export the database data to the client machine, in a .tar archive file:
5954

6055
```bash
61-
$ pg_dump --file "path/to/dump.tar" --host "xxxxxxxxxxx.prm.clouddb.ovh.net" --port "<write port>" \
56+
$ pg_dump --file "path/to/dump.tar" --host "<local network hostname>" --port "<write port>" \
6257
--no-owner --username "postgres" --no-password --verbose --format=t --blobs --encoding "UTF8"
6358
```
6459

pages/platform/databases/postgresql_tuto_03_migrate_ecdb/guide.en-gb.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
2-
title: PostgreSQL - Tutorial - How to migrate from Enterprise Cloud Databases to Public Cloud Databases
3-
excerpt: Learn how to migrate a PostgreSQL Enterprise Cloud Databases instance to Public Cloud Databases for PostgreSQL
4-
slug: postgresql/howto-migrate-ecdb-to-pcd
2+
title: PostgreSQL - Tutorial - How to migrate an on-premises database to Public Cloud Databases
3+
excerpt: Learn how to migrate a on-premises PostgreSQL database instance to Public Cloud Databases for PostgreSQL
4+
slug: postgresql/howto-migrate-on-prem-to-pcd
55
section: PostgreSQL - Tutorials
66
order: 030
7-
updated: 2022-03-02
7+
updated: 2022-03-16
88
---
99

10-
**Last updated March 2nd 2022**
10+
**Last updated March 16th, 2023**
1111

1212
## Objective
1313

14-
**This guide details a procedure to migrate a PostgreSQL instance running on OVHcloud Enterprise Cloud Databases (soon to be EOL) to OVHcloud Public Cloud Databases for PostgreSQL.**
14+
**This guide details a procedure to migrate a PostgreSQL instance running on-premises to OVHcloud Public Cloud Databases for PostgreSQL.**
1515

1616
## Requirements
1717

1818
- A [Public Cloud project](https://www.ovhcloud.com/en-gb/public-cloud/compute/) in your OVHcloud account
19-
- A PostgreSQL database running on OVHcloud Enterprise Cloud Databases (the "source" instance)
19+
- A PostgreSQL database running on-premises (the "source" instance)
2020
- A PostgreSQL database running on OVHcloud Public Cloud Databases (the "target" instance)
2121
- A PostgreSQL client that can connect to both database instances, source and target.
2222
- Access to the [OVHcloud Control Panel](https://www.ovh.com/auth/?action=gotomanager&from=https://www.ovh.co.uk/&ovhSubsidiary=GB)
@@ -28,12 +28,7 @@ These guides can help you to meet these requirements:
2828

2929
## Considerations
3030

31-
> [!warning]
32-
>
33-
> While the Enterprise Cloud Databases offer granted you super user privilege, Public Cloud Databases for PostgreSQL only grants its user admin level privilege. Thus, any application or administrative task that may have utilized that super user access needs to be adapted so that it requires at most the privilege granted to the default `avnadmin` admin user.
34-
>
35-
36-
- This document outlines an offline migration path for your database, which means you'll have to suspend all the writes from your application and schedule for maintenance for the duration of the migration. Ensure you plan sufficient downtime to carry out all the migration tasks.
31+
- This document outlines an offline migration path for your database, which means you will have to suspend all the writes from your application for the duration of the migration. Ensure you plan sufficient downtime to carry out all the migration tasks.
3732
- Ensure the source and destination PostgreSQL versions match.
3833
- Ensure you have good enough bandwidth between the client machine and both source and destination databases.
3934
- Ensure you choose a [Database plan](https://www.ovhcloud.com/en-gb/public-cloud/prices/#databases) with appropriate compute, storage and memory resources.

0 commit comments

Comments
 (0)