BackupPC-users

Re: [BackupPC-users] Making errors in log stand out

2011-04-06 08:56:54
Subject: Re: [BackupPC-users] Making errors in log stand out
From: "Sorin Srbu" <sorin.srbu AT orgfarm.uu DOT se>
To: "'General list for user discussion, questions and support'" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 6 Apr 2011 14:54:53 +0200
>-----Original Message-----
>From: Sorin Srbu [mailto:sorin.srbu AT orgfarm.uu DOT se]
>Sent: Wednesday, April 06, 2011 12:25 PM
>To: sorin.srbu AT orgfarm.uu DOT se; 'General list for user discussion, 
>questions
>and support'
>Subject: RE: [BackupPC-users] Making errors in log stand out
>
>>>> Are we speaking of the file /usr/share/backuppc/cgi-bin/BackupPC_Admin,
>>>> referred to in /etc/httpd/conf.d/backuppc.conf?
>>>
>>>Sorry. Try these:
>>>
>>>/usr/share/backuppc/lib/BackupPC/CGI/
>>>/usr/share/backuppc/lib/BackupPC/Lang/
>>
>>Hmm... I don't have those folders. Running a locate on en.pm and going for 
>>lunch
>>in the meantime. 8-)
>
>Found it in /usr/lib/BackupPC/Lang/en.pm. This was a standard install, so I 
>guess
>this path is the default for installing BPC.

Was looking into changing the log message "2011-02-09 22:01:48 Backup failed on
mach059.x.y.z (Child exited prematurely)" so I looked for the text "failed" 
using

        # find -iname "*.pm" | xargs grep -iR "failed" > failed.log.txt

in the /usr/lib/BackupPC. Nothing was found so I went to / and did the same
search. I had some better success here, but nothing that stands out as a likely
suspect. The closest I get is

        ./usr/lib/BackupPC/Lang/en.pm:$Lang{Reason_backup_failed}  = "backup 
failed";

I'm not quite sure how to add the red html tags, referenced earlier to this.

Can somebody with a better knowledge than me in this help some more?

Thanks.
-- 
/Sorin

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
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/