LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-07-2006, 10:50 AM   #1
Fusi
Member
 
Registered: May 2003
Location: Saarland, Germany
Distribution: Arch
Posts: 36

Rep: Reputation: 15
rsync: error while copying


hey guys!

I would like to backup my system with rsync. Befrore writing a complete script I wanted to understand how rsync works and if everything works all right.
I tried to backup my home dir to my external hdd. Therefore I used this command:

Code:
rsync -avz --del --force --progress --exclude-from=/home/fixje/backup-script/exceptions /home/fixje/ /mnt/exhdd/linux_fixje/home
As result many files where copied correctly and even the exceptions worked!
But then I got an error

Code:
building file list ...
507 files to consider
./
?
           6 100%    0.00kB/s    0:00:00  (1, 0.4% of 507)
.fonts.cache-1
          41 100%   20.02kB/s    0:00:00  (2, 1.4% of 507)
rsync: mkstemp "/mnt/exhdd/linux_fixje/home/.?.Zrtftp" failed: Invalid argument(22)

sent 10565 bytes  received 70 bytes  21270.00 bytes/sec
total size is 192509874  speedup is 18101.54
rsync error: some files could not be transferred (code 23) at main.c(789)
I have really no idea!
Thanks for your replies!!
 
Old 07-07-2006, 11:02 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,024
Blog Entries: 5

Rep: Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789
You have a file named "/mnt/exhdd/linux_fixje/home/.?.Zrtftp"?

The ? is a shell meta-character that matches any single character. It may be that rsync thinks you are looking for files like:
.a.Zrtftp, .b.Zrtftp etc... but you don't have anything. I'd really suggest you not name files with special characters in them like this.
 
Old 07-07-2006, 11:06 AM   #3
Fusi
Member
 
Registered: May 2003
Location: Saarland, Germany
Distribution: Arch
Posts: 36

Original Poster
Rep: Reputation: 15
that's the joke:
there is no such file containing a '?' or a file that's named like '.?.Zrtftp'

What I forgot to mention: the filename always changes with every attempt!
 
Old 07-07-2006, 11:18 AM   #4
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,024
Blog Entries: 5

Rep: Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789
If you go to /mnt/exhdd/linux_fixje/home and do "ls -la" what IS there? It may be that trying to list the file is having odd issues because it encounters the meta-character.

Is the file always in the same path?

Does the file always appear to have the ? in its name?
 
Old 07-07-2006, 11:34 AM   #5
Fusi
Member
 
Registered: May 2003
Location: Saarland, Germany
Distribution: Arch
Posts: 36

Original Poster
Rep: Reputation: 15
if I do a "ls" I don't see any file looking like this. But what I found is (as you can see in the error message) that these files are only temporary files which always look the same way:
.?.<random combination of chars>
 
Old 06-10-2013, 12:00 AM   #6
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Rep: Reputation: 33
Is it OK to revive this question? I have the exact same problem now with Kubuntu 12.04. It is explained so well here already, why make a new question? Furthermore, this thread is showing up near the top in google, but it doesn't have an answer. So I propose to reuse the thread and hopefully get an answer this time. Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error with rsync DJE007 Linux - Networking 3 09-21-2009 12:51 AM
rsync error code 12 nifflerX Linux - General 9 07-14-2009 01:26 PM
rsync error irvken Linux - Software 5 04-24-2005 05:12 PM
Copying from Slackware 10 to Debian Sarge using rsync apolinsky Slackware 5 10-07-2004 10:17 AM
Error installing Alsa (Error copying pcm_lib.c) Doleo Linux - Software 1 02-25-2004 11:53 AM


All times are GMT -5. The time now is 08:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration