Re: file mirroring

2009-01-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Jan 12, 2009 at 11:48:51PM -0800, jedalaurin wrote:

[...]

 rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
 rsync error: error in rsync protocol data stream (code 12) at
 /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
 [receiver=3.0.4]
 
 after running 
 
 rsync -avz --delete --exclude=**/stats --exclude=**/error
 --exclude=**/files/pictures -e ssh -i /root/rsync/mirror-rsync-key
 someu...@server1.example.com:/var/www/ /var/www/

As Larry said, this probably isn't Cygwin-specific. Rsync can be also
had as a pure Windows app, AFAIK.

 our mirror server is using windows 2003 r3 on cygwin 2.573.2.3 and out main
 server is on Red Hat.

What machine are you invoking rsync on? (let's call it B). The other
machine (let's call it A) should have an SSH server running (since you
are using SSH as the rsync transport, as the option -e ssh... says).
Can you ssh from B to A? What happens if you invoke

  ssh -i /root/rsync/mirror-rsync-key someu...@server1.example.com:/var/www/ 
/var/www/

(My crystal ball tells me that B is the Redhat box, just based on the path
/root/blah, but that's just a hunch. This seems to be the hard way,
since it seems to be more work to set up a ssh server on a Windows box).

 Another question is there another way(s) to do the file synchronization on
 this setup?

Rsync is very nice and light on resources. Maybe you can skip the need
to have Cygwin using PuTTY as the SSH client on the windows box
(provided you rsync from the Windows box to the Redhat one). I don't
know what is needed to set up an SSH server on Windows (other than the
Cygwin one, that is) if you want to do it the other way 'round.

HTH
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJbJMPBcgs9XrR2kYRAvqcAKCCTaMzvXKdVn8o83LM/I+IPpCBtACfVle5
e89wcK/3eV7TFrL5wHarV9Q=
=whxm
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-13 Thread jedalaurin



Tomas Zerolo wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Mon, Jan 12, 2009 at 11:48:51PM -0800, jedalaurin wrote:
 
 [...]
 
 rsync: connection unexpectedly closed (0 bytes received so far)
 [receiver]
 rsync error: error in rsync protocol data stream (code 12) at
 /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
 [receiver=3.0.4]
 
 after running 
 
 rsync -avz --delete --exclude=**/stats --exclude=**/error
 --exclude=**/files/pictures -e ssh -i /root/rsync/mirror-rsync-key
 someu...@server1.example.com:/var/www/ /var/www/
 
 As Larry said, this probably isn't Cygwin-specific. Rsync can be also
 had as a pure Windows app, AFAIK.
 
 our mirror server is using windows 2003 r3 on cygwin 2.573.2.3 and out
 main
 server is on Red Hat.
 
 What machine are you invoking rsync on? (let's call it B). The other
 machine (let's call it A) should have an SSH server running (since you
 are using SSH as the rsync transport, as the option -e ssh... says).
 Can you ssh from B to A? What happens if you invoke
 
   ssh -i /root/rsync/mirror-rsync-key
 someu...@server1.example.com:/var/www/ /var/www/
 
 (My crystal ball tells me that B is the Redhat box, just based on the path
 /root/blah, but that's just a hunch. This seems to be the hard way,
 since it seems to be more work to set up a ssh server on a Windows box).
 
 Another question is there another way(s) to do the file synchronization
 on
 this setup?
 
 Rsync is very nice and light on resources. Maybe you can skip the need
 to have Cygwin using PuTTY as the SSH client on the windows box
 (provided you rsync from the Windows box to the Redhat one). I don't
 know what is needed to set up an SSH server on Windows (other than the
 Cygwin one, that is) if you want to do it the other way 'round.
 
 HTH
 - -- tomás
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 
 iD8DBQFJbJMPBcgs9XrR2kYRAvqcAKCCTaMzvXKdVn8o83LM/I+IPpCBtACfVle5
 e89wcK/3eV7TFrL5wHarV9Q=
 =whxm
 -END PGP SIGNATURE-
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 

server_A: Red hat
server_B: Window 2003 (cygwin)

i was on server_B running this command:


ssh -i /root/rsync/mirror-rsync-key someu...@server_a:/var/www/ /var/www/

all files on server_A to be transferred on server_B /var/www/
I got this error:
Connection closed by server_A
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at
/home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
[receiver=3.0.4]

I've already setup ssh on cygwin
http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html.

may I ask the alternative that you have the other way 'round. for our
option.

Thanks in advance.



-- 
View this message in context: 
http://www.nabble.com/file-mirroring-tp21430068p21435784.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-13 Thread jedalaurin



Tomas Zerolo wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Mon, Jan 12, 2009 at 11:48:51PM -0800, jedalaurin wrote:
 
 [...]
 
 rsync: connection unexpectedly closed (0 bytes received so far)
 [receiver]
 rsync error: error in rsync protocol data stream (code 12) at
 /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
 [receiver=3.0.4]
 
 after running 
 
 rsync -avz --delete --exclude=**/stats --exclude=**/error
 --exclude=**/files/pictures -e ssh -i /root/rsync/mirror-rsync-key
 someu...@server1.example.com:/var/www/ /var/www/
 
 As Larry said, this probably isn't Cygwin-specific. Rsync can be also
 had as a pure Windows app, AFAIK.
 
 our mirror server is using windows 2003 r3 on cygwin 2.573.2.3 and out
 main
 server is on Red Hat.
 
 What machine are you invoking rsync on? (let's call it B). The other
 machine (let's call it A) should have an SSH server running (since you
 are using SSH as the rsync transport, as the option -e ssh... says).
 Can you ssh from B to A? What happens if you invoke
 
   ssh -i /root/rsync/mirror-rsync-key
 someu...@server1.example.com:/var/www/ /var/www/
 
 (My crystal ball tells me that B is the Redhat box, just based on the path
 /root/blah, but that's just a hunch. This seems to be the hard way,
 since it seems to be more work to set up a ssh server on a Windows box).
 
 Another question is there another way(s) to do the file synchronization
 on
 this setup?
 
 Rsync is very nice and light on resources. Maybe you can skip the need
 to have Cygwin using PuTTY as the SSH client on the windows box
 (provided you rsync from the Windows box to the Redhat one). I don't
 know what is needed to set up an SSH server on Windows (other than the
 Cygwin one, that is) if you want to do it the other way 'round.
 
 HTH
 - -- tomás
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 
 iD8DBQFJbJMPBcgs9XrR2kYRAvqcAKCCTaMzvXKdVn8o83LM/I+IPpCBtACfVle5
 e89wcK/3eV7TFrL5wHarV9Q=
 =whxm
 -END PGP SIGNATURE-
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 

Btw, but 2 servers are both remote and was located on different countries
thats why I am using what i had now.

-- 
View this message in context: 
http://www.nabble.com/file-mirroring-tp21430068p21435872.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-13 Thread Manish Sharma
 jedalaurin == jedalaurin  neonflux...@yahoo.com writes:

jedalaurin Tomas Zerolo wrote:
[snip: lengthy explanation (59 lines)]
jedalaurin server_A: Red hat
jedalaurin server_B: Window 2003 (cygwin)

jedalaurin i was on server_B running this command:

jedalaurin ssh -i /root/rsync/mirror-rsync-key
jedalaurin someu...@server_a:/var/www/ /var/www/

jedalaurin all files on server_A to be transferred on server_B
jedalaurin /var/www/ I got this error: Connection closed by server_A
jedalaurin rsync: connection unexpectedly closed (0 bytes received so
jedalaurin far) [receiver] rsync error: error in rsync protocol data
jedalaurin stream (code 12) at
jedalaurin /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
jedalaurin [receiver=3.0.4]

Do you have free disk space on server_A?

-- 
Manish

Life is beautiful.*
* Conditions apply.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Jan 13, 2009 at 05:30:40AM -0800, jedalaurin wrote:
 
 
 
 Tomas Zerolo wrote:
[...]
  As Larry said, this probably isn't Cygwin-specific. Rsync can be also

[...]

 server_A: Red hat
 server_B: Window 2003 (cygwin)
 
 i was on server_B running this command:
 
 
 ssh -i /root/rsync/mirror-rsync-key someu...@server_a:/var/www/ /var/www/

Turns out my crystal ball was wrong ;-)

 all files on server_A to be transferred on server_B /var/www/
 I got this error:
 Connection closed by server_A
 rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
 rsync error: error in rsync protocol data stream (code 12) at
 /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
 [receiver=3.0.4]
 
 I've already setup ssh on cygwin
 http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html.
 
 may I ask the alternative that you have the other way 'round. for our
 option.

No, actually this way round seems easier. You are using Cygwin for the
SSH client (you might want to use PuTTY if you aren't taking advantage
of other Cygwin features). 

(1) What happens if you invoke the ssh command on the Windows box?
(you should get a shell on the RedHat box).

(2) Can you see activity on the redhat's box sshd or auth log file (found
somewhere around /var/log -- places to look would be sshd.log,
auth.log, daemon.log syslog)?

HTH
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJbLAHBcgs9XrR2kYRAlARAJ0Ss1ovcflUFWrWkJE15gtiI+CfGgCeJk3p
sKdA+WkDXwArOZJ47eMdJYA=
=bG9S
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-13 Thread jedalaurin



मनीष wrote:
 
 jedalaurin == jedalaurin  neonflux...@yahoo.com writes:
 
 jedalaurin Tomas Zerolo wrote:
 [snip: lengthy explanation (59 lines)]
 jedalaurin server_A: Red hat
 jedalaurin server_B: Window 2003 (cygwin)
 
 jedalaurin i was on server_B running this command:
 
 jedalaurin ssh -i /root/rsync/mirror-rsync-key
 jedalaurin someu...@server_a:/var/www/ /var/www/
 
 jedalaurin all files on server_A to be transferred on server_B
 jedalaurin /var/www/ I got this error: Connection closed by server_A
 jedalaurin rsync: connection unexpectedly closed (0 bytes received so
 jedalaurin far) [receiver] rsync error: error in rsync protocol data
 jedalaurin stream (code 12) at
 jedalaurin /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
 jedalaurin [receiver=3.0.4]
 
 Do you have free disk space on server_A?
 
 -- 
 Manish
 
 Life is beautiful.*
 * Conditions apply.
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 

yes, we do have about 15GB++ server_A and on server_B 26GB++.
-- 
View this message in context: 
http://www.nabble.com/file-mirroring-tp21430068p21437587.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-13 Thread jedalaurin



Tomas Zerolo wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Tue, Jan 13, 2009 at 05:30:40AM -0800, jedalaurin wrote:
 
 
 
 Tomas Zerolo wrote:
 [...]
  As Larry said, this probably isn't Cygwin-specific. Rsync can be also
 
 [...]
 
 server_A: Red hat
 server_B: Window 2003 (cygwin)
 
 i was on server_B running this command:
 
 
 ssh -i /root/rsync/mirror-rsync-key someu...@server_a:/var/www/ /var/www/
 
 Turns out my crystal ball was wrong ;-)
 
 all files on server_A to be transferred on server_B /var/www/
 I got this error:
 Connection closed by server_A
 rsync: connection unexpectedly closed (0 bytes received so far)
 [receiver]
 rsync error: error in rsync protocol data stream (code 12) at
 /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
 [receiver=3.0.4]
 
 I've already setup ssh on cygwin
 http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html.
 
 may I ask the alternative that you have the other way 'round. for our
 option.
 
 No, actually this way round seems easier. You are using Cygwin for the
 SSH client (you might want to use PuTTY if you aren't taking advantage
 of other Cygwin features). 
 
 (1) What happens if you invoke the ssh command on the Windows box?
 (you should get a shell on the RedHat box).
 
 (2) Can you see activity on the redhat's box sshd or auth log file (found
 somewhere around /var/log -- places to look would be sshd.log,
 auth.log, daemon.log syslog)?
 
 HTH
 - -- tomás
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 
 iD8DBQFJbLAHBcgs9XrR2kYRAlARAJ0Ss1ovcflUFWrWkJE15gtiI+CfGgCeJk3p
 sKdA+WkDXwArOZJ47eMdJYA=
 =bG9S
 -END PGP SIGNATURE-
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 


