Subject: Re: OT: rsync issues
To: DataZap <az@datazap.net>
From: David Brownlee <abs@NetBSD.org>
List: netbsd-help
Date: 04/14/2007 00:48:11
On Fri, 13 Apr 2007, DataZap wrote:

> Hi,
>
> I think that this is a little off topic, but I know that someone on this
> list probably has an answer for me. I googled, but I still can't seem to
> find an example of how to do this.
>
> I just updated rsync on both of my servers and deleted all the files off
> the backup. I was then able to backup the main server without any
> problems, but when I went to run rsync again, it gives me an out of memory
> error. What I would like to do is write a shell script that would call
> rsync, but only have it backup a small part of the files at a time until
> all of the files are backed up. I have not been able to find an example of
> this. Does anyone have any ideas on how this could be done?

 	You might have luck with typing 'unlimit' before running the
 	rsync, though if its the rsync process at the remote end that
 	is running out of memory that will be more fun. If you
 	are using a sh/ksh then you'll probably need
 	'ulimit -m $(ulimit -Hm)' to max out the memory limit.

-- 
 		David/absolute       -- www.NetBSD.org: No hype required --