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 02:21:39 -0700

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

...
Processing changed file Applications/Adobe/AdobePatchFiles
Processing changed file Applications/Adobe/AdobePatchFiles/ZipExceptions
Processing changed file 
Applications/Adobe/AdobePatchFiles/ZipExceptions/{6944077E-F929-4772-B00E-E96C49B55DBA}
Processing changed file 
Applications/Adobe/AdobePatchFiles/ZipExceptions/{6944077E-F929-4772-B00E-E96C49B55DBA}/030d3aadcd37ad6606cf8a1e71ba150e
Exception '[Errno 22] Invalid argument' raised of class '<type 
'exceptions.OSError'>':
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/robust.py",
 line 32, in check_common_error
    try: return function(*args)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/rpath.py",
 line 260, in rename
    rp_source.conUpdateError 
Applications/Adobe/AdobePatchFiles/ZipExceptions/{6944077E-F929-4772-B00E-E96C49B55DBA}/rdiff-backup.tmp.1234
 [Errno 22] Invalid argument
Exception '[Errno 2] No such file or directory: 
'/Volumes/backups/main/Applications/Adobe/AdobePatchFiles/ZipExceptions/{6944077E-F929-4772-B00E-E96C49B55DBA}/rdiff-backup.tmp.1234''
 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)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/Main.py",
 line 324, in Main
    take_action(rps)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/Main.py",
 line 280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/Main.py",
 line 346, in Backup
    backup.Mirror(rpin, rpout)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/backup.py",
 line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/backup.py",
 line 232, in patch
    ITR(diff.index, diff)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/rorpiter.py",
 line 281, in __call__
    last_branch.fast_process(*args)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/backup.py",
 line 535, in fast_process
    tf.delete()
  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)

n.os.rename(rp_source.path, rp_dest.path)

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/Main.py",
 line 304, in error_check_Main
    try: Main(arglist)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/Main.py",
 line 324, in Main
    take_action(rps)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/Main.py",
 line 280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/Main.py",
 line 346, in Backup
    backup.Mirror(rpin, rpout)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/backup.py",
 line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/backup.py",
 line 232, in patch
    ITR(diff.index, diff)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/rorpiter.py",
 line 281, in __call__
    last_branch.fast_process(*args)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rdiff_backup/backup.py",
 line 535, in fast_process
    tf.delete()
  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/Applications/Adobe/AdobePatchFiles/ZipExceptions/{6944077E-F929-4772-B00E-E96C49B55DBA}/rdiff-backup.tmp.1234'


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
> 




reply via email to

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