[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] No Permission IOError
From: |
Dean Cording |
Subject: |
[rdiff-backup-users] No Permission IOError |
Date: |
Sat, 7 Mar 2009 09:18:23 +1100 |
User-agent: |
KMail/1.9.9 |
I'm running rdiff-backup to backup my Linux machine to another via a NFS mount.
A program I use creates a couple of lock files with no permissions:
---------- 2 dean dean 0 2009-03-07 09:01 Succurro
Accounts.7f0100.15504.LNK
---------- 2 dean dean 0 2009-03-07 09:01 Succurro Accounts.LCK
rdiff-backup backs these up OK but when it comes to do the next backup it fails
with:
Exception '[Errno 13] Permission denied:
'/mnt/backup/holly/data/Work/Succurro/Finances/Succurro
Accounts.7f0100.15504.LNK'' raised of class '<type 'exceptions.IOError'>':
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 324, in
Main
take_action(rps)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 280, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 343, in
Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.5/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.5/site-packages/rdiff_backup/backup.py", line 241, in
patch_and_increment
for diff in rorpiter.FillInIter(source_diffiter, dest_rpath):
File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 177,
in FillInIter
for rp in rpiter:
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 103, in
get_diffs
for dest_sig in dest_sigiter:
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 178, in
get_sigs
src_rorp, dest_rorp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 193, in
get_one_sig
sig_fp = cls.get_one_sig_fp(dest_rp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 212, in
get_one_sig_fp
return Rdiff.get_signature(dest_rp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Rdiff.py", line 31, in
get_signature
return librsync.SigFile(rp.open("rb"), blocksize)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 1174, in
open
else: return open(self.path, mode)
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.5/site-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 324, in
Main
take_action(rps)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 280, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 343, in
Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.5/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.5/site-packages/rdiff_backup/backup.py", line 241, in
patch_and_increment
for diff in rorpiter.FillInIter(source_diffiter, dest_rpath):
File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 177,
in FillInIter
for rp in rpiter:
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 103, in
get_diffs
for dest_sig in dest_sigiter:
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 178, in
get_sigs
src_rorp, dest_rorp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 193, in
get_one_sig
sig_fp = cls.get_one_sig_fp(dest_rp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 212, in
get_one_sig_fp
return Rdiff.get_signature(dest_rp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Rdiff.py", line 31, in
get_signature
return librsync.SigFile(rp.open("rb"), blocksize)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 1174, in
open
else: return open(self.path, mode)
IOError: [Errno 13] Permission denied:
'/mnt/backup/holly/data/Work/Succurro/Finances/Succurro
Accounts.7f0100.15504.LNK'
I've tried changing the permissions on the backuped up files but because it
failed part way through a backup, when I run rdiff-backp again it regresses the
previous failed backup and resets the file permissions. As a result, the next
backup fails again and I am unable to do any more backups.
How can I clear this problem and prevent it from happening again?
Thanks,
Dean
- [rdiff-backup-users] No Permission IOError,
Dean Cording <=