long filename and rsync error: some files could not be transferred (code 23)

Peppe La Rosa peppe.larosa at programmareweb.com
Wed Jul 4 13:38:46 GMT 2007


I installed a Backup server under Debian Etch.
When a client tries to backup files with a long path I receive this 
error message:

skipping overly long name: Documents and 
settings\\Amministratore\\Desktop/codice da

Documents and Settings\\Amministratore\\Desktop/
rsync: recv_generator: mkdir "/Documents and 
Settings\Amministratore\Desktop" (in pc-5) failed: Invalid argument (22)
*** Skipping everything below this failed directory ***

sent 66340 bytes  received 22 bytes  574.56 bytes/sec
total size is 5531245572  speedup is 83349.59
rsync error: some files could not be transferred (code 23) at main.c(791)

and it doesn't backup all "Document and Settings" directory !!!
I use NasBackup with cgwin to use rsync with windows and I use this 
command to run rsync :
rsync.exe -r -t -b --backup-dir=previous_version  --compress 
--exclude="*.bak"  --delete -v "/cygdrive/D/[Directory]" pc-5 at server::pc-5/

How can I fix it ?
Thank's in advance.


Peppe La Rosa

More information about the rsync mailing list