BackupPC-users

Re: [BackupPC-users] CmdQueueNice

2012-06-06 07:16:19
Subject: Re: [BackupPC-users] CmdQueueNice
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 06 Jun 2012 21:14:52 +1000
On 06/06/12 20:18, Member Horvath wrote:
> Hi,
>
> My backuppc server suffers high cpu usage during backups.
> I'm running Debian stable and backupc 3.1.0-9.1
> I noticed a config option in 3.2
> $Conf{CmdQueueNice} = 10; (http://backuppc.sourceforge.net/faq/BackupPC.html)
>
> So I upgraded my backuppc to the package currently available in wheezy (3.2.1-3)
> However I still don't see this option available.
> In addition I now get an error when starting backuppc.
>
> "Starting backuppc...Use of qw(...) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
> Use of qw(...) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1413."
>
> I have disabled deprecated errors by following the advice in this link
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650522
>
> My main requirement however is to get have the ability to nice my backuppc process with (I'm hoping) $Conf{CmdQueueNice}.
>
> Any advice?


My guess is that you ignored the package managers suggestion to merge the new config.pl file with your old modified config.pl file, thus you are still using the old one which doesn't add any of the new options. You probably can just add the required config option, or better, compare the old and new, and manually merge your modifications into the new config file.

Even better, would be if backuppc could support reading config file snippets from a directory, that way all the local changes could be stored in separate files, and the package could upgrade the config.pl file without overwriting local changes.

Regards,
Adam

--
Adam Goryachev
Website Managers
www.websitemanagers.com.au

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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/
<Prev in Thread] Current Thread [Next in Thread>