Here you will find my self written scripts I use daily. Please use all the scripts with caution. I'm a one man project at the moment...
I add a function to all scripts that checks dependencies on execution and installs them. The main thing is, that I always use the latest stable version of Debian for development and for daily use. For my single board computers I use Armbian
These scripts should help you with managing full images of your single board computer. The goal is that you can backup your whole device including the bootloader, compressing it to the smallest possible version of an image and document it. You can then recover the backup to any sdCard or emmc storage you want. With a network share you could use a SD-card as backup device for emmc storage. You will find articles about that on my blog
Use this script to backup the SD-card of your SBC
Recover the backups made with RTbackup.sh