how to copy one block storage data to another block storage?

Posted July 19, 2017 4.5k views
NginxUbuntuBlock Storage

Can i copy one block storage data to another block storage?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
4 answers

Hi @DhavalPadshala

You can attach multiple Block Storage volumes to the same droplet (up to 5 volumes).
Then you could attach another volume to your current droplet, and configure it as another device in Ubuntu, and then copy data with the regular cp command.

thnx @hansen
Actually i have an 2 droplet and both have an different different block storage so i want to copy one droplet block storage data to second droplet block storage.

or else how to access one droplet block storage to second droplet.

  • @DhavalPadshala

    Ahhh, then it’s much more simple. Keep everything as it is now. I would recommend that you go to the control panel and take a snapshot before copying data around.

    You can use the command scp, which creates a SSH tunnel and then copies data.
    Login to the droplet you want to copy data from.

    scp -pr /path/from user@droplet-ip-address:/path/to/
    #scp -pr /volume-old/photos root@

Actually i can’t able to login this droplet because it is under Ddos attack. But i have an snapshot of the block storage.