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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南