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 <[email protected]> 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
>    [email protected]
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> 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
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to