Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document provides instructions on how to use the Jenkins job for data migration. The job allows users to migrate data from one release version to another in the Rancher performance environment.

...

Parameter nameMandatoryDescription
folio_repositorytrueSpecifies the repository from which to fetch the versions of the modules.
folio_branch_srctrueSpecifies the branch of the source repository for the migration.
folio_branch_dsttrueSpecifies the branch of the destination repository for the migration.
backup_namefalse

Sets the name of the RDS snapshot for the migration. Provide the name of the DB backup placed in folio-postgresql-backups AWS s3 bucket. 

slackChanneltrueDefines the Slack channel name to receive the migration report (optional, without the '#' symbol).

...

  1. Data Migration with Database Restoration (if backup_name set value): This mode of data migration involves restoring the target database from a backup before initiating the data migration process. This mode is useful when there is a need to check the time that needed for migration, ensuring a clean slate for the migration process.

  2. Data Migration without Database Restoration (if backup_name is NOT set): In this mode, the data migration process is performed without restoring the target database from a backup. This mode is typically utilized when there is a requirement to make a quick check for Schemas differences.

...


with Database Restorationwithout Database Restoration
Parameter backup_name set name of backup from the bucketleft empty value
Costsmore expensive (deployed RDS in AWS)cheaper (all infrastructure run in Rancher)
Speed of run

depends on dataset and modules

(takes more time than without backup)

around 1 hour

...