(1) What happens if you invoke the ssh command on the Windows box?
(you should get a shell on the RedHat box).
on the window box(server_B):
-as root: i can login just like your in linux box.
-as someuser: where I've setup the rsync
http://www.howtoforge.com/mirroring_with_rsync:
It tend to disconnect me: like this Connection closed by server_A

(2) Can you see activity on the redhat's box sshd or auth log file (found
somewhere around /var/log -- places to look would be sshd.log,
auth.log, daemon.log syslog)? 

Sorry for the delay I cant find the ssd.log, auth.log, demon.log.

here is my /etc/ssh/sshd_config

#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#ShowPatchLevel no

# no default banner path
#Banner /some/path

# override default of no subsystems
Subsystem   sftp/usr/libexec/openssh/sftp-server
[r...@cdr1-218 /]# tail /etc/syslog.conf
cron.*  /var/log/cron

# Everybody gets emergency messages
*.emerg *

# Save news errors of level crit and higher in a special file.
uucp,news.crit  /var/log/spooler

# Save boot messages also to boot.log
local7.*/var/log/boot.log

-- 
View this message in context: 
http://www.nabble.com/file-mirroring-tp21430068p21438889.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-13 Thread Thorsten Kampe
* jedalaurin (Mon, 12 Jan 2009 23:48:51 -0800 (PST))
 rsync: connection unexpectedly closed (0 bytes received so far) 
