bugrdiff-backup - Bugs: bug #32544, OSError: no such file or directory...

 
 

bug #32544: OSError: no such file or directory while removing Firefox's cache dirs

Submitted by:  None
Submitted on:  Sun 20 Feb 2011 01:23:32 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Works For Me
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 26 May 2013 04:13:43 PM UTC, comment #1:

Is firefox in use at the time? Perhaps it's removed the directory/file after the backup has started but before the actual transfer of the file has occurred.

There's usually not any point in backing up cache files.

You should be able to simply --exclude them from your backups and/or make sure firefox is not active when the backups are happening.

Kevin Fenzi <nirik>
Project Member
Sun 20 Feb 2011 01:23:32 PM UTC, original submission:

Hi,
I'm using rdiff-backup to backup various files and dirs from an ext4 partition to an ext3. Among those files there are Firefox's profile directory and now, since latest beta, rdiff-backup exits with the above mentioned error when removing directories inside Firefox cache. Before firefox 4.0b11, the cache directory looked like:
/home/user/.mozilla/firefox/profile_dir/Cache/$various_files
now it looks like:
/home/user/.mozilla/firefox/profile_dir/Cache/[0-9A-Z]/[0-9A-Z][0-9A-Z]/$various_files

basically, now there are 2 nested directories when before there where only files. Rdiff-backup has problems in removing one of those new directory from past snapshots but it's very random, yesterday backup went well, today's didn't and so on. This is latest log:

Removing directory /mnt/backup/backupdir/home/gianluca/.mozilla/firefox/emyfevaj.navigation3/Cache/4/F6
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.7/site-packages/rdiff_backup/Main.py", line 324, in Main
take_action(rps)
File "/usr/lib/python2.7/site-packages/rdiff_backup/Main.py", line 280, in take_action
try: Main(arglist)
File "/usr/lib/python2.7/site-packages/rdiff_backup/Main.py", line 324, in Main
take_action(rps)
File "/usr/lib/python2.7/site-packages/rdiff_backup/Main.py", line 280, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.7/site-packages/rdiff_backup/Main.py", line 343, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.7/site-packages/rdiff_backup/backup.py", line 51, in Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/usr/lib/python2.7/site-packages/rdiff_backup/backup.py", line 243, in patch_and_increment
ITR(diff.index, diff)
File "/usr/lib/python2.7/site-packages/rdiff_backup/rorpiter.py", line 277, in _call_
if self.finish_branches(index) is None:
File "/usr/lib/python2.7/site-packages/rdiff_backup/rorpiter.py", line 229, in finish_branches
to_be_finished.end_process()
File "/usr/lib/python2.7/site-packages/rdiff_backup/backup.py", line 672, in end_process
self.base_rp.rmdir()
File "/usr/lib/python2.7/site-packages/rdiff_backup/rpath.py", line 993, in rmdir
self.conn.os.rmdir(self.path)
OSError: [Errno 2] No such file or directory: '/mnt/backup/backupdir/home/gianluca/.mozilla/firefox/emyfevaj.navigation3/Cache/4/F6'
Warning: chars_to_quote file not found,
assuming no quoting in backup repository.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nirik (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 26 May 2013 04:13:43 PM UTCnirikStatusNone=>Works For Me
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1