--delete not working

2012-03-12 Thread Salatiel Filho
Hi guys , i need some help. I am trying to make a full sync of two of my servers. But i noticed a very odd thing. If i create a directory , for example /usr/include/SOME_FOLDER/some_file on server2 when i do : root@server1 #$ rsync -avhH --exclude proc/ --exclude sys/ --exclude dev/ /

Re: --delete not working

2012-03-12 Thread Salatiel Filho
Are there any errors?  Rsync will abort the deletions if there are any errors.  Run without the -v to get only the errors in the output. On 03/12/12 15:00, Salatiel Filho wrote: Hi guys , i need some help. I am trying to make a full sync of two of my servers. But i noticed a very odd thing. If i create

Re: --delete not working

2012-03-12 Thread Salatiel Filho
sorry , i was not forgetting that. Just forgot to type when mailing :) []'s Salatiel On Mon, Mar 12, 2012 at 16:16, John Van Essen vanes...@umn.edu wrote: Aren't you missing something in your rsync command?  (Hint: subject line)    John On Mar 12, 2012, at 14:00, Salatiel Filho wrote

Re: --delete not working

2012-03-12 Thread Salatiel Filho
/12/12 15:16, Salatiel Filho wrote: Actually that is the problem. SOME_FOLDER is /usr/include/sys which is being ignore because of the sys/* exclude. Now i have another problem , how can i exclude the /sys , /proc and /dev for being synced? if i put rsync -avzhH  --delete --exclude /proc