First, of course, you have to install dd and rsync if they are not already on your system.
# disk image, clone
Code:
sudo dd if=/dev/hda of=/dev/hdb bs=4096 conv=notrunc,noerror
I use grsync, not rsync, and don't have it in a cron script:
Code:
sudo rsync -r -t -p -o -g --delete /home/raid/ /media/backup/raid/
I trust you can understand these powerful commands. I would study the man pages for both before using them.
You have to learn cron to put the rsync command in it. I don't use cron and know little or nothing about it. Others here do know all there is to know. Let them speak out. <smile>
Bookmarks