<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div><br></div><div>You could probably use CIFS, NFS or sshfs.  It wouldn't be as fast, but the memory requirements should be less.</div><div><br></div><div><br></div><div><div style="font-size:10px;color:#575757">Sent from my T-Mobile 4G LTE Device</div></div><br><br><div>-------- Original message --------</div><div>From: John Long <codeblue@inbox.lv> </div><div>Date:2016/03/25  04:10  (GMT-08:00) </div><div>To: rsync@lists.samba.org </div><div>Cc:  </div><div>Subject: Re: Memory consumption for rsync -axv --delete </div><div><br></div>On Fri, Mar 25, 2016 at 09:54:14AM +0000, John Long wrote:<br>> Hi,<br>> <br>> I have been using rsync for many years and never had any kind of problem.<br>> Lately I am running out of RAM trying to do an incremental backup to a box<br>> that only has 2G of RAM. The entire directory structure I'm mirroring is<br>> about 200G of files. A minority of subdirectories have many files.<br>> <br>> Is there a way to do an incremental backup with --delete option that does<br>> not use as much memory? Is there a way to tell rsync to use a tempfile<br>> instead of RAM for keeping tracking of whatever it does?<br>> <br>> And would it be useful to add ignores for the subdirectories I know have<br>> many files and back them up separately? Is --delete safe to use in this<br>> case, as in does --delete with --ignore somedir/ not delete files in other<br>> target dirs that are not in the ignore path?<br><br>I didn't phrase this part very well. Is --delete safe to use with --ignore,<br>meaning will rsync avoid deleting files in the ignore path on the target<br>side? I think the answer is probably yes but since I'm crashing the target<br>box with --delete I don't want to have to try this too many times.<br><br>Really I'm looking for a workaround to the high memory consumption so I can<br>sync up the file trees without exceeding the small RAM capacity of the<br>target box. Any suggestions appreciated.<br><br>Thanks,<br><br>/jl<br><br>-- <br>Please use reply-all for most replies to avoid omitting the mailing list.<br>To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync<br>Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html<br></body>