.png)
- Article History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 10-28-2022 09:00 AM
Introduction
It is a best practice to test configuration in the development/test environment(s) before moving it to production. In some cases, production data is loaded into the Dev/Test environments for validation purposes as well. This article discusses how to move just your data from Dev/Test to Prod if going through the process of reloading it in the standard way is too time consuming or too disruptive.
Applicable To
The content of this article is valid for Incorta on premises versions 5.1.x and 5.2.x.
Let's Go
Moving all data to a new production environment
Here we want to move the whole Tenant plus data from Dev/Test to a newly provisioned Prod server.
- Install Incorta on the appropriately provisioned new production server
- Configure the Incorta loader and analytics services
- Take a backup from the Dev/Test tenant
- Import the tenant to the new production server. You can change the name and path.
Note: Please be sure there is no running schema update or load while copying the data. We highly recommend shutting down the services and taking a backup while the services are down.
5. Copy the content of the tenant from Dev/Test into the new tenant directory created in step 4
6. Run load from staging for the schemas keeping in mind any dependencies between schemas
7. Run incremental loads
Moving One schema to new production
- Take a schema export from Dev/Test
- Take a backup of the schema parquet folder under <Dev_tenants>/source/<schema_name>
- Import the new schema taken from step 1 to the production server
- Copy the Schema folder from step 2 onto the production tenant under <Prod_tenants>/source/
- Run staging load for the schema
- Run incremental load
Moving One schema to new production (Run Incremental load with no staging)
- Take Schema export from Dev/Test
- Take a backup of the schema parquet folder under <Dev_tenants>/source/<schema_name>
- Import the new schema taken from step 1 to the production server
- Copy the Schema folders from step 2 onto the production tenant under <Prod_tenants>/source/
- Select all columns from Dev/Test related to the schema
select * from FILES_VERSIONS where NAME like '<schema_name>%';
6. Update the Production Metadata
update FILES_VERSIONS with the same output from step C.5
7. Run incremental load
Sync One schema to existing production.
- Take a schema export from Dev/Test
- Take a backup from the schema folders under:
- <Dev_tenants>/source/<schema_name>
- <Dev_tenants>/ddm/schemas/<schema_name
- <Dev_tenants>/ddm/joins/<schema_name>*
- Import the new schema taken from step 1 to the production server
- Remove the existing schema folders on the existing production tenant under:
- <Prod_tenants>/source/<schema_name
- <Prod_tenants>/ddm/schemas/<schema_name
- <Prod_tenants>/ddm/joins/<schema_name>*
- Copy the Schema folders from step 2 onto the production tenant under
- <Prod_tenants>/source/<schema_name
- <Prod_tenants>/ddm/schemas/<schema_name
- <Prod_tenants>/ddm/joins/<schema_name>*
- Remove all columns from the Production Metadata schema
DELETE FROM FILES_VERSIONS WHERE NAME like '<schema_name>%';
7. Run Stage load
Related Material
.png)
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Great article @Noureldin!