Guides - Transfer Block Storage Data between Data Centers

Block Storage is a scalable, high-speed, and fault tolerant storage service used to add additional storage to a Linode Compute Instance.

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.

Block Storage Volumes cannot be directly migrated to a different data center. These steps will outline how to transfer a Volume’s data to a different data center via the SCP tool.

Note
Consult our Network Transfer Usage and Costs guide for information on charges related to outbound traffic when transferring data over the public internet.
  1. Attach and mount your existing Volume to a Compute Instance, if you have not already.

  2. Create, attach, and mount a Volume to a Compute Instance within the new data center you wish to use.

  3. Log in to your new receiving Compute Instance using SSH or Lish.

  4. Use the Secure Copy Protocol (SCP) to download your Volume’s data to the receiving Compute Instance.

    scp [source-user]@[source-ip]:[source-path] [destination-path]
    

    Replace the above values with your own. In the example below, the user is root, the IP of the original Compute Instance is 192.0.2.1, the path to the Volume’s data on the source machine is /mnt/source-volume/, and the path to the new Volume on the new Compute Instance in the other data center is /mnt/destination-volume/.

    scp root@192.0.2.1:/mnt/source-volume/ /mnt/destination-volume/
    
    Note
    You will need a Volume or device that has enough storage capacity to receive the entirety of your source data.
  5. Once the transfer is complete and you have confirmed the original data is now located on the new Volume in your desired data center, the original Volume can be deleted to avoid further charges for that Volume.

This page was originally published on


Your Feedback Is Important

Let us know if this guide was helpful to you.