[receiver]
 rsync error: error in rsync protocol data stream (code 12) at
 /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
 [receiver=3.0.4]
 
 after running 
 
 rsync -avz --delete --exclude=**/stats --exclude=**/error
 --exclude=**/files/pictures -e ssh -i /root/rsync/mirror-rsync-key
 someu...@server1.example.com:/var/www/ /var/www/

Keep it simple, stupid: try without the excludes; if this doesn't work, 
try with ssh.
 
 our mirror server is using windows 2003 r3 on cygwin 2.573.2.3 and out main
 server is on Red Hat.
 
 Another question is there another way(s) to do the file synchronization on
 this setup?

sitecopy

Thorsten


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-13 Thread Thorsten Kampe
* Thorsten Kampe (Tue, 13 Jan 2009 19:44:22 +0100)
 * jedalaurin (Mon, 12 Jan 2009 23:48:51 -0800 (PST))
  rsync: connection unexpectedly closed (0 bytes received so far) 
 [receiver]
  rsync error: error in rsync protocol data stream (code 12) at
  /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
  [receiver=3.0.4]
  
  after running 
  
  rsync -avz --delete --exclude=**/stats --exclude=**/error
  --exclude=**/files/pictures -e ssh -i /root/rsync/mirror-rsync-key
  someu...@server1.example.com:/var/www/ /var/www/
 
 Keep it simple, stupid: try without the excludes; if this doesn't work, 
 try with ssh.

