Jump to content

How to backup the system image of my sdcard?


DavidJS
Go to solution Solved by Werner,

Recommended Posts

I have built my armbian system on a Renegade board, and I need to back up the entire system so that I can copy it to other sdcards. I tried to use Win32DiskImager.exe to read out the system, but the size of the image read out is much larger than the space occupied by the system, which is basically equal to the size of the card. Any good suggestions?

Link to comment
Share on other sites

On Windows and I'm not sure if there is a good method, but you can always compress the image.  This will not help if you want to fit it on a smaller sd card.
On Linux you can resize the image to a smaller image by removing unused space, and it can then be expanded to fit the size of your sd card. This is an old tutorial but it works:  https://web.archive.org/web/20200602173912/https://softwarebakery.com/shrinking-images-on-linux

Link to comment
Share on other sites

The Armbian images shrink the filesystem down to a minimal footprint that then expand to the max of the sdcard on first boot.     You're cloning the image after it's been expanded from first boot stage

 

You'll want to shrink the root file system and the partition before imagine.

 

 Rather than making a golden image, using the Armbian build tool and the customize image hooks to install your packages would be a more appropriate solution 

Link to comment
Share on other sites

None of the above solutions work for Windows.

 

However I found a way to clone the entire drive to a compressed image file and have successfully restored it and booted back into Armbian.

 

AOMEI Backupper Free -> Backup -> Disk Backup (bottom is folder to store backup, top is the sdcard/drive you want to select to backup)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines