When dealing with USB backups, I would traditionally just mount and rsync to the device, with a simple script like this : mount /dev/sdc1 /mnt rsync /home /mnt umount /dev This approach fails though when the device is unplugged while backups are working (the device name will change from /dev/sdc1 to /dev/sdd1), or if a… View Article

THE DD COMMANDThe dd command copies an amount of data block by block. The most basic syntax is:Format# dd if=xxxxx of=yyyyy bs=zzzzzz( Where if=xxxxx is the source, of=yyyyy is the target and bs= both read and write zzzzz bytes at a time )Examples:Copy a hard disk partition to another hard disk:# dd if=/dev/hda2 of=/dev/hdb2 bs=4096… View Article