Provisioned volume to S3 bucket/Local computer

0

Hi, I have a data volume(non-root) attached to an instance. I want entire provisioned volume in my S3 bucket/Local computer . I am aware of the sync command in CLI but that only gives me data objects present in volume.

Kindly share if I can try some way.

hemant
已提问 1 年前214 查看次数
1 回答
0
  1. Mount a 2nd volume of larger size
  2. Unmount but do not detach the original volume
  3. Use the 'dd' command to read the /dev/sdX (where X is whichever letter that drive is assigned as) out to a file on the new drive
  4. Copy that file to S3 / local machine
  5. Once on your local machine, you can mount that file using the loopback mechanism as a drive. https://docstore.mik.ua/orelly/unix3/upt/ch44_07.htm goes in to it in some more detail. However I'm not sure why you would want to do this absent exotic scenarios.
profile picture
已回答 1 年前
  • Hey @jhmartin, Actually the scenario is about migrating the entire data-volume to a KVM hypervisor(Openstack). I want that volume to be exported there. We can use export/import function in AWS for instances with one volume(root) but not the secondary volumes. This is the main concern.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则