/without/, of course

T.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-13 Thread jedalaurin



Thorsten Kampe wrote:
 
 * jedalaurin (Mon, 12 Jan 2009 23:48:51 -0800 (PST))
 rsync: connection unexpectedly closed (0 bytes received so far) 
 [receiver]
 rsync error: error in rsync protocol data stream (code 12) at
 /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
 [receiver=3.0.4]
 
 after running 
 
 rsync -avz --delete --exclude=**/stats --exclude=**/error
 --exclude=**/files/pictures -e ssh -i /root/rsync/mirror-rsync-key
 someu...@server1.example.com:/var/www/ /var/www/
 
 Keep it simple, stupid: try without the excludes; if this doesn't work, 
 try with ssh.
  
 our mirror server is using windows 2003 r3 on cygwin 2.573.2.3 and out
 main
 server is on Red Hat.
 
 Another question is there another way(s) to do the file synchronization
 on
 this setup?
 
 sitecopy
 
 Thorsten
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 

I after few hours of tracing the file mirroring is already working. 
I found out that the error occurs when rsync encounters a unpermitted
folders, files etc. that it can't be transferred. All the options are still
needed [rsync -avz --delete --exclude=**/stats --exclude=**/error
--exclude=**/files/pictures -e ssh -v -i /root/rsync/mirror-rsync-key
someu...@server1.example.com:/var/www/ /var/www/] and adding a -v on ssh. 
that is why you have to assign a particular folder your files to be
mirrored.

