Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: edb on August 13, 2014, 10:45:36 PM
-
Has anyone figured out how to resolve this error when restarting BackupPC
[root@backuppc ~]# service 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!
Appreciate any input .... is it something I need to worry about or just cosmetic?
-edb
-
That's something I never took time to fixe in the contrib itself. To remove the warning, you should create a custom template /etc/e-smith/templates-custom/etc/updatedb.conf/10conf (copy the default /etc/e-smith/templates/etc/updatedb.conf/10conf) and add the directory /var/lib/BackupPC to the PRUNEPATHS list, then expand-template /etc/updatedb.conf
-
Ok I was going to do just that anyway, but you just confirmed it for me.
So thank you very much Daniel I will certainly do that now!
Nice quick answer :smile:
-
Yup ... that did the trick!
-
Yup ... that did the trick!
could you update the wiki page to record your issue and the solution, thanks
-
Ok, it has been updated.
-
great :)
-
One more question for Daniel,
Certain function like "/usr/share/BackupPC/bin/BackupPC_dump -f -v hostname" require you to su to the backuppc user but when you attempt that it gives the error.
[root@backuppc ~]# /usr/share/BackupPC/bin/BackupPC_dump -f -v hostname
/usr/share/BackupPC/bin/BackupPC_dump: Wrong user: my userid is 0, instead of
4 (backuppc)
Please su backuppc first
BackupPC::Lib->new failed
[root@backuppc ~]# su backuppc
This account is currently not available.
[root@backuppc ~]#
Any idea why that is? This is the same when you try to run a manual nightly cleanup.
Thanks
-edb
-
Cancel that last question as I found the answer on the wiki.
su -s /bin/bash backuppc