Re: OT: rsync issues

DataZap <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
Hi,

Thankyou for emailing. I am sorry that it has taken me this long to get
back to you.

I think that this is an interesting idea and will probably provide the
best solution. I think that I understand how to use find, but wc doesn't
that give a word count.  Could you give me an example of how to do this?

Thanks,
Al


On Sat, 14 Apr 2007, Stefan 'Kaishakunin' Schumacher wrote:

> Date: Sat, 14 Apr 2007 10:59:57 +0200
> From: Stefan 'Kaishakunin' Schumacher <[email protected]>
> To: DataZap <[email protected]>
> Cc: [email protected]
> Subject: Re: OT: rsync issues
>
> Also sprach DataZap ([email protected])
> > 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?
>
> Rsync supports excellent include/exclude options with RegExes. You
> just have to generate those lists to copy the data piecewise to the
> destination.
>
> You could use find(1) and wc to generate lists that work.
>
> --
> PGP FPR: CF74 D5F2 4871 3E5C FFFE  0130 11F4 C41E B3FB AE33
> http://www.net-tex.de
> http://www.cryptomancer.de
> --
> Jeder wird als Faust geboren, um alles zu erfassen, alles zu erproben, alles
> auszudrücken. Daß Faust Gelehrter wurde, dafür sorgten die Fehler seiner
> Vorgänger und seiner Zeitgenossen.
> Boris Pasternak, Doktor Schiwago
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.