BackupPC-users

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

2011-04-06 10:13:55
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 16:11:55 +0200
>-----Original Message-----
>From: Bowie Bailey [mailto:Bowie_Bailey AT BUC DOT com]
>Sent: Wednesday, April 06, 2011 3:44 PM
>To: backuppc-users AT lists.sourceforge DOT net
>Subject: Re: [BackupPC-users] Making errors in log stand out
>
>>
>> BackupPC::Lib->new failed
>> 2011-04-06 15:31:30 User root requested backup of machnnn.x.y.z
>(machnnn.x.y.z)
>> Bareword found where operator expected at /usr/lib/BackupPC/Lang/en.pm line
1238, near ""<font color="red"
>>      (Missing operator before red?)
>> String found where operator expected at /usr/lib/BackupPC/Lang/en.pm line
1238, near "red">backup failed</font>""
>> Couldn't execute language file /usr/lib/BackupPC/Lang/en.pm: syntax error at
/usr/lib/BackupPC/Lang/en.pm line 1238, near ""<font color="red"
>> BackupPC::Lib->new failed
>>
>> Seems like BPC doesn't quite like it. If this doesn't belong in
>usr/lib/BackupPC/Lang/en.pm, where else would it belong better?
>
>I think you just need to escape the quotes.  Try this:
>
>$Lang{Reason_backup_failed}  = "backup <font color=\"red\">failed</font>";

Thanks Bowie. Seemed to have done the trick, but I don't see anything red in the
logs. 8-/ Checked all logs, the machine specific as well as the general summary
log.

2011-04-06 16:05:43 User root requested backup of machnnn.x.y.z (machnnn.x.y.z)
2011-04-06 16:05:44 Started incr backup on machnnn.x.y.z (pid=31858,
share=Profiles)
2011-04-06 16:05:49 Backup failed on machnnn.x.y.z (inet connect: Connection
refused)

I turned off DeltaCopy on the Windows Server in order to get a "backup
failed"-message, and then I requested a manual incremental backup of machnnn.
The above message is what I get in the general/summary log.

-- 
/Sorin



------------------------------------------------------------------------------
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/