[Top][All Lists]
[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: |
Andrew Ferguson |
Subject: |
Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16 |
Date: |
Mon, 23 Jun 2008 21:06:11 -0400 |
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.
Well, there are at least two places where this problem could be: the
SMB mount, and rdiff-backup.
- What is the name of that file when you access it directly on Windows?
- What is the name of that file when you look at it from Unix?
- What options are you using to mount that directory? Codepages?
iocharset?
Please take a look at the second bullet under the CIFS entry in the FAQ:
http://www.nongnu.org/rdiff-backup/FAQ.html#cifs
There is also an entry in the Wiki about this:
http://wiki.rdiff-backup.org/wiki/index.php/BackingUpUnicodeToSmbfsMount
Andrew
- [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Farkas Levente, 2008/06/21
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Andrew Ferguson, 2008/06/21
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Farkas Levente, 2008/06/23
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Andrew Ferguson, 2008/06/23
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Farkas Levente, 2008/06/23
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Andrew Ferguson, 2008/06/23
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Farkas Levente, 2008/06/23
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16,
Andrew Ferguson <=
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Farkas Levente, 2008/06/24
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Andrew Ferguson, 2008/06/24
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Farkas Levente, 2008/06/29
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Farkas Levente, 2008/06/30
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Andrew Ferguson, 2008/06/30
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Farkas Levente, 2008/06/30
- Re: [rdiff-backup-users] one more bug in rdiff-backup-1.1.16, Farkas Levente, 2008/06/24