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:
- Sign-in to your Amplia Reg instance
- Click on your name on the top right corner, then on Hangfire
- Click on Jobs on the top menu
- Look for the job named
IDataMigrationJob.RunAsync
on the Processing job list - Wait until the job transitions to the Succeeded job list
- Check the application logs to see if any error occurred