Moving Objects Between Buckets in Linode's Object Storage

Traducciones al Español
Estamos 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.
Create a Linode account to try this guide with a $ credit.
This credit will be applied to any valid services used during your first  days.

Note
Linode’s Object Storage is available in our Atlanta (USA), Frankfurt (Germany), Newark (USA), and Singapore data centers. For more availability details and billing information, see the Object Storage Overview product documentation.

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:

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.

  1. Open Cyberduck and make a connection to access your buckets as described in Using Cyberduck with Object Storage .

  2. Expand the two buckets you want to transfer objects between by clicking the down arrow to the left of the folders.

  3. Locate the object you want to transfer.

  4. Drag the item from the source location to the destination.

  5. 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.

Note
Transferring 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.
  1. Open Cyberduck, click the File menu and select New Browser. A second interface window appears where you can create another connection.

  2. In the first window, connect to the source bucket and locate the object you want to copy.

  3. In the second window, connect to the destination bucket and navigate to the location you want to place a copy of the object.

  4. Drag the object from the source to the destination.

    Note
    You 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.

Cyberduck CLI

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.

  1. Install duck using the instructions for your platform.

  2. Use the access keys and bucket names in the following command to move objects between buckets:

    duck --copy s3://$access_key_source@$bucket_source/source_object_file_name s3://$access_key_destination@$bucket_destination/destination_object_file_name
    

    After issuing this command, you may be asked for login information.

Note
The bucket source and destination names are the fully qualified names including the cluster name, for example: us-east-1.linodeobjects.com/example_bucket.

More Information

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


Your Feedback Is Important

Let us know if this guide was helpful to you.


Join the conversation.
Read other comments or post your own below. Comments must be respectful, constructive, and relevant to the topic of the guide. Do not post external links or advertisements. Before posting, consider if your comment would be better addressed by contacting our Support team or asking on our Community Site.
The Disqus commenting system for Linode Docs requires the acceptance of Functional Cookies, which allow us to analyze site usage so we can measure and improve performance. To view and create comments for this article, please update your Cookie Preferences on this website and refresh this web page. Please note: You must have JavaScript enabled in your browser.