rsync not copying softlink
DOAJul 12 2011 — edited Jul 12 2011Hi all,
I have to use rsync to synchronize my PROD instance with DR site.
both side the user are same (appl) and I need to copy whole directories from source to destination with the same ownership and permissions.
its all hepning very well.
only problem is, there are some dir in souce side heaving softlink with each other, these dir are copying from source to destination but not creating the softlink between them.
executing this command to rsync with appl user on source : ( oratop is the dir name which need to copy from source to desti, owner is appl )
rsync -avzul --stats oratop appl@17.172.90.38:/d04/appltop/
errror I am gettitng is :
could not make way for new symlink: prodora/iAS/6iserver
could not make way for new symlink: prodora/iAS/JRE
could not make way for new symlink: prodora/iAS/appsoui
could not make way for new symlink: prodora/iAS/Apache/jdk
could not make way for new symlink: prodora/iAS/ifs1.1/jws/jre
could not make way for new symlink: prodora/iAS/oui21/jre/1.3.1/bin
could not make way for new symlink: prodora/iAS/oui21/jre/1.3.1/lib
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
please suggest a way to create the softlink between files/directories as they are in source server.
Thanks in ADV!