I installed BackupPC-3.2.1-6.el5 on CentOS 5 from EPEl with: # yum install BackupPC When starting the service, backuppc complains: # service backuppc start Starting BackupPC: [ OK ] BackupPC: WARNING: Your BackupPC $Conf{TopDir} is not listed in the locate BackupPC: database configuration's PRUNEPATHS. This may cause all of your BackupPC: backed up files to be indexed! In /etc/updatedb I have: PRUNEPATHS = "... /usr/com/BackupPC" I'm not familiar with RPM packaging but tried to read the spec file and I found: # add BackupPC backup directories to PRUNEPATHS in locate database if [ -w %{_updatedb_conf} ]; then grep ^PRUNEPATHS %{_updatedb_conf} | grep %{_sharedstatedir}/%{name}>/dev/null if [ $? -eq 1 ]; then sed -i '\@PRUNEPATHS@s@"$@ '%{_sharedstatedir}/%{name}'"@' %{_updatedb_conf} fi fi %{_sharedstatedir} expands to %{_prefix}/com in EPEL 4 & 5 as stated here: https://fedoraproject.org/wiki/Archive:PackagingDrafts/RPMMacros_sharedstatedir_optflags_and_admonitions Adding on top of the spec file the following line maybe can resolve the issue: %define _sharedstatedir /var/lib Don't know if this works (didn't try) neither if this is the most correct way. Trivial workaround: PRUNEPATHS = "... /var/lib/BackupPC"
What is $Conf{TopDir} set to in your backuppc configuration?
(In reply to comment #1) > What is $Conf{TopDir} set to in your backuppc configuration? Ok, nevermind, I see in Fedora that _sharedstatedir is defined as /var/lib but in RHEL it's defined as %{_prefix}/com (/usr/com). I'm not sure why yet.
BackupPC-3.2.1-7.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-7.fc16
BackupPC-3.2.1-7.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-7.fc15
BackupPC-3.2.1-7.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-7.el6
BackupPC-3.2.1-7.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-7.el5
Package BackupPC-3.2.1-7.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing BackupPC-3.2.1-7.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-0203/BackupPC-3.2.1-7.el5 then log in and leave karma (feedback).
I can't test this extensively, but I installed it and works for me.
BackupPC-3.2.1-7.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
BackupPC-3.2.1-7.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
BackupPC-3.2.1-7.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
BackupPC-3.2.1-7.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
Hello guys, [root@]# /etc/init.d/backuppc restart Shutting down BackupPC: [ OK ] Starting BackupPC: [ OK ] BackupPC: WARNING: Your BackupPC $Conf{TopDir} is not listed in the locate BackupPC: database configuration's PRUNEPATHS. This may cause all of your BackupPC: backed up files to be indexed! I have just solve this problem in a few steps. 1- look at your file " config.pl " in the " /etc/BackupPC " directory and try to find the directory completed after " $Conf{TopDir} = " for me it is " '/var/lib/BackupPC/' ; " 2- paste this path in the file " /etc/updatedb.conf " like this : RUNEPATHS = "/afs /media /net /sfs /tmp /udev /var/spool/cups /var/spool/squid /var/tmp /var/lib/BackupPC/ /etc/BackupPC/" ( I have also added the config directory ) 3- Save and restart service. [root@]# /etc/init.d/backuppc restart Shutting down BackupPC: [ OK ] Starting BackupPC: [ OK ] It works ! Have a nice day. Tommy DEVOYE Network Admin