rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Curly braces in file names


From: KP
Subject: Re: [rdiff-backup-users] Curly braces in file names
Date: Fri, 17 May 2013 09:34:38 -0700

Dominic,

Ok.  I put the line in a bash script (and also changed from the fs root to the problem file's parent dir, just to get a result sooner).  Same result, it looks like.

Kevin

~/bin/backup.sh:

rdiff-backup  --carbonfile  \
--preserve-numerical-ids --include-special-files \
--exclude-other-filesystems --exclude-sockets \
--no-hard-links \
'/Applications/Adobe' /Volumes/backups/main/


$ sudo ~/bin/backup.sh 
OSError while renaming /Volumes/backups/main/AdobePatchFiles/ZipExceptions/{6944077E-F929-4772-B00E-E96C49B55DBA}/rdiff-backup.tmp.16 to /Volumes/backups/main/AdobePatchFiles/ZipExceptions/{6944077E-F929-4772-B00E-E96C49B55DBA}/030d3aadcd37ad6606cf8a1e71ba150e
UpdateError AdobePatchFiles/ZipExceptions/{6944077E-F929-4772-B00E-E96C49B55DBA}/rdiff-backup.tmp.16 [Errno 22] Invalid argument
Exception '[Errno 2] No such file or directory: '/Volumes/backups/main/AdobePatchFiles/ZipExceptions/{6944077E-F929-4772-B00E-E96C49B55DBA}/rdiff-backup.tmp.16'' raised of class '<type 'exceptions.OSError'>':
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
...
Traceback (most recent call last):
  File "/opt/local/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
...
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/rpath.py", line 1072, in delete
    try: self.conn.os.unlink(self.path)
OSError: [Errno 2] No such file or directory: '/Volumes/backups/main/AdobePatchFiles/ZipExceptions/{6944077E-F929-4772-B00E-E96C49B55DBA}/rdiff-backup.tmp.16'



On May 17, 2013, at 3:25 AM, Dominic Raferd wrote:

Kevin:

Just to rule something out, try running it via a script, this way you can get rid of the sudo on the command line. I have known cases where sudo (under Ubuntu) causes strange behaviour with wildcards, not involving rdiff-backup but it is worth checking.

So save the command line without sudo as a file, make it executable and run it with sudo. At least it will rule out one possible cause...

Dominic

On 17/05/2013 10:21, KP wrote:
I neglected to include the Python error messages, see below.

My assumption about braces stemmed from advice read in other threads, that the last pathname prior to the error spill is generally worth checking out.

No other pathnames with curly braces were found in the log file, which contains about 1300 entries prior to the error.

Regards,

Kevin Prichard

...


On May 17, 2013, at 2:10 AM, KP wrote:

Hello all,

I am trying to use rdiff-backup.  Client is OS X 10.7.5, using v 1.2.8.  Backup host is NAS4Free, accessed via AFP, with ZFS raidz2 storage.

The trouble occurs when backing up /.  rdiff-backup stops on the following pathname-

Applications/Adobe/AdobePatchFiles/ZipExceptions/{6944077E-F929-4772-B00E-E96C49B55DBA}/030d3aadcd37ad6606cf8a1e71ba150e

Is there a cure for this?  I searched extensively before mailing the list, and saw other discussions regarding non-ASCII chars -- but didn't find one on curly braces (ASCII).

I'm invoking with the following-

$ sudo rdiff-backup  --preserve-numerical-ids --include-special-files \
--exclude-other-filesystems --exclude-sockets  --include-symbolic-links \
--exclude '/proc/*' --exclude '/cores/*' --exclude '/sys/*' --exclude '/tmp/*' \
--exclude '/.DocumentRevisions-V100/*' --exclude '/.Spotlight-V100/*' \
--exclude '/Users/kev/PicturesNew/*' --exclude '/Volumes/*' -v5 \
--exclude '/.Trashes/*' --exclude '/.file/*' --exclude '/.fseventsd/*' \
--exclude '/.vol/*' \
--include-regexp '[0-9a-zA-Z-_\.\(\){} \[\]]+' --exclude-regexp '[.]+' \
/ /Volumes/backups/main/ >> /tmp/rdiff7.log 2>&1 &


Also, a sanity check to ensure ZFS filenames allow '{}' did work.

Regards,
Kevin Prichard


    

--
TimeDicer: Free File Recovery from Whenever   


reply via email to

[Prev in Thread] Current Thread [Next in Thread]