This is what I use in a bash script for a Grails autobuild process:
_______________________________________________________________
#!/bin/sh

# Lower the cpu priority on this and all spawned process.
renice +19 -p $$ &> /dev/null

# Lower the IO priority
ionice -c2 -n7 -p $$ &> /dev/null

# Any commands here are run at low priority
grails war

____________________________________________________________

It free's the server up quite nicely but is not remote.
You could create a wrapper script so that the real rdiff-backup is called
with this configuration.

Cheers
Gavin

iCy-fLaME wrote:
> Hi,
>
> I am use rdiff-backup from an remote server:
>
> rdiff-backup [email protected]::/remote/backup/path /local/backup/path
>
> The remote content only changes once a day, so I can have all day to
> do my backup, without worrying about content inconsistency. It usually
> completes within an hour anyway.
>
> However, I am conscious that the rdiff-backup daemon in the remote
> server is using up quite a bit of CPU  cycles. It is a rather busy
> server for it's limited hardware, I can see measurable impact on over
> all service performance during the backup.
>
> I am wondering if there is a way to run the remote rdiff-backup daemon
> in nice 19, for example, to reduce the stress it puts on the server.
>
> I would prefer not initiate the backup from the remote server, because
> the backup target host(s) address changes rather frequently.
>
> Thanks!
>
>
>
> iCy
>
>
> _______________________________________________
> rdiff-backup-users mailing list at [email protected]
> http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
>
>   


_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to