include directory, exclude contents

2003-12-02 Thread tim
I'm using a simple client/server backup pull model rsync -a --delete -e ssh --exclude-from=$exclude path/$client.exclude \ ${client}-rsync:/ $path/$client but can't seem to find the right 'exclude' combination to fetch certain directories but not their contents. Unfortunately this was found

Re: rsync: overhead?

2003-12-02 Thread jw schultz
On Mon, Dec 01, 2003 at 06:11:31PM +0100, Kleiner Hampel wrote: Hello, i am syncing 2 directorys with rsync. There is nothing to do (i didn't changed anything). Here is the output: building file list ... done wrote 371 bytes read 20 bytes 782.00 bytes/sec total size is 5062161

Re: copying pointed to links

2003-12-02 Thread jw schultz
On Thu, Nov 20, 2003 at 04:00:27PM +0800, Leaw, Chern Jian wrote: HI, I have a filesystem containing a symbolic link. pglc0003 ls -l |grep TA lrwxrwxrwx1 cleawadm26 Nov 19 17:23 TA - /pgadm1/adm/cleaw/tempArea I'd like to copy the symbolic link TA to the /tmp area,

Re: rsync error: some files could not be transferred (code 23) at main.c(620)

2003-12-02 Thread jw schultz
On Sat, Nov 22, 2003 at 05:44:54PM -0500, [EMAIL PROTECTED] wrote: I am using rsync to backup Maildir directories. Since it is very active, some files are deleted (and some are added as new mail arrive) from the time that the list of files are collected and the time of the actual operation.

Re: unable to open configuration file rsyncd.conf

2003-12-02 Thread jw schultz
On Mon, Nov 24, 2003 at 04:15:13PM -0500, Michael B Allen wrote: I'm getting an error trying to pull a file with ssh/rsync: $ rsync -e 'ssh -i .ssh/id_rsa' [EMAIL PROTECTED]::www/index.html index.html rsync: unable to open configuration file rsyncd.conf: No such file or directory rsync

Re: rsync -vt shows directories considered?

2003-12-02 Thread jw schultz
On Mon, Dec 01, 2003 at 06:21:34PM -0800, James Berry wrote: Passing the -t option to rsync seems to cause -v to show each directory that is considered, while -v without -t doesn't. Is this a known bug or intended feature? Or is there a way to defeat this? I'd like -v to show the files

Re: Rsync Troubles after NAT router firmware Upgrade.

2003-12-02 Thread jw schultz
On Mon, Dec 01, 2003 at 07:07:42PM -0500, Corey Johnson wrote: Hello, I have been using rsync for a long time to send web files from a development server to a production server. It worked great until a few days ago when I upgraded the firmware on the Linksys BEFSR11 Router that the

Re: Size Limit in rsyncd.conf File?

2003-12-02 Thread Daemian Mack
jw schultz wrote: I've not tried it but auth users permits the use of shell wildcards in user names so auth users = * would restrict the users to all of those listed in the secrets file. If you wish different user lists for different modules just use module-specific secrets files. That would be

Re: unable to open configuration file rsyncd.conf

2003-12-02 Thread Brian R.
Hi, I had this problem as well but /etc, and /etc/rsyncd.conf are readable by all. I fixed it by giving a symlink from the user directory to the config file. When I chroot, the manpage says something to this effect. But is a symlink the correct method of fixing it? $ rsync -e 'ssh -i

Re: rsync 2.5.6 with ssh to a remote server

2003-12-02 Thread Brian R.
Since I have gotten no replies I think it may be because it was too long. Hence, this one is streamlined. On Mon, 01 Dec 2003 22:08:22 -0800 Brian [EMAIL PROTECTED] wrote: Hi, I would like to use the new interface style: rsync --rsh=ssh -l username -i key src [EMAIL PROTECTED]::module,

Re: rsync -vt shows directories considered?

2003-12-02 Thread James Berry
On Dec 2, 2003, at 2:00 AM, jw schultz wrote: On Mon, Dec 01, 2003 at 06:21:34PM -0800, James Berry wrote: Passing the -t option to rsync seems to cause -v to show each directory that is considered, while -v without -t doesn't. Is this a known bug or intended feature? Or is there a way to

Re: rsync 2.5.6 with ssh to a remote server

2003-12-02 Thread Brian R.
Sometimes, I see this error when the src file/dir is incorrect. Linux aspen 2.4.18-evms #1 Sat Nov 8 00:32:46 GMT-7 2003 i686 unknown rsync: read error: Connection reset by peer rsync error: error in rsync protocol data stream (code12) at io.c(177) C:\kdi Brian ContagiousDesign! web

Re: rsync -vt shows directories considered?

2003-12-02 Thread Wayne Davison
On Tue, Dec 02, 2003 at 06:27:37AM -0800, James Berry wrote: But the directory inode doesn't need to be updated. It is up to date. If the modified time of the directory is not identical, it gets updated, just like any other file. If it is identical, you won't see it mentioned. Unfortunately,

Re: rsync -vt shows directories considered?

2003-12-02 Thread James Berry
On Dec 2, 2003, at 8:52 AM, Wayne Davison wrote: On Tue, Dec 02, 2003 at 06:27:37AM -0800, James Berry wrote: But the directory inode doesn't need to be updated. It is up to date. If the modified time of the directory is not identical, it gets updated, just like any other file. If it is

Re: rsync -vt shows directories considered?

2003-12-02 Thread James Berry
On Dec 2, 2003, at 8:52 AM, Wayne Davison wrote: On Tue, Dec 02, 2003 at 06:27:37AM -0800, James Berry wrote: But the directory inode doesn't need to be updated. It is up to date. If the modified time of the directory is not identical, it gets updated, just like any other file. If it is

Re: include directory, exclude contents

2003-12-02 Thread tim
Forgot to mention this: server: rsync version 2.5.4 protocol version 26 clients: rsync version 2.4.6 protocol version 24 Also I found this at http://rsync.samba.org/fom-serve/cache/93.html: How do I use rsync to replicate a directory structure without copying any files? rsync -av

Re: rsync -vt shows directories considered?

2003-12-02 Thread jw schultz
On Tue, Dec 02, 2003 at 09:30:55AM -0800, James Berry wrote: On Dec 2, 2003, at 8:52 AM, Wayne Davison wrote: On Tue, Dec 02, 2003 at 06:27:37AM -0800, James Berry wrote: But the directory inode doesn't need to be updated. It is up to date. If the modified time of the directory is not

Re: include directory, exclude contents

2003-12-02 Thread jw schultz
On Tue, Dec 02, 2003 at 12:57:00PM -0800, tim wrote: Forgot to mention this: server: rsync version 2.5.4 protocol version 26 clients: rsync version 2.4.6 protocol version 24 Almost nobody can comment on the behavior of rsync versions from the previous millenium. There have been too many

Re: include directory, exclude contents

2003-12-02 Thread tim
jw schultz wrote: On Tue, Dec 02, 2003 at 12:57:00PM -0800, tim wrote: Forgot to mention this: server: rsync version 2.5.4 protocol version 26 clients: rsync version 2.4.6 protocol version 24 Almost nobody can comment on the behavior of rsync versions from the previous millenium. There

Re: rsync -vt shows directories considered?

2003-12-02 Thread James Berry
On Dec 2, 2003, at 6:27 PM, jw schultz wrote: On Tue, Dec 02, 2003 at 09:30:55AM -0800, James Berry wrote: On Dec 2, 2003, at 8:52 AM, Wayne Davison wrote: On Tue, Dec 02, 2003 at 06:27:37AM -0800, James Berry wrote: But the directory inode doesn't need to be updated. It is up to date. If the

Re: rsync -vt shows directories considered?

2003-12-02 Thread jw schultz
On Tue, Dec 02, 2003 at 07:58:39PM -0800, James Berry wrote: On Dec 2, 2003, at 6:27 PM, jw schultz wrote: On Tue, Dec 02, 2003 at 09:30:55AM -0800, James Berry wrote: On Dec 2, 2003, at 8:52 AM, Wayne Davison wrote: On Tue, Dec 02, 2003 at 06:27:37AM -0800, James Berry wrote: But the

Re: Rsync over HTTP

2003-12-02 Thread Jim Salter
If you have to use Rsync over multiple networks you need to get past firewalls. Very few firewalls allow anything beyond HTTP port 80. Has anyone researched tunneling Rsync through HTTP and is there any documentation available. That's not rsync over http, that's rsync on port 80. Use ssh as