|
From: | Nathan Aschbacher |
Subject: | [rdiff-backup-users] Error When Backing up to samba share on ubuntu 8.10 via smbfs on Mac OS X |
Date: | Sat, 21 Mar 2009 16:21:28 -0700 |
I've tried several versions of rdiff-backup (up through 1.3.3) and several versions of Python (up through 2.6.1). I believe the issues relates to symbolic links based on the error. It seems to fail when doing its destination capability tests when it fails to delete the temp symlink. When I go and look at what rdiff-backup creates before dying the file "/Volumes/For_Rent/Desktop/rdiff-backup-data/rdiff-backup.tmp.0/symlinked_file2" is a broken symlink to a file "symlinked_file1" that doesn't exist. Backups over SSH, using sshfs and MacFUSE, and to the local HD all work fine. So this seems like a strange interaction between rdiff-backup and Samba. Whenever I try to perform a backup to the samba share on my fileserver over smbfs from my Macbook I get the following error: Nathans-MacBook:~ nathan$ rdiff-backup --force -v5 ~/Desktop/ /Volumes/For_Rent/Desktop/ Using rdiff-backup version 1.2.2 Unable to import module posix1e from pylibacl package. POSIX ACLs not supported on filesystem at /Users/nathan/Desktop Unable to import win32security module. Windows ACLs not supported by filesystem at /Users/nathan/Desktop escape_dos_devices not required by filesystem at /Users/nathan/Desktop ----------------------------------------------------------------- Detected abilities for source (read only) file system: Access control lists Off Extended attributes On Windows access control lists Off Case sensitivity Off Escape DOS devices Off Mac OS X style resource forks On Mac OS X Finder information On ----------------------------------------------------------------- Warning: hard linking not supported by filesystem at /Volumes/For_Rent/Desktop/rdiff-backup-data Unable to import module posix1e from pylibacl package. POSIX ACLs not supported on filesystem at /Volumes/For_Rent/Desktop/rdiff-backup-data/rdiff-backup.tmp.0 Unable to import win32security module. Windows ACLs not supported by filesystem at /Volumes/For_Rent/Desktop/rdiff-backup-data/rdiff-backup.tmp.0 Exception '[Errno 2] No such file or directory: '/Volumes/For_Rent/Desktop/rdiff-backup-data/rdiff-backup.tmp.0/symlinked_file2'' raised of class '<type 'exceptions.OSError'>': File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 280, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 334, in Backup rpout.conn.fs_abilities.backup_set_globals(rpin, force) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py", line 830, in backup_set_globals dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py", line 162, in init_readwrite self.set_symlink_perms(subdir) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py", line 539, in set_symlink_perms sym_dest.delete() File "/opt/local/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 1055, in delete else: self.conn.os.unlink(self.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/lib/python2.5/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 280, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/Main.py", line 334, in Backup rpout.conn.fs_abilities.backup_set_globals(rpin, force) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py", line 830, in backup_set_globals dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py", line 162, in init_readwrite self.set_symlink_perms(subdir) File "/opt/local/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py", line 539, in set_symlink_perms sym_dest.delete() File "/opt/local/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 1055, in delete else: self.conn.os.unlink(self.path) OSError: [Errno 2] No such file or directory: '/Volumes/For_Rent/Desktop/rdiff-backup-data/rdiff-backup.tmp.0/symlinked_file2' |
[Prev in Thread] | Current Thread | [Next in Thread] |