All Products
Search
Document Center

Apsara File Storage NAS:Migrate data between a NAS file system and an OSS bucket

Last Updated:Jun 08, 2023

This topic describes how to migrate data between a NAS file system and an Object Storage Service (OSS) bucket.

Migrate data by using ossutil

ossutil is a command line management tool provided by OSS. ossutil is suitable for scenarios where the total size of files is less than 30 TB. ossutil provides the following benefits:

  • Provides a wide range of simple and convenient commands to manage objects and buckets and ensures high performance of operations.

  • Supports concurrent upload and resumable upload of files.

  • Allows you to upload and download directories and folders.

Before you migrate data, make sure that ossutil is installed. For more information about how to download and install ossutil, see Install ossutil.

  • Migrate data from an OSS bucket to a NAS file system

    You can run the sync command to migrate data from an OSS bucket to a NAS file system. For more information, see Synchronize OSS objects to your computer.

  • Migrate data from a NAS file system to an OSS bucket

    You can run the sync command to migrate data from a NAS file system to an OSS bucket. For more information, see Synchronize local files to OSS.

Migrate data by using Data Transport

Data Transport is a tunnel between different storage services of Alibaba Cloud. You can use Data Transport to migrate data without the need to deploy a migration tool. You can flexibly migrate data between OSS and Apsara File Storage NAS.

Procedure: