This is an old revision of the document!
sudo rsync -avxHAX --progress --delete /sourcefiles/path /backup/path
Adding h, H, P, will preserve hard links, give you human readable output, and show the progress (eliminating the need for –progress).
sudo rsync -avxHAXhHP --delete /sourcefiles/path /backup/path
Cloning entire drives, use:
sudo rsync -avxHAXhHP --delete /sourcefiles/path /backup/path --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found}
If the drive you are cloning from has a different filesystem than the destination drive, you can remove the exclusions as -x will handle those exclusions in that case.