Backup Utility


2 2

Recommended Posts

Was wondering if there is a utility similar to the Khadas Krescue boot utility that allows one to backup/install emcc images??

I found it very useful to backup my Khadas images as well as installing different os.   The description is as follows:


'Krescue is an extremely small (21mb) operating system that you can boot directly from a micro-SD card or your EMMC. It is a “Swiss Army knife”, and you can use it to perform a variety of low-level SBC maintenance tasks. Most notable of which are backing-up your EMMC by dumping a raw-compressed .img.gz, and rapidly installing a new OS via flashing a .img.gz back into the EMMC. Krescue can download and install OS images directly from the web via wired Ethernet.'


I've finally got my Heliios64 about 2 weeks ago and have it setup to the point I believe its ready for primetime but would like to ensure I have an easy way to backup/restore my emcc image.  Any thoughts?

Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

I am using the following modified version of an Armbian Script to rsync emmc to sd (replace UUIDs to match yours):


# cat

# Check if user is root
if [ $(id -u) != "0" ]; then
    echo "Error: You must be root to run this script."
    exit 1

cat > install-exclude <<EOF
# /tmp/*
# /root/*

exec 2>/dev/null
umount /mnt/sd
exec 2>&1

mount /dev/mmcblk0p1 /mnt/sd
rsync -avxSE --delete --exclude-from="install-exclude"  /  /mnt/sd

# change fstab
sed -e 's/UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx3c/UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx2d/g' -i /mnt/sd/etc/fstab
sed -e 's/UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx3c/UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx2d/g' -i /mnt/sd/boot/armbianEnv.txt
umount /mnt/sd
rm install-exclude


Link to post
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.

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.


2 2