This topic describes how to prepare for a migration job.

FTP server

Estimate the amount and the number of files that you want to migrate. You can log on to the Linux-based FTP server to view the amount and the number of files that you want to migrate.
  1. Log on to the Linux-based FTP server and run the following command as a root user:

    ftp <ftp_server_ip>

    Enter the username and password.

  2. Run the following commands to view the amount and the number of files that you want to migrate:

    Size of files: du -sh <directory_path>

    Number of files: find &lt;directory_path> -type f | wc -l

    Example:
    [root@ixxx /]# du -sh /root/a/b/c
    181M   /root/a/b/c
    [root@ixxx /]# find /root/a/b/c -type f | wc -l
    38
Note To ensure a successful migration, you must enter an appropriate amount and number of files when you create a migration job.

Alibaba Cloud Object Storage Service (OSS)

  • Create an OSS bucket

    Create a destination OSS bucket to store the migrated data. For more information, see Create a bucket.

  • Create and authorize a RAM user
    1. Log on to the RAM console.
    2. Choose Identities > Users > Create User.
    3. Select Console Password Logon and Programmatic Access, and then enter the required RAM user information.
    4. Click OK to save the generated RAM username, password, AccessKey ID, and AccessKey Secret.
    5. Find the RAM user, and click Add Permissions to grant the OSS read/write permission (AliyunOSSFullAccess) and Data Transport management permission (AliyunMGWFullAccess) to the RAM user. The following figure shows the authorization page.Add permissions
    6. In the left-side navigation pane, select Overview, click the link in the RAM user logon section, and enter the username and password of the new RAM user to log on to the console.Retrieve the RAM user logon address