Is it possible to export .img file from virtual machine?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
dragon
Posts: 6
Joined: Tue Jul 05, 2016 7:06 am

Is it possible to export .img file from virtual machine?

Post by dragon »

Like described in the title, I am trying to find a way to export the whole file system from the virtaul machine(VMware or virtualbox) to a .img file, which can be used to write into a SD card for a real raspberry pi. I want to do this because the virtual machines have the very convinient snapshot backup feature which the real Pi don't have. If anyone can give me some advices?
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Is it possible to export .img file from virtual machine?

Post by k-plan »

Hi,

no, different processor architecture.

VM is a i386 64bit. RPi are ARMv6 / ARMv7 processor architecture and have different specific instruction set.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
dragon
Posts: 6
Joined: Tue Jul 05, 2016 7:06 am

Re: Is it possible to export .img file from virtual machine?

Post by dragon »

Hi k-plan,
Thanks for your reply. So it there any better way to make incremental backup for RPi without Cope and Write the whole SD card image everytime?
Best,
dragon
k-plan wrote:Hi,

no, different processor architecture.

VM is a i386 64bit. RPi are ARMv6 / ARMv7 processor architecture and have different specific instruction set.
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Is it possible to export .img file from virtual machine?

Post by k-plan »

Hi,
dragon wrote:So it there any better way to make incremental backup for RPi
Is this something you are looking for?

DietPi-Backup

cu
k-plan
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
dragon
Posts: 6
Joined: Tue Jul 05, 2016 7:06 am

Re: Is it possible to export .img file from virtual machine?

Post by dragon »

Thanks, I will try it.
k-plan wrote:Hi,
dragon wrote:So it there any better way to make incremental backup for RPi
Is this something you are looking for?

DietPi-Backup

cu
k-plan
dragon
Posts: 6
Joined: Tue Jul 05, 2016 7:06 am

Re: Is it possible to export .img file from virtual machine?

Post by dragon »

I have tried this DietPi-Backup. So dose it maintain only one latest version of backup rather than all the history backups?
k-plan wrote:Hi,
dragon wrote:So it there any better way to make incremental backup for RPi
Is this something you are looking for?

DietPi-Backup

cu
k-plan
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Is it possible to export .img file from virtual machine?

Post by Fourdee »

So dose it maintain only one latest version of backup rather than all the history backups?
Maintains the most recent backup only. Uses Rsync to create a incremental backup.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply