[GRLUG] Hosting ideas

Steve Romanow slestak989 at gmail.com
Sun Mar 23 20:55:15 EDT 2008


Michael Mol wrote:
> On Sat, Mar 22, 2008 at 6:08 PM, Douglas Peter Sculley
> <dsculley at gmail.com> wrote:
>   
>> "nice" processes where applicable in your script:
>>
>> $ nice -n 19 command
>>
>> If rsync is available on both ends you can use rsync with a bandwidth limit
>> over ssh:
>>
>> $ rsync -av -e ssh --bwlimit=10 foo:src/bar/ /data/tmp
>>     
>
> Nice.
>
> My local backup script was essentially
>
> ssh user at domain mysqldump -h "$DBHOST" -u "$DBUSER"
> "--password=$DBPASS" "$DBNAME" |gzip > "$DAILYS/db/$(date +%Y%m%d).gz"
> rsync -r user at domain:public_html/rosettacode.org "$RCDAILYS/site"
>
>   
Michael,

What part of this is expensive?  What about waiting until you get it 
down to your backup server to compress it?  It will take more time, but 
if it allows the system to not error out, may work.
Just a thought.

Steve


More information about the grlug mailing list