I usually backup from server1 files to a server2 machine by doing the following in server1
rsync --progress -avhe ssh www/ email@example.com:/home/user/www
What I'm looking for is to completely synchronize files on server2 based on what is currently on server1. I know that there are several extra files on server2 that probably I want to remove.
How could I perform this using rsync?