Backups RapspberryPi (or any other micro computer) SD card image to gzipped .img file
Just chmod +x daily_backup.sh and run it in terminal.
If you want to change device in which is SD card mounted, just change /dev/mmcblk0 to your device. Please beware, it should be full card device, not jus partition.
MIT