Peppe La Rosa
2007-Jul-04 13:42 UTC
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
Wayne Davison
2007-Jul-04 19:02 UTC
rsync error: some files could not be transferred (code 23)
On Wed, Jul 04, 2007 at 03:36:35PM +0200, Peppe La Rosa wrote:> and it doesn't backup all "Document and Settings" directory !!!That's not what it said. The name of the directory is apparently this: Documents and Settings\Amministratore\Desktop So, it looks like you've got at least one strangely named directory there (since it includes backslash characters).> rsync: recv_generator: mkdir "/Documents and Settings\Amministratore\Desktop" (in pc-5) failed: Invalid argument (22)The "Invalid argument" error is from your OS. It most likely means that the OS doesn't allow a backslash in the name of a file. ..wayne..
rsync-mail-gateway@nasbackup.com
2007-Jul-05 08:11 UTC
rsync error: some files could not be transferred (code 23)
wayned at samba.org wrote:> On Wed, Jul 04, 2007 at 03:36:35PM +0200, Peppe La Rosa wrote: > > > and it doesn't backup all "Document and Settings" directory !!! > > > > That's not what it said. The name of the directory is apparently this: > > Documents and Settings\Amministratore\Desktop > > So, it looks like you've got at least one strangely named directory > there (since it includes backslash characters). > > > > rsync: recv_generator: mkdir "/Documents and Settings\Amministratore\Desktop" (in pc-5) failed: Invalid argument (22) > > > > The "Invalid argument" error is from your OS. It most likely means that > the OS doesn't allow a backslash in the name of a file.You right, I belive that the guilty is NasBackup, because I add these path with NasBackup GUI interface. I hope to find a solution... Best ---------------------------------------- Read this topic online here: Sent using Mail2Forum (http://www.mail2forum.com). http://forums.nasbackup.com/viewtopic.php?p=5640#5640 ---------------------------------------- -------------- next part -------------- HTML attachment scrubbed and removed