This topic describes the operations that you can perform after you create a migration task.
The operations that you can perform vary based on the type of the migration task. You can perform the following steps to manage migration tasks of different types.
Manage full migration and incremental migration jobs
- View the status of a full or incremental migration job
After you create a migration job, one of the following states is displayed for the job:
Migrating: Data is being migrated. Wait until the migration job is complete.
Create Failed: The migration job fails to be created. You can view the cause of the failure and create another migration job.
Finished: The migration job is complete. You can view the migration report.
Failed: The migration job fails. You can view the migration report and migrate the files that fail to be migrated.
- Modify the throttling settings of a migration job During migration, you can modify the throttling settings of a migration job based on your needs.
- In the Data Transport console, choose . On the Migration Jobs page, find the migration job and click Manage.
- Click Stop and confirm that the job is stopped.
- On the Flow Control Time Schedule chart, click Reset.
To add a throttling setting, select an appropriate time range and the maximum traffic, and then click Add.
To remove a throttling setting, click the icon next to the throttling setting.
To modify a throttling setting, delete the throttling setting and then add a throttling setting.
- Click OK and then click Start to restart the job.
- View a migration report
- On the Migration Jobs page, find the migration job and click Manage.
- Click Generate Migration Report. After a report is generated, click Export to export the report. In a migration report, the following files appear in the File lists section:
The file whose name ends with
_total_list
. This file lists all files to be migrated.The file whose name ends with
_completed_list
. This file lists the files that are migrated.The file whose name ends with
_error_list
. This file lists the files that fail to be migrated.
- At the destination NAS data address, find the generated folder aliyun_mgw_import_report/. The folder includes the three files listed in the migration report. You can download the files and view the detailed list included in each file.
Each list consists of the following columns:
The columns of the file whose name ends with _total_list include the source data address, file name, and version ID. The columns also display whether the file version is the latest at the source data address and whether the file version is deleted at the source data address. The last two columns display the file size measured in bytes and the time when the file was last modified. The format of a source data address is
<vendor>://<bucketName>/<prefix>/<objectName>
. Example:oss://bucket-test1022/myprefix/testfile.txt
.NoteVersion ID: the version ID of the file at the source data address.
Latest at the source data address: indicates whether the current version is the latest version of the file at the source data address. Valid values: true and false.
Deleted at the source data address: indicates whether the current version is deleted at the source data address. Valid values: true and false.
The columns of the file whose name ends with _completed_list include the file name and the file size measured in bytes. The last three columns display the CRC-64 checksum, the time when the migration ends, and whether the migration is skipped.
NoteSkip migration: indicates whether the file that has the same name at the source data address and destination data address is skipped during migration. Valid values: 1 and 0. A value of 1 indicates that the file is skipped during migration. A value of 0 indicates that the file is not skipped during migration. The value of this column depends on the value of the File Overwrite Method parameter that you specified when you create the migration job.
The columns of the file whose name ends with _error_list include the file name, the time when the migration starts, the time when the migration stops, and the error description. The last column indicates whether the migration is skipped.
- Retry a job after a migration failure
If a migration job fails, you can check the generated file whose name ends in _error_list to identify the cause of failure and resolve the issue. On the Migration Jobs page, find the failed job, click Manage, and click Retry to migrate the files of the job again. For more information, see Common causes of a migration failure and solutions.
Manage synchronization jobs
- View the status of a migration job A migration job enters one of the following states after being created:
- Migrating. This state indicates that the migration job is in progress.
- Stopped. If you click Manage next to a job and then click Stop on the Migration Report page, the status of the job changes to Stopped. This state indicates that the job stops after the current files are synchronized.
- Create Failed. This state indicates that the migration job fails to be created. You can view the cause of failure and create a migration job again.
- Manage migration jobs
- View the details of a migration job: On the Migration Jobs page, click Manage to view the job details in the Basic, Schedule, and Flow Control Time Schedule sections.
- Stop or start a migration job: On the Migration Report page, you can stop or start a migration job at any time.
- View the history of a job: On the Migration Jobs page, find the job and click Check History to view the job history. After a migration job is completed, it enters one of the following states:
- Scanning. This state indicates that the files of the source data address are being scanned. The number of scanned files is displayed in the File Count column.
- Scan Finished. This state indicates that a scan is complete. The total number and size of files are displayed in the File Count and File Size columns.
- Success. This state indicates that a synchronization job is completed. The number of synchronized files is displayed. You can click next to to download the list of files that have been synchronized.
- Failed: An error may occur when you run a synchronization job. Click Retry to synchronize the files that fail to be synchronized again. You can click next to Failed to download the list of files that failed to be synchronized. You can view the details of the files and identify the failure cause. For example, one or more source files were deleted or lost during synchronization.