diff --git a/openmetadata-docs/content/v1.7.x/deployment/backup-restore-metadata.md b/openmetadata-docs/content/v1.7.x/deployment/backup-restore-metadata.md index 04a2afc42cf..94e8254af85 100644 --- a/openmetadata-docs/content/v1.7.x/deployment/backup-restore-metadata.md +++ b/openmetadata-docs/content/v1.7.x/deployment/backup-restore-metadata.md @@ -58,15 +58,7 @@ Start a local instance of OpenMetadata using the `docker-compose` file provided ## MySQL -### 1. Start a local docker deployment - -```shell -docker/run_local_docker.sh -``` - -Ingest some data... - -### 2. Backup and Restore +### 1. Backup and Restore ```shell BACKUP_FILE="backup_$(date +%Y%m%d%H%M).sql" @@ -82,7 +74,7 @@ docker compose exec mysql mysql -u root -ppassword -e "flush privileges;" docker compose exec -T ingestion mysql -u openmetadata_user -popenmetadata_password -h mysql -P 3306 restore < $BACKUP_FILE ``` -### 3. Restart the docker deployment with the restored database +### 2. Restart the docker deployment with the restored database ```shell export OM_DATABASE=restore @@ -91,15 +83,7 @@ docker compose -f $DOCKER_COMPOSE_FILE up -d ## PostgreSQL -### 1. Start a local docker deployment - -```shell -docker/run_local_docker.sh -d postgres -``` - -Ingest some data... - -### 2. Backup and Restore +### 1. Backup and Restore ```shell BACKUP_FILE="backup_$(date +%Y%m%d%H%M).sql" @@ -113,7 +97,7 @@ docker compose exec -e PGPASSWORD=openmetadata_password postgresql psql -U postg docker compose exec -e PGPASSWORD=openmetadata_password -T ingestion psql -U openmetadata_user -h postgresql -d restore < $BACKUP_FILE ``` -### 3. Restart the docker deployment with the restored database +### 2. Restart the docker deployment with the restored database ```shell export OM_DATABASE=restore diff --git a/openmetadata-docs/content/v1.8.x/deployment/backup-restore-metadata.md b/openmetadata-docs/content/v1.8.x/deployment/backup-restore-metadata.md index 04a2afc42cf..94e8254af85 100644 --- a/openmetadata-docs/content/v1.8.x/deployment/backup-restore-metadata.md +++ b/openmetadata-docs/content/v1.8.x/deployment/backup-restore-metadata.md @@ -58,15 +58,7 @@ Start a local instance of OpenMetadata using the `docker-compose` file provided ## MySQL -### 1. Start a local docker deployment - -```shell -docker/run_local_docker.sh -``` - -Ingest some data... - -### 2. Backup and Restore +### 1. Backup and Restore ```shell BACKUP_FILE="backup_$(date +%Y%m%d%H%M).sql" @@ -82,7 +74,7 @@ docker compose exec mysql mysql -u root -ppassword -e "flush privileges;" docker compose exec -T ingestion mysql -u openmetadata_user -popenmetadata_password -h mysql -P 3306 restore < $BACKUP_FILE ``` -### 3. Restart the docker deployment with the restored database +### 2. Restart the docker deployment with the restored database ```shell export OM_DATABASE=restore @@ -91,15 +83,7 @@ docker compose -f $DOCKER_COMPOSE_FILE up -d ## PostgreSQL -### 1. Start a local docker deployment - -```shell -docker/run_local_docker.sh -d postgres -``` - -Ingest some data... - -### 2. Backup and Restore +### 1. Backup and Restore ```shell BACKUP_FILE="backup_$(date +%Y%m%d%H%M).sql" @@ -113,7 +97,7 @@ docker compose exec -e PGPASSWORD=openmetadata_password postgresql psql -U postg docker compose exec -e PGPASSWORD=openmetadata_password -T ingestion psql -U openmetadata_user -h postgresql -d restore < $BACKUP_FILE ``` -### 3. Restart the docker deployment with the restored database +### 2. Restart the docker deployment with the restored database ```shell export OM_DATABASE=restore diff --git a/openmetadata-docs/content/v1.9.x-SNAPSHOT/deployment/backup-restore-metadata.md b/openmetadata-docs/content/v1.9.x-SNAPSHOT/deployment/backup-restore-metadata.md index 04a2afc42cf..94e8254af85 100644 --- a/openmetadata-docs/content/v1.9.x-SNAPSHOT/deployment/backup-restore-metadata.md +++ b/openmetadata-docs/content/v1.9.x-SNAPSHOT/deployment/backup-restore-metadata.md @@ -58,15 +58,7 @@ Start a local instance of OpenMetadata using the `docker-compose` file provided ## MySQL -### 1. Start a local docker deployment - -```shell -docker/run_local_docker.sh -``` - -Ingest some data... - -### 2. Backup and Restore +### 1. Backup and Restore ```shell BACKUP_FILE="backup_$(date +%Y%m%d%H%M).sql" @@ -82,7 +74,7 @@ docker compose exec mysql mysql -u root -ppassword -e "flush privileges;" docker compose exec -T ingestion mysql -u openmetadata_user -popenmetadata_password -h mysql -P 3306 restore < $BACKUP_FILE ``` -### 3. Restart the docker deployment with the restored database +### 2. Restart the docker deployment with the restored database ```shell export OM_DATABASE=restore @@ -91,15 +83,7 @@ docker compose -f $DOCKER_COMPOSE_FILE up -d ## PostgreSQL -### 1. Start a local docker deployment - -```shell -docker/run_local_docker.sh -d postgres -``` - -Ingest some data... - -### 2. Backup and Restore +### 1. Backup and Restore ```shell BACKUP_FILE="backup_$(date +%Y%m%d%H%M).sql" @@ -113,7 +97,7 @@ docker compose exec -e PGPASSWORD=openmetadata_password postgresql psql -U postg docker compose exec -e PGPASSWORD=openmetadata_password -T ingestion psql -U openmetadata_user -h postgresql -d restore < $BACKUP_FILE ``` -### 3. Restart the docker deployment with the restored database +### 2. Restart the docker deployment with the restored database ```shell export OM_DATABASE=restore