Is it possible to set max file size on target?

2011-07-19 Thread Harrison Mak
Hi, I'm trying to prevent files larger than a certain size to be backed-up on my server. rsync has an option --max-size that lets you control the file transfer size. However, this can be changed by the client. I was wondering if this option can be set on the server side, so that I can be sure m

Re: max file size

2009-11-13 Thread Heinz-Josef Claes
On Fri, 13 Nov 2009 13:33:08 -0500 Matt McCutchen wrote: > On Fri, 2009-11-13 at 12:36 +0100, Heinz-Josef Claes wrote: > > On Fri, 13 Nov 2009 01:38:48 -0500 > > Matt McCutchen wrote: > > > On Mon, 2009-11-09 at 18:20 +0100, Heinz-Josef Claes wrote: > > > > I want to check if the following is po

Re: max file size

2009-11-13 Thread Matt McCutchen
On Fri, 2009-11-13 at 12:36 +0100, Heinz-Josef Claes wrote: > On Fri, 13 Nov 2009 01:38:48 -0500 > Matt McCutchen wrote: > > On Mon, 2009-11-09 at 18:20 +0100, Heinz-Josef Claes wrote: > > > I want to check if the following is possible: > > > > > > 1. transport a big block of data (several teraby

Re: max file size

2009-11-13 Thread Heinz-Josef Claes
On Fri, 13 Nov 2009 01:38:48 -0500 Matt McCutchen wrote: > On Mon, 2009-11-09 at 18:20 +0100, Heinz-Josef Claes wrote: > > Am Montag, 9. November 2009 17:48:35 schrieb Matt McCutchen: > > > On Mon, 2009-11-09 at 11:43 +0100, Heinz-Josef Claes wrote: > > > > does anybody know what's the maximum fi

Re: max file size

2009-11-12 Thread Matt McCutchen
On Mon, 2009-11-09 at 18:20 +0100, Heinz-Josef Claes wrote: > Am Montag, 9. November 2009 17:48:35 schrieb Matt McCutchen: > > On Mon, 2009-11-09 at 11:43 +0100, Heinz-Josef Claes wrote: > > > does anybody know what's the maximum file size (terabytes?) when using > > > rsync with options --checksum

Re: max file size

2009-11-09 Thread Heinz-Josef Claes
Am Montag, 9. November 2009 17:48:35 schrieb Matt McCutchen: > On Mon, 2009-11-09 at 11:43 +0100, Heinz-Josef Claes wrote: > > does anybody know what's the maximum file size (terabytes?) when using > > rsync with options --checksum and / or --inplace? > > > > What file sizes have been tested in rea

Re: max file size

2009-11-09 Thread Matt McCutchen
On Mon, 2009-11-09 at 11:43 +0100, Heinz-Josef Claes wrote: > does anybody know what's the maximum file size (terabytes?) when using rsync > with options --checksum and / or --inplace? > > What file sizes have been tested in reality? Are there any experiences using > rsync (with --checksum and /

max file size

2009-11-09 Thread Heinz-Josef Claes
Hello, does anybody know what's the maximum file size (terabytes?) when using rsync with options --checksum and / or --inplace? What file sizes have been tested in reality? Are there any experiences using rsync (with --checksum and / or --inplace) for big files with several / dozens or terabyt

Re: purge-empty-dirs and max-file-size confusion

2009-04-27 Thread Wayne Davison
On Fri, Apr 24, 2009 at 02:19:42PM -0400, Ian! D. Allen wrote: > There is no mention of the concept of "transfer rule" in the rsync > man page. I offer some proposed man page wording changes, below. Thanks. I have committed some manpage changes that clarify this unexpected behavior. At some poi

Re: purge-empty-dirs and max-file-size confusion

2009-04-25 Thread Ian! D. Allen
On Fri, Apr 24, 2009 at 02:19:41PM -0400, Ian! D. Allen wrote: > On Fri, Apr 24, 2009 at 07:51:35AM -0700, Wayne Davison wrote: > > This is because --min-size is a transfer rule, not an exclude rule. > > There is no mention of the concept of "transfer rule" in the rsync > man page. There is anoth

Re: purge-empty-dirs and max-file-size confusion

2009-04-24 Thread Ian! D. Allen
On Fri, Apr 24, 2009 at 07:51:35AM -0700, Wayne Davison wrote: > This is because --min-size is a transfer rule, not an exclude rule. There is no mention of the concept of "transfer rule" in the rsync man page. I offer some proposed man page wording changes, below. The man page says "This option

Re: purge-empty-dirs and max-file-size confusion

2009-04-24 Thread Wayne Davison
On Wed, Apr 22, 2009 at 02:20:37AM -0400, Ian! D. Allen wrote: > I want to use --min-size to copy just large files (and their necessary > parent directories), but everything I've tried copies *all* the source > directories, and creates them empty on the destination even if they > don't have any big

Re: purge-empty-dirs and max-file-size confusion

2009-04-24 Thread Ian! D. Allen
On Fri, Apr 24, 2009 at 10:23:06AM +0200, Paul Slootman wrote: > I don't think the intention is to actually delete empty directories at > the receiving end; only to prevent them being created. I have not yet found out how to prevent empty directories from being created when using "--max-size" or "

Re: purge-empty-dirs and max-file-size confusion

2009-04-24 Thread Paul Slootman
On Thu 23 Apr 2009, Ian! D. Allen wrote: > > In the man page it says in one place "tells the receiving rsync to get > rid of empty directories from the file-list" and in another place it says > "prune empty directory chains from file-list". The latter sounds like it > operates on the source list,

Re: purge-empty-dirs and max-file-size confusion

2009-04-23 Thread Ian! D. Allen
> >  $ rsync -ai --min-size 10M --prune-empty-dirs /home/idallen/test /tmp/foo > Have you tried --no-dirs? Why should I need it? I've explicitly told the receiving side "don't create empty directories" and that should be sufficient. I shouldn't need any other options. (In any case, I just tried

Re: purge-empty-dirs and max-file-size confusion

2009-04-23 Thread Felipe Alvarez
> From: "Ian! D. Allen" > To: rs...@lists.samba.org > Date: Wed, 22 Apr 2009 02:20:37 -0400 > Subject: purge-empty-dirs and max-file-size confusion > I want to use --min-size to copy just large files (and their necessary > parent directories), but everything I'

purge-empty-dirs and max-file-size confusion

2009-04-21 Thread Ian! D. Allen
I want to use --min-size to copy just large files (and their necessary parent directories), but everything I've tried copies *all* the source directories, and creates them empty on the destination even if they don't have any big files in them. I only want the minimal directory hierarchies that con

max file size?

2001-09-14 Thread Robert Andersson
hi all! i want to use rsync, over ssh, to backup a couple of ibm thinkpads running win2k. on the server side i got an e450 running solaris 8. though, having read the rsync docs, faqs etc i can't seem to find how to exclude files larger than xMB? my second question is that i on the server want to