Results 1 to 2 of 2
I have recently replaced the images directory with a symlink called images due to some space issues. Since then, images have not been copied over to a back using the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-16-2007 #1
- Join Date
- Oct 2007
Rsync not copying symlink
I have recently replaced the images directory with a symlink called images due to some space issues. Since then, images have not been copied over to a back using the command below. How can i get this to work and start copying the images from the symlink over to the images backup directory again?
/usr/bin/rsync --compress -a -L -K --progress --stats --exclude 'logs/' \ --exclude 'cache/' --exclude 'templates_c/' --exclude 'postgres/' \ --exclude 'mysql/' --exclude 'lost+found/' --exclude 'qscand/' \ --exclude 'vpopmail/' --exclude 'spamd/' --exclude 'tmp/' --exclude 'sqlcache/' \--exclude 'servint/' \/home/ /storage1/backup/
- 10-19-2007 #2
- Join Date
- Sep 2007
you're using -a which is shorthand for -rlptgoD, thus you specify both, -l and -L
one tellign rsync to copy symlinks, the other to copy the linked files (all this
from reading the man page).
maybe you could try using -rptgoD (without "l") instead of -a.