I have one linux box[prod-server] which is running red hat enterprise linux 4.5 and another laptop which is running redhat enterprise linux3.8[backup-server]. I have similar partitions on both the boxes except that the partition sizes on the laptop is much higher. I want to copy everything from the prod-server to the backup server using rsync. 1 How can I setup a cronjob to do this everyday. 2. What files or folders should NOT be copied (for example the IP address information is different on both machines). How can I accomplish this.
Please be very specific as to what I have to do on the prod-server and on the backup-server. Both the servers are on the same network.