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

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?

Hi,

no, different processor architecture.

VM is a i386 64bit. RPi are ARMv6 / ARMv7 processor architecture and have different specific instruction set.

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

Hi,

Is this something you are looking for?

DietPi-Backup

cu
k-plan

Thanks, I will try it.

I have tried this DietPi-Backup. So dose it maintain only one latest version of backup rather than all the history backups?

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.