Hi
i have several backuppc installs using debian and recently i
installed one using archlinuxx. After some days and some backups i
notice that the pool size statistics are always zero. yet on debian
i didnt had any problems with the same backuppc version (3.2.1)
After some research i found that debian add one patch for
enabling support for io-dirent 0.05. I applied that patch and it now
works.
So i think that this patch should be applied to the main
backup source.
Here is the patch:
--- backuppc-3.2.1.orig/lib/BackupPC/Lib.pm
+++ backuppc-3.2.1/lib/BackupPC/Lib.pm
@@ -495,7 +495,8 @@
}
if ( $IODirentOk ) {
@entries = sort({ $a->{inode} <=> $b->{inode} } readdirent($fh));
- map { $_->{type} = 0 + $_->{type} } @entries; # make type numeric
+ #map { $_->{type} = 0 + $_->{type} } @entries; # make type numeric
+ map { $_->{type} = 0 + $_->{type}; $_->{type} = undef if ($_->{type}
eq BPC_DT_UNKNOWN); } @entries; # make type numeric, unset unknown types
} else {
@entries = map { { name => $_} } readdir($fh);
}
Taken from debian:
http://ftp.de.debian.org/debian/pool/main/b/backuppc/backuppc_3.2.1-3.diff.gz
Please consider merging it
Thanks for backuppc!
higuita
ps: how about adding the debian rdd patch to build the space used graph?
Its not required, but nice, specially to show to the boss and others. :)
--
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger. It works the same in every country.
-- Hermann Goering, Nazi and war criminal, 1883-1946
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________ BackupPC-devel mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
