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.
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.
Attach and mount your existing Volume to a Compute Instance, if you have not already.
Create, attach, and mount a Volume to a Compute Instance within the new data center you wish to use.
Log in to your new receiving Compute Instance using SSH or Lish.
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 is192.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.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