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

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

Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16


From: Farkas Levente
Subject: Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16
Date: Tue, 24 Jun 2008 19:29:48 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Andrew Ferguson wrote:

On Jun 23, 2008, at 5:12 PM, Farkas Levente wrote:

what kind of proof would be enough:

# ls -l /mnt/windows; rdiff-backup --force -v5 --print-statistics --ssh-no-compression --include-globbing-filelist /etc/rdiff-backup/filelist/windows / /srv/backup/windows
total 24
drwxr-xr-x 2 root root 4096 Sep  6  2007 c
drwxr-xr-x 2 root root 4096 Sep  6  2007 d
drwxr-xr-x 2 root root 4096 Sep  6  2007 e
drwxrwxrwx 1 root root    0 Jun 23 22:00 f

Whoa! Why is 'f' so different? I doubt it is only a coincidence that 'f' is the one giving you problems...

c, d, and e all have a count of '2' for link counts, and 'f' has completely different permissions, and also a size of '0' !! I think another important question is: What does the output of `mount` look like?


Using rdiff-backup version 1.1.16

--------------[ Session statistics ]--------------
StartTime 1214254965.00 (Mon Jun 23 23:02:45 2008)
EndTime 1214254965.81 (Mon Jun 23 23:02:45 2008)
ElapsedTime 0.81 (0.81 seconds)
SourceFiles 3
SourceFileSize 0 (0 bytes)
MirrorFiles 3
MirrorFileSize 0 (0 bytes)
NewFiles 0
NewFileSize 0 (0 bytes)
DeletedFiles 0
DeletedFileSize 0 (0 bytes)
ChangedFiles 0
ChangedSourceSize 0 (0 bytes)
ChangedMirrorSize 0 (0 bytes)
IncrementFiles 0
IncrementFileSize 0 (0 bytes)
TotalDestinationSizeChange 0 (0 bytes)
Errors 5
--------------------------------------------------


rdiff-backup completed without any problems! The 5 errors above are all meaningless and should have been suppressed.

However -- it is really important to notice something else in these statistics: There are only 3 SourceFiles ! This explains why rdiff-backup deleted your back before -- the underlying filesystem is missing all of its files. When rdiff-backup executed, it faithfully mirrored the now nearly-empty directory. I bet all of your old files are in the increments directory, safely stored.



Exception '('Document', '2007', 'Hansol', 'Tectonbol', 'Jakab Tamastol pendrive', '07_0120_Hansol data', '070120 samjin lnd data', 'Samjin LND Sample', '????(?).JPG')' raised of class 'exceptions.KeyError':

Yes, this looks like a character problem. Hmm. It is completely separate from what you are seeing before and is 100% due to the Vietnamese characters.

after i downgrade to 1.1.15 the backup finish with a lots of such warning (because of the charset problem):
--------------------------------------------------
Exception '[Errno 2] No such file or directory' raised of class 'exceptions.IOError': File "/usr/lib64/python2.4/site-packages/rdiff_backup/robust.py", line 32, in check_common_error
    try: return function(*args)
File "/usr/lib64/python2.4/site-packages/rdiff_backup/rpath.py", line 1032, in append
    return self.__class__(self.conn, self.base, self.index + (ext,))
File "/usr/lib64/python2.4/site-packages/rdiff_backup/rpath.py", line 757, in __init__
    else: self.setdata()
File "/usr/lib64/python2.4/site-packages/rdiff_backup/rpath.py", line 782, in setdata
    if self.lstat(): self.conn.rpath.setdata_local(self)
File "/usr/lib64/python2.4/site-packages/rdiff_backup/rpath.py", line 1377, in setdata_local
    if Globals.eas_conn: rpath.data['ea'] = ea_get(rpath)
File "/usr/lib64/python2.4/site-packages/rdiff_backup/eas_acls.py", line 565, in rpath_ea_get
    ea.read_from_rp(rp)
File "/usr/lib64/python2.4/site-packages/rdiff_backup/eas_acls.py", line 59, in read_from_rp
    try: attr_list = rp.conn.xattr.listxattr(rp.path)

ListError mnt/windows/f/shared/Rajzok/2007/HANSOL/Epitesz/20070126/HANSOL/07_0120_Hansol data/hansol/??? Rev-3(061216)-2f.dwg [Errno 2] No such file or directory
--------------------------------------------------
BUT backup 81GB! (the time here is so small because i rerun the same script again)
--------------[ Session statistics ]--------------
StartTime 1214327017.00 (Tue Jun 24 19:03:37 2008)
EndTime 1214327157.75 (Tue Jun 24 19:05:57 2008)
ElapsedTime 140.75 (2 minutes 20.75 seconds)
SourceFiles 85306
SourceFileSize 87526611257 (81.5 GB)
MirrorFiles 85306
MirrorFileSize 87526611257 (81.5 GB)
NewFiles 0
NewFileSize 0 (0 bytes)
DeletedFiles 0
DeletedFileSize 0 (0 bytes)
ChangedFiles 12
ChangedSourceSize 0 (0 bytes)
ChangedMirrorSize 0 (0 bytes)
IncrementFiles 19
IncrementFileSize 0 (0 bytes)
TotalDestinationSizeChange 0 (0 bytes)
Errors 199
--------------------------------------------------
so something happened between 1.1.15 and 1.1.16:-(
yours.


--
  Levente                               "Si vis pacem para bellum!"




reply via email to

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