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
demandé il y a un an214 vues
1 réponse
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
répondu il y a un an
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions