dcfldd – enhanced version of dd

The biggest let down of dd is for me lack of any kind of progress bar. This tool addresses that issue

dcfldd if=/dev/sda hash=md5,sha256 hashwindow=20G md5log=md5.txt sha256log=sha256.txt \
       hashconv=after bs=512 conv=noerror,sync split=20G splitformat=aa of=sda.dd

example:
# dcfldd if=Backup.img of=/dev/mmcblk0
253952 Blocks (7936Mb) written.

 

More info here.

Rsync Backup to CloudSafe WebDav folder

1. Create CloudSafe account and setup WebDav and mount it to a folder (i.e. CloudSafe)

2. Create the backup scrip:

nano /home/scripts/backup_script.sh

#!/bin/sh
# Daily Data Backup
zip -r /Compressed/home.zip /home/ && rsync -av /Compressed/ /mnt/CloudSafe

Make it executable:

chmod +x /home/scripts/backup_script.sh

Now setup cron:

crontab -e

and schedule it to run at for a 11:30 PM:

30 23 * * * /home/script/backup_script.sh