problem rsycing with remote dir

David Karapetyan david.karapetyan at gmail.com
Thu Feb 5 17:39:10 PST 2009


Hello everyone. I am using the --backup flag in rsync to save 
incremental changes that rsync makes when I sync a directory on my 
laptop with my remote server. Please look at my pastebin code: 
http://pastebin.com/m16a3ce38On The problem is that I end up generating 
an root at davidkarapetyan.homeunix.com: directory on my laptop that 
contains empty versions of all the directories that were backed up. In 
short, it is a directory filled with empty sub directories. Furthermore,  
I am unable to have $INC be placed anywhere other than within $TARGET, 
no matter how I alter the code. Interestingly enough, I use a very 
similar script on the server itself, with no issues. It seems that 
rsync's remote backup scheme, with the --backup flag, is a bit borked.  
Any suggestions?

-- --
Best,
David Karapetyan
http://davidkarapetyan.com
University of Notre Dame
Department of Mathematics
255 Hurley Hall
Notre Dame, IN 46556-4618
Phone: 574-631-5706
Cell:  202-460-5173
Fax:   574-631-6579



More information about the freebsd-questions mailing list