Archive migration – copying documents

The first step in the migration process is to copy files from a source archive to a target archive.

To do that, you must first initialize a copy process:

java -jar ima-arm-tool.jar -m migration101 mig-copy -c init

The -m flag indicates a name of a mapping from the file “mapping.map” for which a process should be created.

After receiving a confirmation that a process was successfully initialized, start the copy process:

java -jar ima-arm-tool.jar -m migration101 mig-copy -c start

This starts an ARM process that copies files between archives, from source to target.

You can check the status of the process with:

java -jar ima-arm-tool.jar -m migration101 mig-status

If a process has finished successfully, you will see the status “finished”.

To check whether a process is done or in progress, you can request its execution details by calling mig-copy with a report subcommand:

java -jar ima-arm-tool.jar -m migration101 mig-copy -c report