How to Move Objects Between Buckets in Linode's Object Storage
Updated , by Linode
Traducciones al EspañolEstamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
Linode’s Object Storage is a globally-available, S3-compatible method for storing and accessing data. With Object Storage more widely available, you may have buckets in multiple locations, this guide shows you how to move objects between buckets quickly and easily.
In this guide you learn how to move objects between buckets using:
Before You Begin
To learn how to enable Object Storage, see the How to Use Object Storage guide.
Object Storage is similar to a subscription service. After it is enabled, you are billed at the flat rate regardless of whether or not there are active buckets on your account. Cancel Object Storage to stop billing for this flat rate.
In all Object Storage URLs the cluster where your bucket is hosted is a part of the URL string.
NoteA cluster is defined as all buckets hosted by a unique URL; for example:
Cyberduck Graphical Interface
The easiest way to move objects between buckets is using a Graphical User Interface (GUI) such as Cyberduck. Using a GUI, you can simply drag and drop objects between buckets.
Transfer Between Buckets in the Same Cluster
To transfer objects within the same cluster on the same account, you need to open only one Cyberduck window.
Open Cyberduck and make a connection to access your buckets as described in How to Use Linode Object Storage.
Expand the two buckets you want to transfer objects between by clicking the down arrow to the left of the folders.
Locate the object you want to transfer.
Drag the item from the source location to the destination.
Select multiple items or folders and drag the group to the destination.
Transfer Between Buckets in Different Clusters
To transfer objects between two clusters, whether they are on the same account or not, you need to open two separate Cyberduck widows so that you can make two separate connections.
NoteTransferring objects between two different connections creates a copy of the object(s). If you don’t want the original files in the source bucket, you need to delete them after the transfer.
Open Cyberduck, click the File menu and select New Browser. A second interface window appears where you can create another connection.
In the first window, connect to the source bucket and locate the object you want to copy.
In the second window, connect to the destination bucket and navigate to the location you want to place a copy of the object.
Drag the object from the source to the destination.
NoteYou can easily copy multiple items, folders, or buckets by selecting everything you want to move and dragging the group. If you move a bucket to another bucket, it creates a folder with that bucket name.
You can also use the Cyberduck CLI, duck, to move objects from one bucket to another using the command line. The file transfer tool duck, is available for Linux, macOS, and Windows. To transfer using duck, you need the access keys that you generated for the source and destination buckets.
Install duck using the instructions for your platform.
Use the access keys and bucket names in the following command to move objects between buckets:
duck --copy s3://[email protected]$bucket_source/source_object_file_name s3://[email protected]$bucket_destination/destination_object_file_name
After issuing this command, you may be asked for login information.
NoteThe bucket source and destination names are the fully qualified names including the cluster name, for example:
You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.
This page was originally published on