rsync problem!!

I know double posting is not allowed... but I need urgent help on this question... so... please bear with me!

I am having a problem with rsyncing 2 directories in my network. Here is the situation:

  1. I have a directory tree on the 1 server say: SOURCE 2. I have to rsync this directory tree on a backup server, say: Backup 3. This is a huge tree (about 8-9 GB) that grows by about 2-3 % a day.
  2. What I did is... I gzipped the tree on a HD and restored it on the backup server 5. The file permissions and ownerships are the same on both the machines.
  3. Now I run the rsync command like so on the BACKUP server:
    rsync -ave ssh myuser@SOURCE:/var/SOURCE/ /backups/SOURCE/

This command results in the entire 8 GB tree to be backed up. I want only the incremental files to be rsynced over.

I have checked the files on both the machines they seem to be the same (even rsynced individual files and checked MD5SUM and they are the same). Even then it tires to rsync the entire directory tree!

Any help would be greatly appreciated! Thanks in advance.

KS

Have you tried the --ignore-existing option?

Thanks, but I was being an idiot!! Was rsyncing to another directory instead of the one where I had unzipped the backup up from the source!!! Never noticed that until yesterday!

It is working sweetly now!

Glad to hear it. :slight_smile: