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

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

Re: [rdiff-backup-users] Missing files after rdiff-backup


From: Wolfe Maykut
Subject: Re: [rdiff-backup-users] Missing files after rdiff-backup
Date: Tue, 5 Aug 2003 11:52:53 -0700

    Ben> If I remember correctly, for some reason rdiff-backup failed
    Ben> to copy some files from the previous session.  The complaints
    Ben> about metadata are for these missing files.

        Ok.  Actually, I figured this one out.  =)  I still don't know
why those files didn't copy over, and similar files were not copied in
the new version.

    Ben> The traceback you gave looks like it was from a session that
    Ben> was run after the previous one failed.  How did that one
    Ben> fail?  I can't tell much what is happening.  It is possible
    Ben> to take it at face value - maybe a gzip CRC check failed, but
    Ben> that seems unlikely, or caused by a previous problem.

        Ach, good eye.  I should have mentioned that.

        I don't know why it failed.  The error log reports lots of:

UpdateError etc/oldmaps/bkp/vol/vol0/scharp/3efa75c0 File changed from regular
file before signature

        ...types of errors.  I have stdout emailed to me [full include
below], and the interesting bit seems to be:

IOError: [Errno 2] No such file or directory:
'/backups/rdiff-backup-data/increments/scratch/1.2003-07-12T18:00:01-07:00.missing'
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/backups/rdiff-backup-data/error_log.2003-08-01T18:00:02-07:00.data.gz',
mode 'wb' at 0x81b2660 0x81e33c4>> ignored

        So, what does this mean?  One of the necessary files is
missing?  How can I fix that?

    WM> 3) (unrelated) I have a host of these errors when I run:
    WM> UpdateError
    WM> analysis/mathmod/intdata/R/paramecium/lme/weight/weight.r File
    WM> changed from regular file before signature
    WM> ...even though the timestamp on this file hasn't changed since
    WM> a week before rdiff-backup was run.

    Ben> Not sure.  Are these errors from the second session that
    Ben> failed?  How did it fail?

        Yes, these were from the session that failed.  However, I also
get them when the session does not fail.  Are they normal?

    Stelios> I have not followed the thread but one possible reason if
    Stelios> the files are on a windows 2000 etc host is due to
    Stelios> modification times in windows having a 2 second variation
    Stelios> due to " The timestamp on fat/vfat systems is the actual
    Stelios> time and date which means that there was only 5 bits left
    Stelios> for the seconds so it has a granularity of 2 seconds.  " 
    Stelios> (I got this from a news posting, look in google)

        Good thought, but nope, these are created on a sun solaris
system, and the timestamp shows that they haven't been changed since
before rdiff-backup started running.

        Thanks for all the help,

                --Wolfe





Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 24, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/local/lib/python2.2/site-packages/rdiff_backup/Main.py", line 244, 
in Main
    take_action(rps)
  File "/usr/local/lib/python2.2/site-packages/rdiff_backup/Main.py", line 217, 
in take_acti
on
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/local/lib/python2.2/site-packages/rdiff_backup/Main.py", line 258, 
in Backup
    backup.Mirror_and_increment(rpin, rpout, incdir)
  File "/usr/local/lib/python2.2/site-packages/rdiff_backup/backup.py", line 
47, in Mirror_a
nd_increment
    DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
  File "/usr/local/lib/python2.2/site-packages/rdiff_backup/backup.py", line 
209, in patch_a
nd_increment
    ITR(diff.index, diff)
 File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line 
279, in __cal
l__
    last_branch.fast_process(*args)
  File "/usr/local/lib/python2.2/site-packages/rdiff_backup/backup.py", line 
540, in fast_pr
ocess
    inc = self.inc_with_checking(tf, rp, self.get_incrp(index))
  File "/usr/local/lib/python2.2/site-packages/rdiff_backup/backup.py", line 
526, in inc_wit
h_checking
    try: inc = increment.Increment(new, old, inc_rp)
  File "/usr/local/lib/python2.2/site-packages/rdiff_backup/increment.py", line 
40, in Incre
ment
    if not mirror.lstat(): incrp = makemissing(incpref)
  File "/usr/local/lib/python2.2/site-packages/rdiff_backup/increment.py", line 
51, in makem
issing
    incrp.touch()
  File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 
694, in touch
    self.conn.open(self.path, "w").close()
IOError: [Errno 2] No such file or directory: 
'/backups/rdiff-backup-data/increments/scratch
/1.2003-07-12T18:00:01-07:00.missing'
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method GzipFil
e.__del__ of <gzip open file 
'/backups/rdiff-backup-data/error_log.2003-08-01T18:00:02-07:00
.data.gz', mode 'wb' at 0x81b2660 0x81e33c4>> ignored




reply via email to

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