[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Upon backup: OSError: [Errno 2] No such file or dir
From: |
Christian Vest Hansen |
Subject: |
[rdiff-backup-users] Upon backup: OSError: [Errno 2] No such file or directory |
Date: |
Mon, 20 Oct 2008 12:52:55 +0200 |
Hi.
I'm trying to back up to a local CIFS mount directory, but the backup
process fails after running for a while.
I mount my backup directory in fstab like this:
//beefy/Users /mnt/beefy_backup cifs
credentials=/home/me/.smb_credentials,users,uid=1000,gid=1000,dir_mode=0777,file_mode=0777
0 0
And the command I tried to use for making my backup looks like this:
$ rdiff-backup --exclude-globbing-filelist /home/me/.rdiff-exclude
--exclude-special-files /home/me /mnt/beefy_backup/me/Backup/
The Backup directory above is completely empty when I start the backup
process. It runs for 15 minutes or so until it crashes with the
following dying words (complete output):
Warning: hard linking not supported by filesystem at
/mnt/beefy_backup/me/Backup/rdiff-backup-data
ListError .dbus [Errno 13] Permission denied: '/home/me/.dbus'
Exception '[Errno 2] No such file or directory' raised of class '<type
'exceptions.OSError'>':
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
302, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
322, in Main
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
278, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
344, in Backup
backup.Mirror(rpin, rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py",
line 38, in Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py",
line 225, in patch
ITR(diff.index, diff)
File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py",
line 281, in __call__
last_branch.fast_process(*args)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py",
line 524, in fast_process
rpath.rename(tf, mirror_rp)
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line
252, in rename
else: rp_source.conn.os.rename(rp_source.path, rp_dest.path)
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
302, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
322, in Main
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
278, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
344, in Backup
backup.Mirror(rpin, rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py",
line 38, in Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py",
line 225, in patch
ITR(diff.index, diff)
File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py",
line 281, in __call__
last_branch.fast_process(*args)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py",
line 524, in fast_process
rpath.rename(tf, mirror_rp)
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line
252, in rename
else: rp_source.conn.os.rename(rp_source.path, rp_dest.path)
OSError: [Errno 2] No such file or directory
That is the complete output from running the command above. The first
two lines seem unrelated because they were written several minutes
before the two trace-backs.
My rdiff-backup version is 1.1.15.
Any clues on how to resolve this?
--
Venlig hilsen / Kind regards,
Christian Vest Hansen.
- [rdiff-backup-users] Upon backup: OSError: [Errno 2] No such file or directory,
Christian Vest Hansen <=