Re: [BackupPC-users] Bizarre form of cpool corruption.
2010-12-07 02:35:05
Robin,
> Nope; I'm a big tab completion user, so I would have seen it. ;)
>
> $ ls -li /backups/cpool/1/5/c/15c0e4b08058ef3704b8fc24887e2bcc*
> 255523133 -rw-r----- 3 backuppc backuppc 27 Nov 22 19:33
> /backups/cpool/1/5/c/15c0e4b08058ef3704b8fc24887e2bcc
Hmmm. I'm not familiar with Jeffrey's zLib code. What happens
when you compute the digest of this pool file? Ie:
perl /tmp/bpctest.pl /backups/cpool/1/5/c/15c0e4b08058ef3704b8fc24887e2bcc
Here is another script that computes the BackupPC digest. You might need
to modify the library paths.
Craig
######################################################################
#!/bin/perl
use strict;
use lib "/usr/local/BackupPC/lib";
use BackupPC::Lib;
use BackupPC::FileZIO;
die("BackupPC::Lib->new failed\n") if ( !(my $bpc = BackupPC::Lib->new) );
while ( @ARGV ) {
my $md5 = Digest::MD5->new;
my($data, $fileSize, $d, $r, $fh);
if ( !defined($fh = BackupPC::FileZIO->open($ARGV[0], 0, 1)) ) {
print(STDERR "$0: can't open $ARGV[0]\n");
exit;
}
$fh->read(\$data, 1048576);
$fileSize += length($data);
while ( ($r = $fh->read(\$d, 1048576)) > 0 ) {
$fileSize += $r;
}
$fh->close();
my $digest = $bpc->Buffer2MD5($md5, $fileSize, \$data);
print("$digest $ARGV[0]\n");
shift @ARGV;
}
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [BackupPC-users] Bizarre form of cpool corruption., (continued)
- Re: [BackupPC-users] Bizarre form of cpool corruption., Craig Barratt
- Re: [BackupPC-users] Bizarre form of cpool corruption., Robin Lee Powell
- Re: [BackupPC-users] Bizarre form of cpool corruption.,
Craig Barratt <=
- Re: [BackupPC-users] Bizarre form of cpool corruption., Robin Lee Powell
- Re: [BackupPC-users] Bizarre form of cpool corruption., Jeffrey J. Kosowsky
- Re: [BackupPC-users] Bizarre form of cpool corruption., Robin Lee Powell
- Re: [BackupPC-users] Bizarre form of cpool corruption., Holger Parplies
- Re: [BackupPC-users] Bizarre form of cpool corruption., Jeffrey J. Kosowsky
- Re: [BackupPC-users] Bizarre form of cpool corruption., Les Mikesell
- Re: [BackupPC-users] Bizarre form of cpool corruption., Holger Parplies
- Re: [BackupPC-users] Bizarre form of cpool corruption., Jeffrey J. Kosowsky
- Re: [BackupPC-users] Bizarre form of cpool corruption., Robin Lee Powell
- Re: [BackupPC-users] Bizarre form of cpool corruption., Craig Barratt
|
|
|