HowTo: Transfer data from old project to new project
If you already applied for a new project and hope that the data in old project can be continuously used, please refer to this documentation to transfer your data via Cloud Object Storage (COS).
Sequence of data transferring:Old project COS Download to your local computer Upload to New project COS
According to your operating system, refer to Windows or Linux.
Hyper File System (HFS) is attached to the user account, rather than project. Therefore, the data in HFS storage space does not need to transfer, and could still be accessed in the new project.
Windows
Step 1. Back up the old project data to COS
For those who use Virtual Compute Service (VCS), please refer to this document to back up the old project data in VCS instance to COS.
Users of CCS and Taiwania 2 can skip this step because the default storage of the two services is Hyper File System (HFS).
Step 2. Connect old and new COSs with S3 Browser in your local computer
After you back up, please download S3 browser to your local computer, and connect with COSs of your old project and new project.
Step 3. Download the old project data to local computer
S3 browser does not support direct data transfer, please select the file you need to transfer and download it to local.
Step 4. Upload the data to new project
- Switch to new project account in local S3 browser
- Then, upload the local data to the COS of new project, the data will be successfully transferred to the new project!
Linux
Step 1. Back up the old project data to COS
For those who use Virtual Compute Service (VCS), please refer to this document to back up the old project data in VCS instance to COS.
Users of CCS and Taiwania 2 can skip this step because the default storage of the two services is Hyper File System (HFS), and the data in HFS can be used in multiple projects.
Step 2. Connect old project COS with local computer
Please refer to this document to install s3cmd, and enter Old project data (Access Key & Secret Key) to connect old project COS with local computer via s3cmd.
Step 3. Download the old project data to local computer
Enter the following command to download old project data to local.
s3cmd get --recursive s3://<BUCKET_NAME>/<FOLDER_NAME or FILE_NAME> <LOCAL_DIR>
Step 4. Connect new project COS with local computer
Enter command s3cmd --configure
again, and enter related information to connect to new project COS.
Step 5. Upload the data to new project
Upload the local data to the COS of new project, the data will be successfully transferred to the new project!
s3cmd put --recursive <LOCAL_FILE_NAME> s3://<BUCKET_NAME>