BackupPC-users

Re: [BackupPC-users] What's the best place to add 'nice' to backups?

2009-12-20 23:44:49
Subject: Re: [BackupPC-users] What's the best place to add 'nice' to backups?
From: Shawn Perry <redmopml AT comcast DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 20 Dec 2009 21:42:04 -0700
Here's what I use.  It makes niceness 90 and sets disk priority to idle.

$sshPath -q -x -l root $host /usr/bin/nice -n 19 /usr/bin/ionice -c3 $rsyncPath $argList+

On Sun, Dec 20, 2009 at 8:29 PM, Les Mikesell <lesmikesell AT gmail DOT com> wrote:
Jeffrey J. Kosowsky wrote:
> Given that my home server is a bit underpowered and used for other things,
> I would like to nice backups to run at lower priority.
>
> Is the best place just to prepend 'nice -n' to the beginning of
> $Conf{RsyncClientCmd}? (assuming I am using rsync method).
>
> More generally, it might be a nice feature to be able to define a
> 'nice' level globally for BackupPC in the config file.

Usually there's more of a problem with disk contention than CPU so nice probably
won't help much.

--
  Les Mikesell
   lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
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/

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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>