Re: Linux to Windows

2005-08-24 Thread Terry Dooher
John Jablonski wrote: Hmmm. Oddly (?) enough, you can make a ".FILE" using a dos prompt (cmd), but not using the win GUI. RMB->Create new->Text file on your desktop (or anywhere using windows explorer) and try and create a file named ".dotfile". You can't do it (in XP-pro anyways). This i

Re: win32, ssh and rsync

2005-08-11 Thread Terry Dooher
Donald Orbin wrote: > Hi all > > I have been trying to get myhead around this for > smetime now and hope one of the gurus here can assist. > > I would like to connect to a server(that is not > running a rsync daemon) to push files from a win32 > (2003 server) to an OBSD machine. > > The command I

Re: Two folders !

2005-05-09 Thread Terry Dooher
BASING Tibor Vovcak wrote: Hello !! I need to sync two folders in fedora linux. One is at /ftp/test/test1 Second is at /ftp/test/test1/test3 I need to sync /ftp/test/test1/test3 that new files uploaded will be seen in /ftp/test/test1 every hour or a day . How do i do that ? I admit I

Re: Is rsync right for us?

2005-03-30 Thread Terry Dooher
Bruce Therrien wrote: Hi, What we want to do is synchronize our music files between our 2 servers like every 30 minutes or so. Been trying to find scripts to do this, but no success. The files are created on our Mac G4 running OS X server, and then tranferred manually to the IBM server in the same

Re: Limit the total bytes transfered?

2005-03-01 Thread Terry Dooher
Michael Best wrote: I ask because a client had a broken filesystem that occasionally has 2T+ files on it (broken filesystem, so they weren't actually that big) but we happily ran up a huge b/w bill with rsync. For this specific example you could probably wildcard match the files with a --exclude

Re: How to control rsync log?

2005-02-25 Thread Terry Dooher
If I specify this option on a 2.6.3 server config, will it still be effective even if the clients are 2.6.0 (or possibly 2.5.6, I'm still pestering them to upgrade) Terry. Wayne Davison wrote: On Thu, Feb 24, 2005 at 12:35:21PM -0700, [EMAIL PROTECTED] wrote: Is there a way to let rsync server t

Re: Redundant Rsync?

2004-08-18 Thread Terry Dooher
I use the following bit of shell to check whether an rsync server is up: #!/bin/bash # Prod the rsync server... check=$(echo -e "\n" |netcat server1.example.com 873); if [ "$check" != "@RSYNCD: 26" ]; then { echo "Unable to connect to rsync server." # Perform your failsafe measures here } f

Re: cron/rsync issue

2004-07-09 Thread Terry Dooher
It could be a timing issue that means there's no route or server available at that time. Given the length of the command line, I'd be tempted to put it in a shell script with a connection checker: #!/bin/bash # Prod the rsync server... check=$(echo -e "\n" |netcat sunsite.uio.no 873); if [ "$che

Re: wildcard error in source path?

2004-06-18 Thread Terry Dooher
As you say, it does "delete files that don't exist on the sending side" and I can see why the behaviour looks wrong at first glance The difference between dump/* and dump/ is the list of files you are giving to rsync in the first place. With dump/*: For each file in dump/, do { Comapre

Re: wildcard error in source path?

2004-06-17 Thread Terry Dooher
Logically, this is correct behaviour, I think. dump/* is a wildcard that matches every _existing_ local file in the dump/ directory. Since the file you deleted doesn't exist, it isn't considered by rsync. dump/ tells rsync to compare the contents of the local dump/ directory with those of the

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: Bug reporting

2004-06-01 Thread Terry Dooher
John wrote: Possibly rsync can use ssh to forward a local port chosen the same way ftp chooses a port fo active ftp. Then local rsync opens a connexion to 127.0.0.1:port at the local end, and ssh forwards the stream to rsync running as a daemon (on another randomly-chosen port? a user-specified por