rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] MacOS X problems


From: Scott Bender
Subject: Re: [rdiff-backup-users] MacOS X problems
Date: Sat, 31 May 2003 22:32:36 -0400

Sorry to keep bugging you about this. Is there anything I can do to help
resolve this? I'm a programmer and I know python well, although I haven't
taken the time to review enough of you code to fix the problem myself. If
you can point me in the right direction, I may be able to resolve it.

thnks,
-=Scott


----- Original Message -----
From: "Scott Bender" <address@hidden>
To: "Ben Escoto" <address@hidden>
Cc: <address@hidden>
Sent: Tuesday, May 27, 2003 12:38 PM
Subject: Re: [rdiff-backup-users] MacOS X problems


>
> Here's the end of the log with verbosity 7:
>
> Processing changed file var/spool/imap/m/user/matt/IT Director/1204.
> Writing file object to
> /usr/local/backups/beach/var/spool/imap/m/user/matt/;073;084
> ;068irector/rdiff-backup.tmp.272
> Copying attributes from ('var', 'spool', 'imap', 'm', 'user', 'matt',
> 'IT Director', '1204.') to
> /usr/local/backups/beach/var/spool/imap/m/user/matt/;073;084
> ;068irector/rdiff-backup.tmp.272
> Setting time of
> /usr/local/backups/beach/var/spool/imap/m/user/matt/;073;084
> ;068irector/rdiff-backup.tmp.272 to 1041603415
> Renaming /usr/local/backups/beach/var/spool/imap/m/user/matt/;073;084
> ;068irector/rdiff-backup.tmp.272 to
> /usr/local/backups/beach/var/spool/imap/m/user/matt/;073;084
> ;068irector/1204.
> Processing changed file var/spool/imap/m/user/matt/IT Director/1205.
> /usr/local/backups/beach/var/spool/imap/m/user/matt/IT Director/1202.
> /usr/local/backups/beach/var/spool/imap/m/user/matt/;073;084
> ;068irector/rdiff-backup.tmp.273
> Traceback (most recent call last):
>    File "/usr/bin/rdiff-backup", line 24, in ?
>      rdiff_backup.Main.Main(sys.argv[1:])
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
> 236, in Main
>      take_action(rps)
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
> 210, in take_action
>      elif action == "backup": Backup(rps[0], rps[1])
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
> 253, in Backup
>      backup.Mirror(rpin, rpout)
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
> 36, in Mirror
>      DestS.patch(dest_rpath, source_diffiter)
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
> 193, in patch
>      ITR(diff.index, diff)
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py",
> line 275, in __call__
>      last_branch.fast_process(*args)
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
> 395, in fast_process
>      if self.patch_to_temp(rp, diff_rorp, tf):
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
> 409, in patch_to_temp
>      Hardlink.link_rp(diff_rorp, new, self.basis_root_rp)
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/Hardlink.py",
> line 174, in link_rp
>      dest_rpath.hardlink(dest_link_rpath.path)
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
> 679, in hardlink
>      self.conn.os.link(linkpath, self.path)
> OSError: [Errno 2] No such file or directory
> Exception exceptions.TypeError: "'NoneType' object is not callable" in
> <bound method GzipFile.__del__ of <gzip open file
> '/usr/local/backups/beach/rdiff-backup-data/error_log.2003-05-
> 27;08412:06:48-04:00.data.gz', mode 'wb' at 0x38c910 0x38cd10>> ignored
> Traceback (most recent call last):
>    File "/usr/bin/rdiff-backup", line 24, in ?
>      rdiff_backup.Main.Main(sys.argv[1:])
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
> 236, in Main
>      take_action(rps)
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
> 208, in take_action
>      connection.PipeConnection(sys.stdin, sys.stdout).Server()
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
> line 331, in Server
>      self.get_response(-1)
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
> line 293, in get_response
>      try: req_num, object = self._get()
>    File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
> line 216, in _get
>      raise ConnectionReadError("Truncated header string (problem "
> rdiff_backup.connection.ConnectionReadError: Truncated header string
> (problem probably originated remotely)
>
>
>
> Here's the command line:
> ['rdiff-backup', '--chars-to-quote', 'A-Z', '--force',
> '--terminal-verbosity', '
> 7', '--ssh-no-compression', '--include', '/var/spool/imap',
> '--include', '/web',
>   '--include', '/home/sbender', '--include', '/home/pam', '--include',
> '/home/kip
> ', '--include', '/var/lib/pgsql/backups/backup.sql.bz2', '--include',
> '/etc/alia
> s', '--include', '/etc/imapd.conf', '--include', '/etc/xinetd.d',
> '--include', '
> /etc/iptables.sh', '--include', '/etc/cyrus.conf', '--include',
> '/etc/named.conf
> ', '--include', '/var/named', '--include', '/etc/passwd', '--include',
> '/etc/htt
> pd/conf', '--include', '/sbin/backup.sh', '--include', '/etc/group',
> '--exclude-
> regexp', '^.saves-', '--exclude-regexp', 'spam.log',
> '--exclude-regexp', 'SpamBa
> ckup', '--exclude', '/', 'address@hidden::/',
> '/usr/local/backups/beach']
>
>
> I'm using rdiff-backup-0.11.4. The machine being backed up is "Linux
> xxxxxxx 2.4.9-31 #1 Tue Feb 26 06:53:37 EST 2002 i686 unknown". It's
> being backup up to: "Darwin xxxxxxxxxx 6.6 Darwin Kernel Version 6.6:
> Thu May  1 21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC
> Power Macintosh powerpc".
>
> thanks,
> -=Scott
>
>
> On Saturday, May 24, 2003, at 04:19  AM, Ben Escoto wrote:
>
> >>>>>> "SB" == Scott Bender <address@hidden>
> >>>>>> wrote the following on Thu, 22 May 2003 21:51:22 -0400
> >
> >   SB> It seems to be working better with 0.11.4. But, I'm getting the
> >   SB> following error:
> >     ...
> >   SB> OSError: [Errno 2] No such file or directory
> >
> > Could you run it on a higher verbosity setting (-v7 maybe) and send me
> > the relevant information?  In particular I would like to know what
> > file it is crashing on and (if possible) what particular configuration
> > causes it to crash.  Also tell me what options you are using.
> >
> >   SB> I'm also unable to run again after this happens. I get the
> >   SB> following message, which may have to do with the file names in
> >   SB> rdiff-backup-data being quoted.
> >
> > Actually that's what's supposed to happen when an initial backup
> > fails.  As it says, just remove the rdiff-backup-data directory.
> > There shouldn't be any important information in it since there are no
> > increments produced until the second backup.  It doesn't do in
> > automatically in case there is some important information and you want
> > to try recovering it manually.
> >
> >
> > --
> > Ben Escoto
> > <mime-attachment>
>
>
>
> _______________________________________________
> rdiff-backup-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/rdiff-backup-users
>
>
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]