Thank you guys and more power!
-- 
View this message in context: 
http://www.nabble.com/file-mirroring-tp21430068p21449672.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-13 Thread jedalaurin



Thorsten Kampe wrote:
 
 * Thorsten Kampe (Tue, 13 Jan 2009 19:44:22 +0100)
 * jedalaurin (Mon, 12 Jan 2009 23:48:51 -0800 (PST))
  rsync: connection unexpectedly closed (0 bytes received so far) 
 [receiver]
  rsync error: error in rsync protocol data stream (code 12) at
  /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
  [receiver=3.0.4]
  
  after running 
  
  rsync -avz --delete --exclude=**/stats --exclude=**/error
  --exclude=**/files/pictures -e ssh -i /root/rsync/mirror-rsync-key
  someu...@server1.example.com:/var/www/ /var/www/
 
 Keep it simple, stupid: try without the excludes; if this doesn't work, 
 try with ssh.
 
 /without/, of course
 
 T.
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 

Hi T. ,

Can you tell us more about some other way 'round. for another method that
you have.
We are please to have the other options in benifit to other users. 
who want to expand thing in there way.

Thanks,

Jed

-- 
View this message in context: 
http://www.nabble.com/file-mirroring-tp21430068p21450227.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



file mirroring

2009-01-12 Thread jedalaurin

We are on implementation stage for a scalability and we a currently looking
for suggestion on file mirroring real time or near real time?

Thanks,

Jed
-- 
View this message in context: 
http://www.nabble.com/file-mirroring-tp21430068p21430068.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-12 Thread Larry Hall (Cygwin)

jedalaurin wrote:

We are on implementation stage for a scalability and we a currently looking
for suggestion on file mirroring real time or near real time?


Please clarify how the above is a Cygwin-specific question.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: file mirroring

2009-01-12 Thread jedalaurin



Larry Hall (Cygwin) wrote:
 
 jedalaurin wrote:
 We are on implementation stage for a scalability and we a currently
 looking
 for suggestion on file mirroring real time or near real time?
 
 Please clarify how the above is a Cygwin-specific question.
 
 -- 
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 216 Dalton Rd.  (508) 893-9889 - FAX
 Holliston, MA 01746
 
 _
 
 A: Yes.
   Q: Are you sure?
   A: Because it reverses the logical flow of conversation.
   Q: Why is top posting annoying in email?
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 
Hi Larry,

Thanks! for the fast reply. 

we've tried [http://www.howtoforge.com/mirroring_with_rsync ] 

and i got this error:

rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at
/home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632)
[receiver=3.0.4]

after running 

rsync -avz --delete --exclude=**/stats --exclude=**/error
--exclude=**/files/pictures -e ssh -i /root/rsync/mirror-rsync-key
someu...@server1.example.com:/var/www/ /var/www/

our mirror server is using windows 2003 r3 on cygwin 2.573.2.3 and out main
server is on Red Hat.

Another question is there another way(s) to do the file synchronization on
this setup?


Thanks
-- 
View this message in context: 
http://www.nabble.com/file-mirroring-tp21430068p21430861.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/