Copy and move files
Overview
You can replicate or move uploaded files. Replication duplicates files to other buckets while keeping the original files, whereas moving transfers files to other buckets and deletes them from the source bucket.
Note
- Files support cross-region replication and moving.
- Archive storage-class files that have not been restored cannot be replicated or moved. Files must be restored before performing these actions.
Replicate files
- Sign in to the BOS Management Console and navigate to the Global Overview page.
- In the left navigation bar of the BOS console, select the bucket where the target file is located, then click to open the bucket’s file list page.
- Click the More -> Replicate File button in the operation bar to the right of the target file.
- In the pop-up window, select the Target Folder to be replicated, and choose the Storage Class for the replicated file in the target folder. After file replication, the original file in the source bucket will still be retained.

Note: You can change storage classes by replicating a file to itself with the desired storage class.
Move files
- Sign in to the BOS Management Console and navigate to the Global Overview page.
- In the left navigation bar of the BOS console, select the bucket where the target file is located, then click to open the bucket’s file list page.
- Click the More->Move to button in the operation bar to the right of the target file.
- In the pop-up window, select the Target Folder to be moved, and choose the Storage Class for the file in the target folder. After file moving, the original file in the source bucket will be deleted.

Related APIs
- CopyObject API: Use the CopyObject API to copy an existing object to another object.
Note
Cross-border data compliance commitment
When you use this service or feature, your business data on the cloud will be transmitted to the selected region or the region where the service is deployed. This may involve cross-border data transfer.
By using this feature, you confirm that you have full legal authority to manage the relevant business data and that you accept complete responsibility for its transmission and associated actions. You also confirm that your data transmission complies with relevant laws and regulations, including obtaining explicit consent from data subjects, completing cross-border data security assessments, and signing standard contracts for cross-border personal information transfers with recipients. You further guarantee that your data does not include any content restricted or prohibited by applicable laws. For specific compliance requirements, please consult the appropriate authorities.
In the event of non-compliance with the above commitments, you will bear all legal consequences and compensate Baidu AI Cloud and/or its affiliates for any resulting losses.
If Baidu AI Cloud is required to modify or discontinue this feature due to changes in law, policy, or regulations, you understand and accept that this will not constitute a breach of contract. Baidu AI Cloud will provide transitional assistance for any service adjustments or termination.
