Peppe La Rosa
2007-Jul-04 13:42 UTC
long filename and rsync error: some files could not be transferred (code 23)
Hi, 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 PC-6/sorgenti/sorgenti_codice_2.15.0_2006-04-04/codice_2.15.0-060404/codice_2.15.0-060404/codiceServerEJB/ejbModule/delfi/codice/archiviazione/EJSRemoteStatelessMasterizzazioneCtrSrvHome_771fb928.java 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@server::pc-5/ How can I fix it ? Thank's in advance. -- Best Peppe La Rosa