Re: --include-from question

2005-02-10 Thread Wayne Davison
On Wed, Feb 09, 2005 at 05:32:23PM -0500, A.Weston wrote: include.txt contains: + /local/bin/ + /local/etc/ - * That trailing exclusion is too all-encompassing. Try this instead: + /local/bin/ + /local/etc/ - /local/* ..wayne.. -- To unsubscribe or change options:

hard links question

2005-02-06 Thread Alex Farid Aliev
this my scenario: all commands are local rsync -a file1 file2 cp -l file2 file3 chown some_other_existing_user:group file1 rsync -a file1 file2 now file2 and file3 are both hard links and permissions are shared in both, versus rsync creating new file2. Desired behavior is to create new file if

timestamp question

2004-11-12 Thread Mark Watts
go on file size? The archive in question is a several hundred GB linux distro archive so I'd rather not have to redownload it :) Cheers, Mark. - -- Mark Watts Senior Systems Engineer QinetiQ Trusted Information Management Trusted Solutions and Services group GPG Public Key ID: 455420ED

Re: timestamp question

2004-11-12 Thread Paul Slootman
other than the timestamp being different. If rsync is used with -a, the timestamps _shouldn't_ be different. If I use -av -I, will it ignore the timestamps and only go on file size? Yes. The archive in question is a several hundred GB linux distro archive so I'd rather not have

Re: timestamp question

2004-11-12 Thread Mark Watts
, will it ignore the timestamps and only go on file size? Yes. Ok I'll try using that The archive in question is a several hundred GB linux distro archive so I'd rather not have to redownload it :) Oops... I tried to move a local Debian mirror (with daily snapshots that has unchanged files

[Fwd: question for file attributes (atime, ctime)]

2004-10-26 Thread Yasushi Okubo
uld behave in terms of ctime file attribute. Or could this problem be nfs/kernel issue or something else ? Does rsync change ctime for all files under the same directory trees ? Thanks in advance, yasushi Original Message Subject: question for file attribu

[Fwd: [Fwd: question for file attributes (atime, ctime)]]

2004-10-26 Thread Yasushi Okubo
Sorry again, one more thing. We tested rsync with -a/-t option, but it does not save ctime file attribute. Original Message Subject: [Fwd: question for file attributes (atime, ctime)] Date: Tue, 26 Oct 2004 10:17:15 -0400

Re: [Fwd: question for file attributes (atime, ctime)]

2004-10-26 Thread Wayne Davison
On Tue, Oct 26, 2004 at 10:17:15AM -0400, Yasushi Okubo wrote: What we are having problem is that when rsync gets kicked off and transfers one file to the destination, this action changes ctime of all files in the same directory and sub directories on the destination side Rsync only preserves

question for file attributes (atime, ctime)

2004-10-25 Thread Yasushi Okubo
Hi, I looked though documentation and also checked last 9 months of archives, but could not find the corresponding information. We are having an issue with incremental backup with arkeia. Arkeia checks if ctime/mtime of the file are changed, if so, it backs up. I realized that when I ran

Environment variable question

2004-10-19 Thread Venkateswaran, Bhaskar
Title: Environment variable question Hi, I'm trying to run a command as follows: rsync -Lcav temp.txt [EMAIL PROTECTED]:\$DATESPATH/dat The above returns the following err: mkstemp /dat/.temp.txt.oYaO9U failed: No such file or directory $DATESPATH is a variable defined in 'datauser's

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-27 Thread Wayne Davison
On Fri, Sep 24, 2004 at 03:47:03PM +0200, Paul Slootman wrote: If I then run it again, I get the following [a different hashed file] I didn't see that in my just-run test. I did notice a problem with the code not removing an existing destination file prior to trying to hard link a hashed file

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-24 Thread Paul Slootman
One thing that the link-by-hash patch needs is an additional close(); without that, I quickly ran into too many open files. --- hashlink.c.old 2004-09-24 10:59:12.0 +0200 +++ hashlink.c 2004-09-24 10:59:20.0 +0200 @@ -280,6 +280,7 @@ }

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-24 Thread Paul Slootman
The --link-by-hash patch is a bit defective, I think. If I run the following command: rsync --link-by-hash=/tmp/hash 192.168.1.1::mirrors/ps1 /tmp I get the following output: (1) linkname = /tmp/hash/0fb9ca1a/3cc6ec7f5a2de3a0235b585f/0 link-by-hash (new): /tmp/ps1 -

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-23 Thread Paul Slootman
On Wed 22 Sep 2004, Erik Jan Tromp wrote: On Wed, 22 Sep 2004 13:21:31 +0200 Paul Slootman [EMAIL PROTECTED] wrote: I had hoped to use it both for my rotating backups for my (unofficial) slackware mirror. Hmmm... For a slackware mirror I expect that it would be fine. To my eyes,

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-23 Thread Paul Slootman
On Wed 22 Sep 2004, Wayne Davison wrote: On Wed, Sep 22, 2004 at 04:54:32AM -0400, Erik Jan Tromp wrote: Are there plans to make --link-by-hash pay attention to file externals? The issue has come up before: http://lists.samba.org/archive/rsync/2004-February/008630.html I don't know of

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-23 Thread Wayne Davison
On Thu, Sep 23, 2004 at 04:14:27PM +0200, Paul Slootman wrote: On Wed 22 Sep 2004, Erik Jan Tromp wrote: rsync://rsync.samba.org/ftp/unpacked/rsync/patches/link-by-hash.diff Unfortunately that seems to have tabs expanded, and at one point a line was wrapped. The unpacked files are taken

question about 2.6.3pre2's --link-by-hash behaviour

2004-09-22 Thread Erik Jan Tromp
:07 orig+owner.group -rw-r--r-- 5 erik users 395 2004-09-14 17:07 orig+time (The 5th link being the hash file itself) My question is simple enough. Are there plans to make --link-by-hash pay attention to file externals? Erik -- Registered Linux User Number 140066 http://counter.li.org/cgi-bin

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-22 Thread Paul Slootman
On Wed 22 Sep 2004, Erik Jan Tromp wrote: I had noticed the --link-by-hash patch a short while back decided it was time to experiment with it. Sadly, its behaviour is considerabely different from what I expected - to the point that I find it unusable in its current form. I had hoped to

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-22 Thread Erik Jan Tromp
On Wed, 22 Sep 2004 13:21:31 +0200 Paul Slootman [EMAIL PROTECTED] wrote: I had hoped to use it both for my rotating backups for my (unofficial) slackware mirror. Hmmm... For a slackware mirror I expect that it would be fine. To my eyes, a mirror implies a duplicate fileset

Re: question about 2.6.3pre2's --link-by-hash behaviour

2004-09-22 Thread Wayne Davison
On Wed, Sep 22, 2004 at 04:54:32AM -0400, Erik Jan Tromp wrote: Are there plans to make --link-by-hash pay attention to file externals? The issue has come up before: http://lists.samba.org/archive/rsync/2004-February/008630.html I don't know of any plans for changing the --link-by-hash patch,

Re: question about using rsync with inetd

2004-09-11 Thread Paul Slootman
On Fri 10 Sep 2004, Wayne Davison wrote: As indicated in the rsyncd.conf man page, the command should be this: rsync stream tcp nowait publish /usr/bin/rsync rsyncd --daemon Ah, I searched the rsync man page for 'inetd' and didn't find anything... As it's about usage of rsync,

Re: question about using rsync with inetd

2004-09-11 Thread Wayne Davison
On Sat, Sep 11, 2004 at 12:21:43PM +0200, Paul Slootman wrote: Ah, I searched the rsync man page for 'inetd' and didn't find anything... The --daemon option mentions inetd, and its text tells you to read the rsyncd.conf manpage for more details. I think having the daemon-mode specific details

question about using rsync with inetd

2004-09-10 Thread Kick Claus
at the same time, which also is spawned by inetd, and works, so that should not be the option? Using rsync as standalone daemon works fine with the same settings, so my question is: is there an issue with rsync being called by inetd or are we missing something? I would be grateful for some help

Re: question about using rsync with inetd

2004-09-10 Thread Paul Slootman
On Fri 10 Sep 2004, Kick Claus wrote: we would like to use rsync (2.6.2 manualy patched and recompiled) in daemon mode spawned by inetd (Solaris 5.8 Environment). Hmm, I don't know whether this is supported... rsync stream tcp nowait publish /usr/bin/rsync rsyncd --daemon --port 1234 .

re: re: question about using rsync with inetd

2004-09-10 Thread Kick Claus
Date: Fri, 10 Sep 2004 13:35:30 +0200 From: Paul Slootman [EMAIL PROTECTED] Hello Paul, we would like to use rsync (2.6.2 manualy patched and recompiled) in daemon mode spawned by inetd (Solaris 5.8 Environment). Hmm, I don't know whether this is supported... Hm, then lets simply wait for

Re: question about using rsync with inetd

2004-09-10 Thread Wayne Davison
On Fri, Sep 10, 2004 at 12:05:37PM +0200, Kick Claus wrote: rsync stream tcp nowait publish /usr/bin/rsync rsyncd --daemon --port 1234 . As indicated in the rsyncd.conf man page, the command should be this: rsync stream tcp nowait publish /usr/bin/rsync rsyncd --daemon (I changed

Re: Question about suitability of rsync utility

2004-08-23 Thread Dan Pritts
only got around 100K files, you'll be fine (does not calculate for me though, 1TB and 100K files - they should be 10MB each, not exactly very small :) ). - Original Message - From: Sai Nanduru [EMAIL PROTECTED] Date: Sunday, August 22, 2004 6:50 pm Subject: Question about

Question about suitability of rsync utility

2004-08-22 Thread Sai Nanduru
Hi there, I would like to ask a quick question to the experts on this mailing list. If it has already been answered please pardon me (and point me to the location where I can view the answer). I have a need to setup a mirror for an NFS file system exported from a NetApp Filer device (based on BSD

Re: Question about suitability of rsync utility

2004-08-22 Thread Ivan Manida
not calculate for me though, 1TB and 100K files - they should be 10MB each, not exactly very small :) ). - Original Message - From: Sai Nanduru [EMAIL PROTECTED] Date: Sunday, August 22, 2004 6:50 pm Subject: Question about suitability of rsync utility Hi there, I would like to ask

rsync to Mac OS X question

2004-08-06 Thread Chris Heller
I'm am currently setting up a simple backup system using rsync. I am backing up users home directories to a central backup machine, and then exporting those backups via NFS back to their host machines. I had this set up and working under Linux (kernel 2.4.21) but have since decided to give Mac OS

Re: rsync to Mac OS X question

2004-08-06 Thread Craig Barratt
Chris Heller writes: I ran into a problem today when I tested the system for the first time. I am rsyncing from a remote Linux host using the following options to rsync: -avv --rsh=ssh stuff here --exclude-from=path to exclude file --delete. The problem is when the files are moved over to

Question about --stats

2004-08-02 Thread Brashers, Bart -- MFG, Inc.
Is there a way to get rsync to estimate the net change of disk space usage for a transfer? I can get the gross amount of files to be transferred using --stats, and if I use -v I can see a list of files to be deleted. But then I'd have to mangle the filenames to the target path (prepend some

Re: Question about --stats

2004-08-02 Thread Wayne Davison
On Mon, Aug 02, 2004 at 11:01:39AM -0600, Brashers, Bart -- MFG, Inc. wrote: If it's easy, maybe this would be a good addition to rsync --stats. List the size of the files deleted, and perhaps the net change in disk usage. Yes, an addition like that sounds like a good idea to me. It will

Re: A question about connection refused

2004-07-15 Thread NasBackup Team
- From: Chris Shoemaker [EMAIL PROTECTED] To: Guo jing [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, July 15, 2004 12:51 AM Subject: Re: A question about connection refused On Fri, Jun 25, 2004 at 02:01:41PM +, Guo jing wrote: I install rsync in computer and run it as a daemon

Re: A question about connection refused

2004-06-26 Thread NasBackup Team
] To: [EMAIL PROTECTED] Sent: Friday, June 25, 2004 4:01 PM Subject: A question about connection refused I install rsync in computer and run it as a daemon successfully, but when I run rsync command on another end to connect it. There is a error. The output is : opening tcp connection

A question about connection refused

2004-06-25 Thread Guo jing
I install rsync in computer and run it as a daemon successfully, but when I run rsync command on another end to connect it. There is a error. The output is : opening tcp connection to 192.168.0.43 port 873 rsync: failed to connect to 192.168.0.43: Connection refused

Re: A question about connection refused

2004-06-25 Thread Wayne Davison
On Fri, Jun 25, 2004 at 02:01:41PM +, Guo jing wrote: rsync: failed to connect to 192.168.0.43: Connection refused Did you start an rsync daemon on 192.168.0.43? If not, there is nothing there to receive the connection. Perhaps you meant to use a single colon instead of a double

Re: error question

2004-06-21 Thread Wayne Davison
On Mon, Jun 21, 2004 at 10:59:46AM -0500, Matt Vorwald wrote: (60) SendBuffer: Error fd = 95 peer socket closed This is not a message from rsync, so you'll have to look elsewhere. A quick google search indicates that it might have come from a special Novell-modified rsync for Netware, so you

question

2004-06-14 Thread Wallace Matthews
I have 2 servers. Both have my home directory on a common file server mounted as /home/wally. I have 2.6.2 in my home directory in /home/wally/rsync/rsync-2.6.2 and I am doing a push from one file server to another. My command line has /home/wally/rsync/rsync-2.6.2/rsync as its command. I have

Re: question

2004-06-14 Thread Wayne Davison
On Mon, Jun 14, 2004 at 09:22:45AM -0400, Wallace Matthews wrote: Could it be simply using rsync and using an older rsync that happens to be installed and in the path?? That's the normal case if you don't use the --rsync-path=/PATH/rsync option to tell rsync what program to run. It is easy to

RE: question

2004-06-14 Thread Wallace Matthews
: Re: question On Mon, Jun 14, 2004 at 09:22:45AM -0400, Wallace Matthews wrote: Could it be simply using rsync and using an older rsync that happens to be installed and in the path?? That's the normal case if you don't use the --rsync-path=/PATH/rsync option to tell rsync what program to run

Re: question

2004-06-07 Thread Aaron W Morris
[EMAIL PROTECTED] wrote: hello i looked in google , faq etc but didnt found a answer. sorry if i overseen something. how i can auth. via a hostkey without make a config in ~/.ssh normaly ssh has support with ssh -i /keyfile is there any way to combine it via rsync , with rsync -e ssh -i key ..etc

Re: A question about rsync

2004-06-06 Thread Guo jing
Thanks for your answer! Yes,my question is that if we can get a good result when the file is changing while it is being copied by rsync In my test, if the file is being augmented while it been copied using rsync.I can get a normal copy on the other end and the result file is the same as what

Re: A question about rsync

2004-06-06 Thread Martin Pool
On 7 Jun 2004, Guo jing [EMAIL PROTECTED] wrote: Thanks for your answer! Yes,my question is that if we can get a good result when the file is changing while it is being copied by rsync In my test, if the file is being augmented while it been copied using rsync.I can get a normal copy

Re: A question about rsync

2004-06-06 Thread Wayne Davison
On Mon, Jun 07, 2004 at 03:47:47AM +, Guo jing wrote: As you said, if the source file reduced and the blocks were occupied by other files there will be a file with other file's content and a abnormal end on the other end. No, the OS doesn't work that way. Rsync will instead copy lots of

question

2004-06-03 Thread sc2
hello i looked in google , faq etc but didnt found a answer. sorry if i overseen something. how i can auth. via a hostkey without make a config in ~/.ssh normaly ssh has support with ssh -i /keyfile is there any way to combine it via rsync , with rsync -e ssh -i key ..etc etc does not work thx

Re: question

2004-06-03 Thread Terry Dooher
I had this problem trying to script an unattended backup. (rsync 2.6.1 on cygwin) I found that if you need to pass command line arguments to ssh you need to use: rsync --rsh=ssh -i key Using -e, if I remember it correctly, just tries to execute a command called ssh -i key which, obviously,

Re: question

2004-06-03 Thread Wayne Davison
rsync -e ssh -i key ..etc etc does not work The best thing you can do is to use -vv to see what command rsync is running and then try a similar command (e.g. use rsync --help instead of the server command) to see what is going wrong with your ssh setup. Also, avoid a path that requires

Re: question

2004-06-03 Thread sc2
hello a.) ssh with key alone works fine (ssh -i key host command) b.) i try too the method like from braunsdorf (write e shells cript with ssh commands then rsync -e script) maybe i just to stupid for the rsync commands here what i need or ? rsync -e scriptname (content of script) in scripts ssh

Re: question

2004-06-03 Thread Wayne Davison
On Thu, Jun 03, 2004 at 09:58:40PM +0200, [EMAIL PROTECTED] wrote: rsync -e scriptname (content of script) in scripts ssh -i ~/.ssh/id_rsa /home/mysql host:/usr/src This is very hard to decypher, but it looks like you may have put rsync options in your ssh script. Also, don't use '~' -- it

Re: A question about rsync

2004-06-01 Thread Martin Pool
On 31 May 2004, Guo jing [EMAIL PROTECTED] wrote: hello, I am a student in China.I like the linux and usually use the rsync to backup my documents. Last week when I use it,I find a question I want to discuss with you. The condition is like this: The source file that I want to rsync

A question about rsync

2004-05-31 Thread Guo jing
hello, I am a student in China.I like the linux and usually use the rsync to backup my documents. Last week when I use it,I find a question I want to discuss with you. The condition is like this: The source file that I want to rsync to another computer is 129M before I start the rsync

Re: question about --bwlimit=

2004-05-26 Thread Paul Slootman
On Mon 24 May 2004, Wayne Davison wrote: output. Finally, I applied a modified version of the patch that Paul just reminded us that Debian is using, though I decided to limit the write size to bwlimit * 512 rather than bwlimit * 100 (at least for now, but feel free to argue that a different

Re: question about --bwlimit=

2004-05-24 Thread Paul Slootman
On Fri 21 May 2004, Wallace Matthews wrote: Since --bwlimit depends upon sleep(1 second), I repeated the experiment with a file that was 383 Megabyte so that when I am running unthrottled it takes significantly longer than a second (ie. ~50 seconds) to complete. I get the same bi-modal

Re: File sync/delete question

2004-05-24 Thread Paul Slootman
On Fri 21 May 2004, Markus Gaugusch wrote: Imagine this happenings: 10:00: file a.txt gets uploaded to ftp server 10:01: file a.txt is rsynced to samba server 10:02: file a.txt gets deleted from samba server (after rsync run) 10:03: file would again be synced :( Now I think that I need a

Re: Bidirectional speed question

2004-05-24 Thread Paul Slootman
On Mon 17 May 2004, Greger Cronquist wrote: I'm wondering if the following is rsync-related or an issue with my supposedly synchronous internet connection: I have a server running an rsync daemon. When I simultaneously pull and push files to this server using two separate processes on

Re: Bidirectional speed question

2004-05-24 Thread Greger Cronquist
Paul Slootman wrote: On Mon 17 May 2004, Greger Cronquist wrote: I'm wondering if the following is rsync-related or an issue with my supposedly synchronous internet connection: I have a server running an rsync daemon. When I simultaneously pull and push files to this server using two

Re: Bidirectional speed question

2004-05-24 Thread Tim Conway
I agree with Paul. It's almost certainly hour WAN link. My own at home often gives sustained downloads in excess of 2Mbps, This seems to be throttled by the cube of the difference between upload speed and 16kbps. When I get up to 10kbps up, it's still useable. At 12, it's like a 21,400

File sync/delete question

2004-05-24 Thread Matt Vorwald
I think this would be an excellent addition to rsync and could find many applications for it myself. However like Markus I haven't the time or the programing knowledge to make it myself. just wanted to get my two cents worth in, Matt Markus Gaugusch [EMAIL PROTECTED] 05/21/04 04:10PM Hi,

Re: question about --bwlimit=

2004-05-24 Thread Wayne Davison
On Fri, May 21, 2004 at 02:48:12PM -0400, Wallace Matthews wrote: I can repeat this time after time. If --bwlimit is 4000 (ie. 4005, 4025, 4050,5000,7500,1,10) real is in the same range as 4001. If --bwlimit is 4000 or under (ie. 3725, 2000, 1000, 100) real is in the same range as

Re: question about --bwlimit=

2004-05-24 Thread Wayne Davison
On Mon, May 24, 2004 at 01:54:42PM -0700, Wayne Davison wrote: I'm looking into some of the old bwlimit patches to see about improving this. Here's a potential patch to make --bwlimit better. This started with Roger's idea on accumulating delay until we have enough to make a sleep call without

question about --bwlimit=

2004-05-21 Thread Wallace Matthews
I am doing some benchmarking of rsync. I am using the --bwlimit= option to throttle down rsync to predict its operation over slow communications links. I am using rsync 2.6.2 from the release site without any patches. I downloaded the release rather than pull from the CVS tree. I have 2

re: question about --bwlimit=

2004-05-21 Thread Wallace Matthews
Since --bwlimit depends upon sleep(1 second), I repeated the experiment with a file that was 383 Megabyte so that when I am running unthrottled it takes significantly longer than a second (ie. ~50 seconds) to complete. I get the same bi-modal behavior but with different values for 4000 and 4001

File sync/delete question

2004-05-21 Thread Markus Gaugusch
Hi, I need to solve a specific problem and I think that I need an extension to rsync for this to work :) I have an FTP server in the DMZ and a samba server in my intranet. The ftp server has an incoming directory, where people can put uploads and it is also running rsync in daemon mode. The

A question about rsync

2004-05-18 Thread Yang Du
Hi: I really want to know how rsync works. Once it synchronize a file. Does rscync first create a temporary in the remote machine first and then rename it? Or it direct write the difference into the dest-file? Could you please tell me what will happen to the dest-file when a rsync process

Re: A question about rsync

2004-05-18 Thread Tim Conway
That is it. The destination file is unaffected until rsync completes its replacement, then the directory entry is repointed at the new file and the reference to the old inode freed. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED]

A question about rsync

2004-05-18 Thread Yang Du
Once synchronize a file. Does rscync first create a temporary in the remote machine first and then rename it? Or it direct write the difference into the dest-file? Could you please tell me what will happen to the dest-file when a rsync process interrupted by some problems(network problem

Bidirectional speed question

2004-05-17 Thread Greger Cronquist
Hi all, I'm wondering if the following is rsync-related or an issue with my supposedly synchronous internet connection: I have a server running an rsync daemon. When I simultaneously pull and push files to this server using two separate processes on the client (different directories), I get

newbie question about using rsync for backups

2004-04-26 Thread Ryan Kilgore
Hi all, I'm wanting to make weekly backups of host qin to host elijah. I set a crontab to run a script that effectually executes this rsync command: rsync -ave ssh --exclude-from=excludes.txt --delete / elijah:/home/backup/qin host qin is running gentoo linux with rsync version 2.5.6. host

Re: Timeout question

2004-04-01 Thread Tim Conway
Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] gianluca gattelli [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/31/2004 05:34 AM To [EMAIL PROTECTED] cc Subject Timeout question Hi. I've got 2 Fedora Linux (a Master and a Slave) with RSYNC-2.5.7. I need to keep Master

Timeout question

2004-03-31 Thread gianluca gattelli
Hi. I've got 2 Fedora Linux (a Master and a Slave) with RSYNC-2.5.7. I need to keep Master synchronized every 5 minutes (mounting a remote directory with NFS on Slave). It runs correctly. To simulate a problem, I try to disconnect the lan cable. From the shell of Slave: rsync -a -v

Re: Quick Question.

2004-03-20 Thread Eran Tromer
Hi, It would have been a simple script with the extension I proposed (create batch without patching, http://www.mail-archive.com/[EMAIL PROTECTED]/msg09757.html). Alternatively, you can use librsync's rdiff. That lets you can save the patch information to a file and then transmit it only if it's

Re: Quick Question.

2004-03-20 Thread Jos Backus
On Sat, Mar 20, 2004 at 06:59:41PM +0200, Eran Tromer wrote: It would have been a simple script with the extension I proposed (create batch without patching, http://www.mail-archive.com/[EMAIL PROTECTED]/msg09757.html). Fwiw, I think adding this extension is a good idea. -- Jos Backus

Quick Question.

2004-03-19 Thread Jason C. Leach
hi, So I have two machines that rsync over an ADSL network. This works fine, except on certain times when we get too much new data. They it takes far too long to backup this way. What I would like to do is have the output from rsync go to a USB drive, so I can just take to the backup server

Re: rsync performance question

2004-01-09 Thread jim
suggested, or it could be a network-related issue if one or both of the machines in question is a Windows box. Jim Salter -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

rsync performance question Part II

2004-01-09 Thread Rick Frerichs
Hello, I have more info on my specific problem. pop 1) RedHat 7.3, fs1 fs3 pop 2) BSD/OS 4.3.1 www files rsync version 2.6.0 protocol version 27 fs1 -- fs3 500kB/s fs1 -- fs3 420kB/s fs1 -- www20kB/s fs1 -- www20kB/s files -- www 2.9 MB/s files -- www 4,4 Mb/s

rsync performance question

2004-01-08 Thread Rick Frerichs
Hello, I seem to be having a performance problem with rsync. I have done some testing of rsync and ftp. If I do a transfer (either way) with ftp, I get about 500 Kbytes/sec. Using rsync to do the same transfer (either way) I only get about 50 Kbytes/sec. I am only testing straight file copies.

Re: rsync performance question

2004-01-08 Thread jw schultz
On Thu, Jan 08, 2004 at 01:05:25PM -0500, Rick Frerichs wrote: Hello, I seem to be having a performance problem with rsync. I have done some testing of rsync and ftp. If I do a transfer (either way) with ftp, I get about 500 Kbytes/sec. Using rsync to do the same transfer (either way) I

Question about file ownership on destination

2003-12-29 Thread acct svcs
Hello Regarding ownership on the destination: rsync's man page indicates that when synchronizing files to a remote host, -o implies the --numeric-ids option, which makes perfect sense aince the named users/groups may not exist on the destination host. The problem I have is that the files

Re: Question about file ownership on destination

2003-12-29 Thread Wayne Davison
On Mon, Dec 29, 2003 at 01:19:06PM -0500, acct svcs wrote: The problem I have is that the files created on the destination still appear to be owned by the local user (server1) on the rsync server. Which is the user you told rsync to run as. If you want any other user(s) to own the files, you

Re: Question about file ownership on destination

2003-12-29 Thread acct svcs
PROTECTED] To: acct svcs [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: Question about file ownership on destination Date: Mon, 29 Dec 2003 11:05:41 -0800 MIME-Version: 1.0 Received: from binome.blorf.net ([216.228.9.89]) by mc12-f8.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 29 Dec

Re: Question about file ownership on destination

2003-12-29 Thread Wayne Davison
On Mon, Dec 29, 2003 at 05:23:21PM -0500, acct svcs wrote: AFAIK, the daemon is running as root. Quoting from the rsyncd.conf file you cited: uid = server1 gid = server1 Comment-out these lines. ..wayne.. -- To unsubscribe or change options:

Re: Question about file ownership on destination

2003-12-29 Thread jw schultz
On Mon, Dec 29, 2003 at 03:26:53PM -0800, Wayne Davison wrote: On Mon, Dec 29, 2003 at 05:23:21PM -0500, acct svcs wrote: AFAIK, the daemon is running as root. Quoting from the rsyncd.conf file you cited: uid = server1 gid = server1 Comment-out these lines. He is also

Re: Question about file ownership on destination

2003-12-29 Thread acct svcs
it should be reasonably secure. Thanks for helping out Wayne. joe From: Wayne Davison [EMAIL PROTECTED] To: acct svcs [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: Question about file ownership on destination Date: Mon, 29 Dec 2003 15:26:53 -0800 MIME-Version: 1.0 Received: from

Re: Question about file ownership on destination

2003-12-29 Thread Jim Salter
I'm not sure how that could be considered a security issue on rsync's part - if rsync wasn't running as root, how would it be able to set uid and gid arbitrarily? acct svcs wrote: After your suggestion I did discover a solution, though. I had to explicitly assign uid and gid to root in

a newbie question

2003-12-20 Thread Serhan TRKMENLER
Hello everyone I just found out this great tool. I need to use it to get access to DSBL zones. in their website it says Can I run my own DSBL DNS secondary? DSBL provides direct rsync access to our zones. To retrieve one of the zones, install rsync and run the following command: rsync

Re: a newbie question

2003-12-20 Thread Wayne Davison
On Sat, Dec 20, 2003 at 04:15:00PM +0200, Serhan T?RKMENLER wrote: when I run #rsync -t rsync.dsbl.org::dsbl/rbldns-list.dsbl.org will I download this file ? I can view the directory but I cant download? What am I doing wrong? You left off the trailing . arg to tell it where to put the copy.

Re: Rsync - expensive startup question

2003-11-10 Thread Richard van Beers
Corey McGuire wrote: Would something like find -type d -exec rsync {}/* server::mod/{}/. \; work for you? At least, something elong those lines... Correct me whilst Im probably wrong... but it touches one of those questions I lowly sysadmin ponder about: would rsyncing on a per file

Rsync - expensive startup question

2003-11-09 Thread Cedric Puddy
you have to (a) reduce the transfer frequency, and (b) resign yourself to have your i/o subsystem running flat out *all the time*. Also, with the monilithic scan, the filesystem can easily change between the scan being done, and the actual directory/file in question being copied. Might

Re: Rsync - expensive startup question

2003-11-09 Thread jw schultz
deletes. Or maybe the better approach would be to invest in a real cluster filesystem. Also, with the monilithic scan, the filesystem can easily change between the scan being done, and the actual directory/file in question being copied. Might it not be better all round to walk the tree

Re: Rsync - expensive startup question

2003-11-09 Thread Corey McGuire
Would something like find -type d -exec rsync {}/* server::mod/{}/. \; work for you? At least, something elong those lines... -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Question About Rsync on HP-UX

2003-10-24 Thread jw schultz
On Thu, Oct 23, 2003 at 08:21:34PM -0500, Chao,Eisen R. wrote: Hi All: I thought the default behaviour for Rsync was that it would only overwrite destination files that have a lesser date than the source file. Instead No. Rsync _replaces_ the destination file. And if --times is enabled

Re: Question About Rsync on HP-UX

2003-10-23 Thread Chao,Eisen R.
Hi All: I thought the default behaviour for Rsync was that it would only overwrite destination files that have a lesser date than the source file. Instead I have this: Source [EMAIL PROTECTED] [/csapps115/IBMHTTPD/content-external/cna/html/meet]: ls -al meet.html

Re: Another Question about include-from

2003-09-05 Thread jw schultz
On Fri, Sep 05, 2003 at 05:16:11PM -0500, Max Kipness wrote: I know this subject has been discussed time and time again, but everytime I think I've figured it out, I get stuck again. Here is the file structure, root is /: /var /etc /otherdir1 /otherdir2 I want to rsync the following:

rsync problem and question about using rsync with Maildir

2003-08-21 Thread Zachary Denison
Hi, I have a Maildir store (about 500 GB) on a linux (redhat 8) server which I am trying to mirror to another identical server. I have 4 GB of ram on both machines. I am using rsync 2.5.5. At present the machines are on the same lan (100Mbit). Everytime I run the rsync, it runs for a short

Re: rsync problem and question about using rsync with Maildir

2003-08-21 Thread jw schultz
On Thu, Aug 21, 2003 at 06:42:17AM -0700, Zachary Denison wrote: Hi, I have a Maildir store (about 500 GB) on a linux (redhat 8) server which I am trying to mirror to another identical server. I have 4 GB of ram on both machines. I am using rsync 2.5.5. At present the machines are on

Re: Question on --include-from option.

2003-08-14 Thread Loris Serena
Hi Wayne... OK, it works now. So, would it be correct to say that the source is the path of the --include-from file? Thanks again, Loris Wayne Davison wrote: On Wed, Aug 13, 2003 at 04:43:44PM +0100, Loris Serena wrote: The command was actually split on two lines by the mailer! ;-( I

Re: Question on --include-from option.

2003-08-14 Thread Wayne Davison
On Wed, Aug 13, 2003 at 09:00:32AM -0700, Wayne Davison wrote: /tmp/rsync-include-file: + /testrsync1/ + /testrsync2/ + /testrsync3/ - /*/ Oops, that last line should have just been this: - /* ... without the trailing slash. ..wayne.. -- To unsubscribe or change options:

RE: Question on --include-from option.

2003-08-14 Thread Max Kipness
To: Max Kipness Cc: [EMAIL PROTECTED] Subject: Re: Question on --include-from option. Hi Max! Done that, still no joy... ;-(( ppukweb2% more rsync-include-file /tmp/loris/testrsync1/ /tmp/loris/testrsync2/ /tmp

Re: Question on --include-from option.

2003-08-14 Thread Wayne Davison
On Wed, Aug 13, 2003 at 04:43:44PM +0100, Loris Serena wrote: The command was actually split on two lines by the mailer! ;-( I know, that still doesn't give you a destination since the --include-from option is just a filter on the source. If the ppukweb8:/tmp/loris is your actual destination,

<    1   2   3   4   5   6   >