Rdiff-Backup and Samba

Jay Dylan jasonthomasagius@hotmail.com
Sun, 16 Jun 2002 06:25:07 +0000


its still barfing.. have run with every option i can think of.. this is what 
I get now .. (i've changed the source dir to a dir with very simple files 
in)

[root@localhost store]# rdiff-backup --windows-time-format --no-hard-links 
--force --no-compression -v 9  --no-resume --windows-mode 
--change-source-perms  --exclude-device-files --null-separator 
/var/www/cgi-bin/ /replnet/samba
Sun Jun 16 01:22:10 2002  Last backup dated Sun Jun 16 01:18:47 2002 was 
aborted, but we aren't resuming it.
Sun Jun 16 01:22:10 2002  Processing (Index: ()
Data: {'nlink': 2, 'gid': 0, 'uid': 0, 'mtime': 1024180040L, 'perms': 493, 
'type': 'dir', 'devloc': 18435L, 'inode': 1951L, 'size': 4096L}, Path: 
/replnet/samba
Index: ()
Data: {'nlink': 1, 'gid': 0, 'uid': 0, 'mtime': 1024186768L, 'perms': 493, 
'type': 'dir', 'devloc': 7L, 'inode': 2L, 'size': 512L}).()
Sun Jun 16 01:22:10 2002  Copying attributes from () to /replnet/samba
Sun Jun 16 01:22:10 2002  Writing checkpoint time 1024208530.37
Sun Jun 16 01:22:10 2002  Exception '[Errno 1] Operation not permitted' 
raised of class 'exceptions.OSError':
  File "/usr/bin/rdiff-backup", line 2975, in execute
    init_val = self.init_thunk()
  File "/usr/bin/rdiff-backup", line 3004, in init
    init_return_vals.append(ra.init_thunk())
  File "/usr/bin/rdiff-backup", line 3129, in init
    def init(): tf.symlink(linktext)
  File "/usr/bin/rdiff-backup", line 2417, in symlink
    self.conn.os.symlink(linktext, self.path)

Sun Jun 16 01:22:10 2002  Deleting 
/replnet/samba/rdiff-backup-data/rdiff-backup.tmp.0
Sun Jun 16 01:22:10 2002  Deleting 
/replnet/samba/rdiff-backup-data/rdiff-backup.tmp.1
Sun Jun 16 01:22:10 2002  Exception '[Errno 1] Operation not permitted' 
raised of class 'exceptions.OSError':
  File "/usr/bin/rdiff-backup", line 6018, in patch_w_datadir_writes
    SaveState.checkpoint(ITR, finalizer, dsrp)
  File "/usr/bin/rdiff-backup", line 3365, in checkpoint
    cls.record_last_file_action(last_file_rorp)).execute()
  File "/usr/bin/rdiff-backup", line 2983, in execute
    raise exc

Sun Jun 16 01:22:10 2002  ------------ Old traceback info -----------
Exception '[Errno 1] Operation not permitted' raised of class 
'exceptions.OSError':
  File "/usr/bin/rdiff-backup", line 2975, in execute
    init_val = self.init_thunk()
  File "/usr/bin/rdiff-backup", line 3004, in init
    init_return_vals.append(ra.init_thunk())
  File "/usr/bin/rdiff-backup", line 3129, in init
    def init(): tf.symlink(linktext)
  File "/usr/bin/rdiff-backup", line 2417, in symlink
    self.conn.os.symlink(linktext, self.path)
-------------------------------------------
Sun Jun 16 01:22:10 2002  Writing checkpoint time 1024208530.45
Sun Jun 16 01:22:10 2002  Renaming 
/replnet/samba/rdiff-backup-data/rdiff-backup.tmp.2 to 
/replnet/samba/rdiff-backup-data/checkpoint-data.2002-06-16T01_22_09-05_00.data
Sun Jun 16 01:22:10 2002  Touching 
/replnet/samba/rdiff-backup-data/last-file-incremented.2002-06-16T01_22_09-05_00.data
Sun Jun 16 01:22:10 2002  Touching 
/replnet/samba/rdiff-backup-data/last-file-definitive.2002-06-16T01_22_09-05_00.data
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 6779, in ?
    Globals.Main.Main(sys.argv[1:])
  File "/usr/bin/rdiff-backup", line 6488, in Main
    self.take_action(rps)
  File "/usr/bin/rdiff-backup", line 6465, in take_action
    elif self.action == "backup": self.Backup(rps[0], rps[1])
  File "/usr/bin/rdiff-backup", line 6522, in Backup
    else: HighLevel.Mirror(rpin, rpout, self.incdir, RSI)
  File "/usr/bin/rdiff-backup", line 5800, in Mirror
    DestS.patch_w_datadir_writes(dest_rpath, diffiter, inc_rpath)
  File "/usr/bin/rdiff-backup", line 6022, in patch_w_datadir_writes
    except: cls.handle_last_error(finished_dsrp, finalizer, ITR)
  File "/usr/bin/rdiff-backup", line 6018, in patch_w_datadir_writes
    SaveState.checkpoint(ITR, finalizer, dsrp)
  File "/usr/bin/rdiff-backup", line 3365, in checkpoint
    cls.record_last_file_action(last_file_rorp)).execute()
  File "/usr/bin/rdiff-backup", line 2983, in execute
    raise exc
OSError: [Errno 1] Operation not permitted
[root@localhost store]#


>From: Ben Escoto <bescoto@stanford.edu>
>To: "Jay Dylan" <jasonthomasagius@hotmail.com>
>CC: rdiff-backup@keywest.Stanford.EDU
>Subject: Re: Rdiff-Backup and Samba
>Date: Sat, 15 Jun 2002 23:04:02 -0700
>
> >>>>> "JD" == Jay Dylan <jasonthomasagius@hotmail.com>
> >>>>> wrote the following on Sun, 16 Jun 2002 05:19:44 +0000
>
>   JD> '[Errno 1] Operation not permitted' raised of class
>   JD> 'exceptions.OSError':
>   JD> File "/software/rdiff-backup-0.7.6/rdiff-backup", line 2412, in
>   JD> symlink self.conn.os.symlink(linktext, self.path)
>
>Looks like the problem is that a symlink couldn't be created.
>
>
>--
>Ben Escoto
><< attach3 >>




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com