Show / Hide Table of Contents
Edit on GitHub

Amplia Reg command: migrate-data

Name

migrate-data - Migrates application data to match a new schema version

Syntax

dotnet Lacuna.AmpliaRegNg.Site.dll [settings] -- migrate-data --to <to-version>

Or, on Docker:

docker run -i lacunasoftware/ampliareg:x.y.z [settings] -- migrate-data --to <to-version>
Important

Replace x.y.z above with the version indicated on the update procedure

The settings arguments are additional settings to overwrite settings from configuration files and environment variables, for instance --Section1:Name1=value1 --Section2:Name2=value2.

Options:

  • --batchsize <batch-size>: Number of records to update per iteration. Default: 100

Description

The migrate-data command schedules a background job to update data to conform to the given target schema version.

After running the command, follow the steps below to monitor the update job:

  1. Sign-in to your Amplia Reg instance
  2. Click on your name on the top right corner, then on Hangfire
  3. Click on Jobs on the top menu
  4. Look for the job named IDataMigrationJob.RunAsync on the Processing job list
  5. Wait until the job transitions to the Succeeded job list
  6. Check the application logs to see if any error occurred

See also

  • Amplia Reg command-line tool
Back to top Copyright © 2015-2020 Lacuna Software