Re: [SLUG] Synchronizing from Windows to Linux

2009-05-27 Thread Morgan Storey
not to split hairs but I mentioned rsync being more efficient as it only
copies changed bits.

Problem with just using Xcopy is it doesn't support ftp (afaik I could be
proved wrong) I guess you could mount the FTP drive with the old netdrive,
but me I would prefer to do it with as few tools as possible, with as little
user interaction as possible. The little user interaction is also why I did
the /m switch on xcopy, it copies only changed files, using the archive bit
as a marker, as whenever a file in windows is changed the archive bit is
reset.


On Tue, May 26, 2009 at 8:24 PM, Kevin Shackleton kev...@reachnet.com.auwrote:

 with xcopy I use /d (only copy files with newer date).  Actually I
 use: /d /s /y.  Maybe these aren't optimal?

 No-one has mentioned that rsync is actually VERY CLEVER at minimising
 bandwidth and proudly announces at the end of the sync job that it's
 done something like 1% of the bandwidth (therefore also time) that might
 be consumed otherwise.  If it works against an rsync daemon at the other
 end.

 Kevin.

 On Tue, 2009-05-26 at 12:11 +1000, Morgan Storey wrote:
  Windows has the archive bit built in. You could simply xcopy/robocopy any
  files with the archive bit to a staging directory then ftp up that
  eg:
  *xcopy path:\to\Files\ path:\to\staging /m /e /v /c /y*
  Then use your favourite scriptable ftp client to upload it, there are a
 few
  out there, I think you can even use windows built in one, but I don't
 tend
  to play with that.
 
  On Tue, May 26, 2009 at 11:59 AM, Andre Kolodochka kol...@gmail.com
 wrote:
 
   ftp is the last resort, rsync is obviously a better one. Also, not
   aware of good tools that would check the differences in directory
   trees and update only the files that are different over ftp.
  
   Andre.
  
  
  
  
   2009/5/26 Dean Hamstead d...@fragfest.com.au:
why not use ftp then?
   
   
Dean
   
Andre Kolodochka wrote:
   
Is there something not necessarily based on rsync? ftp, for example?
   
Andre.
   
   
   
   
   
2009/5/26 Christopher Vance cjsva...@gmail.com:
   
On Tue, May 26, 2009 at 9:55 AM, Alan L Tyree a...@austlii.edu.au
 
wrote:
   
I use unison: 
http://www.cis.upenn.edu/~bcpierce/unison/http://www.cis.upenn.edu/%7Ebcpierce/unison/
 http://www.cis.upenn.edu/%7Ebcpierce/unison/
   
It claims to run on Windows, but I have no experience with that.
   
It does. I've used it on Ubuntu, Windows, OpenBSD, MacOS, and
 Solaris.
   
The biggest problem with Unison is that the protocol changes so
frequently that you may have difficulty finding precompiled
 versions
for your different operating systems which run compatible
 protocols.
   
It may be easier to compile from source, but then you'll need to
 have
ocaml compilers on the relevant machines...
   
--
Christopher Vance
   
   
--
http://fragfest.com.au
   
   --
   SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
   Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
  

 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-27 Thread Andre Kolodochka
What's the difference? I have My Documents (or any other directory
with precious files) with all subfolders, which I want to be also
stored somewhere else, so when my drive blows up I can get all that
stuff back. And any changes in any file under My Documents should be
reflected in the copy on remote server when I do run some sync tool.

When I had a network drive, I simply used MS SyncToy to sync with a
directory on networked drive. I also use rsync at work to copy the
changes that were done overnight to files on remote RH box and copy
them over to local Centos server. So I thought rsync Windows client
sort of tool might do the job, that's why I mentioned rsync.

FTP might work, but I haven't seen tools that would ftp in and compare
the whole tree on remote host and local drive and replicate the
changes. Although I've found Synchromagic
(http://www.gelosoft.com/adescr.html) today, will try that.

Andre.

2009/5/27 Matthew Hannigan m...@zip.com.au:

 Well, do you want just to do backups or are you looking for something
 fancier?

 Your original mail mentioned only backups in the body (as I recall)
 but you use the synchronising in the subject line.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-26 Thread Kevin Shackleton
with xcopy I use /d (only copy files with newer date).  Actually I
use: /d /s /y.  Maybe these aren't optimal?

No-one has mentioned that rsync is actually VERY CLEVER at minimising
bandwidth and proudly announces at the end of the sync job that it's
done something like 1% of the bandwidth (therefore also time) that might
be consumed otherwise.  If it works against an rsync daemon at the other
end.

Kevin.

On Tue, 2009-05-26 at 12:11 +1000, Morgan Storey wrote:
 Windows has the archive bit built in. You could simply xcopy/robocopy any
 files with the archive bit to a staging directory then ftp up that
 eg:
 *xcopy path:\to\Files\ path:\to\staging /m /e /v /c /y*
 Then use your favourite scriptable ftp client to upload it, there are a few
 out there, I think you can even use windows built in one, but I don't tend
 to play with that.
 
 On Tue, May 26, 2009 at 11:59 AM, Andre Kolodochka kol...@gmail.com wrote:
 
  ftp is the last resort, rsync is obviously a better one. Also, not
  aware of good tools that would check the differences in directory
  trees and update only the files that are different over ftp.
 
  Andre.
 
 
 
 
  2009/5/26 Dean Hamstead d...@fragfest.com.au:
   why not use ftp then?
  
  
   Dean
  
   Andre Kolodochka wrote:
  
   Is there something not necessarily based on rsync? ftp, for example?
  
   Andre.
  
  
  
  
  
   2009/5/26 Christopher Vance cjsva...@gmail.com:
  
   On Tue, May 26, 2009 at 9:55 AM, Alan L Tyree a...@austlii.edu.au
   wrote:
  
   I use unison: 
   http://www.cis.upenn.edu/~bcpierce/unison/http://www.cis.upenn.edu/%7Ebcpierce/unison/
  
   It claims to run on Windows, but I have no experience with that.
  
   It does. I've used it on Ubuntu, Windows, OpenBSD, MacOS, and Solaris.
  
   The biggest problem with Unison is that the protocol changes so
   frequently that you may have difficulty finding precompiled versions
   for your different operating systems which run compatible protocols.
  
   It may be easier to compile from source, but then you'll need to have
   ocaml compilers on the relevant machines...
  
   --
   Christopher Vance
  
  
   --
   http://fragfest.com.au
  
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-26 Thread Matthew Hannigan
On Tue, May 26, 2009 at 11:24:43AM +1000, Andre Kolodochka wrote:
 Is there something not necessarily based on rsync? ftp, for example?
 
 Andre.

Well, do you want just to do backups or are you looking for something
fancier?

Your original mail mentioned only backups in the body (as I recall)
but you use the synchronising in the subject line.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread Gonzalo Servat
On Tue, May 26, 2009 at 9:44 AM, Andre Kolodochka kol...@gmail.com wrote:

 Given that my Lacie Ethernet disk just died, I was thinking of solid
 backup solutions for my personal files (20-30Gb). Since I have already
 Linux hosting with way more disk space than I need, I thought it will
 be great if I could sync a folder on my local drive to a folder on
 that Linux box... somewhere there.

 The problem is my local box running Windows, otherwise rsync would do
 wonders. Anybody knows of a good tool I could use to sync Windows
 folders to Linux ones? And the one that will work over Internet, not
 just LAN.


There's also a port of Rsync for Windowshttp://www.itefix.no/i2/node/10650.
Have you tried it? I've been using rsync on a Windows box and it works
pretty well. There are probably Windows native tools to do this kinda thing,
would be good to hear what others have to say on the subject.

Cheers,
Gonzalo


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread Dean Hamstead

you can also apply rsync over ssh.

there are a number of OS ssh servers for windows.


Dean

Gonzalo Servat wrote:

On Tue, May 26, 2009 at 9:44 AM, Andre Kolodochka kol...@gmail.com wrote:


Given that my Lacie Ethernet disk just died, I was thinking of solid
backup solutions for my personal files (20-30Gb). Since I have already
Linux hosting with way more disk space than I need, I thought it will
be great if I could sync a folder on my local drive to a folder on
that Linux box... somewhere there.

The problem is my local box running Windows, otherwise rsync would do
wonders. Anybody knows of a good tool I could use to sync Windows
folders to Linux ones? And the one that will work over Internet, not
just LAN.



There's also a port of Rsync for Windowshttp://www.itefix.no/i2/node/10650.
Have you tried it? I've been using rsync on a Windows box and it works
pretty well. There are probably Windows native tools to do this kinda thing,
would be good to hear what others have to say on the subject.

Cheers,
Gonzalo



--
http://fragfest.com.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread Alan L Tyree
On Tue, 26 May 2009 09:44:36 +1000
Andre Kolodochka kol...@gmail.com wrote:

 Given that my Lacie Ethernet disk just died, I was thinking of solid
 backup solutions for my personal files (20-30Gb). Since I have already
 Linux hosting with way more disk space than I need, I thought it will
 be great if I could sync a folder on my local drive to a folder on
 that Linux box... somewhere there.
 
 The problem is my local box running Windows, otherwise rsync would do
 wonders. Anybody knows of a good tool I could use to sync Windows
 folders to Linux ones? And the one that will work over Internet, not
 just LAN.

I use unison: http://www.cis.upenn.edu/~bcpierce/unison/

It claims to run on Windows, but I have no experience with that.

Alan

 
 Thanks in advance.
 Andre.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  Fax: +61 2 4782 7092

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread Owen Townend
2009/5/26 Andre Kolodochka kol...@gmail.com:
 Given that my Lacie Ethernet disk just died, I was thinking of solid
 backup solutions for my personal files (20-30Gb). Since I have already
 Linux hosting with way more disk space than I need, I thought it will
 be great if I could sync a folder on my local drive to a folder on
 that Linux box... somewhere there.

 The problem is my local box running Windows, otherwise rsync would do
 wonders. Anybody knows of a good tool I could use to sync Windows
 folders to Linux ones? And the one that will work over Internet, not
 just LAN.

One 'Microsoft' way would be to use SyncToy[0]. To use it you would only
have to mount a samba share from the linux box as a network drive.

Cheers,
Owen.

Footnotes:
--
[0] 
http://www.microsoft.com/downloads/details.aspx?displaylang=enFamilyID=c26efa36-98e0-4ee9-a7c5-98d0592d8c52
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread Gonzalo Servat
On Tue, May 26, 2009 at 10:44 AM, Owen Townend owen.town...@gmail.comwrote:


 One 'Microsoft' way would be to use SyncToy[0]. To use it you would only
 have to mount a samba share from the linux box as a network drive.


Another one that just popped into my head is Bacula, although it's a full-on
backup solution and not as simple as rsync. It does run on Windows.

Cheers,
Gonzalo.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread Christopher Vance
On Tue, May 26, 2009 at 9:55 AM, Alan L Tyree a...@austlii.edu.au wrote:
 I use unison: http://www.cis.upenn.edu/~bcpierce/unison/

 It claims to run on Windows, but I have no experience with that.

It does. I've used it on Ubuntu, Windows, OpenBSD, MacOS, and Solaris.

The biggest problem with Unison is that the protocol changes so
frequently that you may have difficulty finding precompiled versions
for your different operating systems which run compatible protocols.

It may be easier to compile from source, but then you'll need to have
ocaml compilers on the relevant machines...

-- 
Christopher Vance
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux]

2009-05-25 Thread Phill O'Flynn


I have found winscp good. it runs over ssh.


Regards
Phill O'Flynn

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread Andre Kolodochka
Is there something not necessarily based on rsync? ftp, for example?

Andre.





2009/5/26 Christopher Vance cjsva...@gmail.com:
 On Tue, May 26, 2009 at 9:55 AM, Alan L Tyree a...@austlii.edu.au wrote:
 I use unison: http://www.cis.upenn.edu/~bcpierce/unison/

 It claims to run on Windows, but I have no experience with that.

 It does. I've used it on Ubuntu, Windows, OpenBSD, MacOS, and Solaris.

 The biggest problem with Unison is that the protocol changes so
 frequently that you may have difficulty finding precompiled versions
 for your different operating systems which run compatible protocols.

 It may be easier to compile from source, but then you'll need to have
 ocaml compilers on the relevant machines...

 --
 Christopher Vance

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread Dean Hamstead

why not use ftp then?


Dean

Andre Kolodochka wrote:

Is there something not necessarily based on rsync? ftp, for example?

Andre.





2009/5/26 Christopher Vance cjsva...@gmail.com:

On Tue, May 26, 2009 at 9:55 AM, Alan L Tyree a...@austlii.edu.au wrote:

I use unison: http://www.cis.upenn.edu/~bcpierce/unison/

It claims to run on Windows, but I have no experience with that.

It does. I've used it on Ubuntu, Windows, OpenBSD, MacOS, and Solaris.

The biggest problem with Unison is that the protocol changes so
frequently that you may have difficulty finding precompiled versions
for your different operating systems which run compatible protocols.

It may be easier to compile from source, but then you'll need to have
ocaml compilers on the relevant machines...

--
Christopher Vance



--
http://fragfest.com.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread Morgan Storey
I have actually used Unison to keep two windows servers in sync over ssh
with plink from putty and Winsshd, pretty nifty little app, but for one way
sync the Rsync for windows is the way to go

FTP can be done as well with a script, but it is messy, and not-secure FTP
is all in plain text and I wouldn't trust it for backups of any kind. You
could script an SFTP upload, but that will be file level so not as
effiecient as rsyncs bitlevel.

The issue you may also run into is open file locks. Windows locks files that
are open so you won't be able to back them up, unless the program is VSS
aware, like ntbackup, Bacula or some other app (if you want to script it,
hobocopy is vss aware).


On Tue, May 26, 2009 at 9:55 AM, Alan L Tyree a...@austlii.edu.au wrote:

 On Tue, 26 May 2009 09:44:36 +1000
 Andre Kolodochka kol...@gmail.com wrote:

  Given that my Lacie Ethernet disk just died, I was thinking of solid
  backup solutions for my personal files (20-30Gb). Since I have already
  Linux hosting with way more disk space than I need, I thought it will
  be great if I could sync a folder on my local drive to a folder on
  that Linux box... somewhere there.
 
  The problem is my local box running Windows, otherwise rsync would do
  wonders. Anybody knows of a good tool I could use to sync Windows
  folders to Linux ones? And the one that will work over Internet, not
  just LAN.

 I use unison: 
 http://www.cis.upenn.edu/~bcpierce/unison/http://www.cis.upenn.edu/%7Ebcpierce/unison/

 It claims to run on Windows, but I have no experience with that.

 Alan

 
  Thanks in advance.
  Andre.
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


 --
 Alan L Tyree
 http://www2.austlii.edu.au/~alanhttp://www2.austlii.edu.au/%7Ealan
 Tel:  04 2748 6206  Fax: +61 2 4782 7092

 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread Andre Kolodochka
ftp is the last resort, rsync is obviously a better one. Also, not
aware of good tools that would check the differences in directory
trees and update only the files that are different over ftp.

Andre.




2009/5/26 Dean Hamstead d...@fragfest.com.au:
 why not use ftp then?


 Dean

 Andre Kolodochka wrote:

 Is there something not necessarily based on rsync? ftp, for example?

 Andre.





 2009/5/26 Christopher Vance cjsva...@gmail.com:

 On Tue, May 26, 2009 at 9:55 AM, Alan L Tyree a...@austlii.edu.au
 wrote:

 I use unison: http://www.cis.upenn.edu/~bcpierce/unison/

 It claims to run on Windows, but I have no experience with that.

 It does. I've used it on Ubuntu, Windows, OpenBSD, MacOS, and Solaris.

 The biggest problem with Unison is that the protocol changes so
 frequently that you may have difficulty finding precompiled versions
 for your different operating systems which run compatible protocols.

 It may be easier to compile from source, but then you'll need to have
 ocaml compilers on the relevant machines...

 --
 Christopher Vance


 --
 http://fragfest.com.au

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread Morgan Storey
Windows has the archive bit built in. You could simply xcopy/robocopy any
files with the archive bit to a staging directory then ftp up that
eg:
*xcopy path:\to\Files\ path:\to\staging /m /e /v /c /y*
Then use your favourite scriptable ftp client to upload it, there are a few
out there, I think you can even use windows built in one, but I don't tend
to play with that.

On Tue, May 26, 2009 at 11:59 AM, Andre Kolodochka kol...@gmail.com wrote:

 ftp is the last resort, rsync is obviously a better one. Also, not
 aware of good tools that would check the differences in directory
 trees and update only the files that are different over ftp.

 Andre.




 2009/5/26 Dean Hamstead d...@fragfest.com.au:
  why not use ftp then?
 
 
  Dean
 
  Andre Kolodochka wrote:
 
  Is there something not necessarily based on rsync? ftp, for example?
 
  Andre.
 
 
 
 
 
  2009/5/26 Christopher Vance cjsva...@gmail.com:
 
  On Tue, May 26, 2009 at 9:55 AM, Alan L Tyree a...@austlii.edu.au
  wrote:
 
  I use unison: 
  http://www.cis.upenn.edu/~bcpierce/unison/http://www.cis.upenn.edu/%7Ebcpierce/unison/
 
  It claims to run on Windows, but I have no experience with that.
 
  It does. I've used it on Ubuntu, Windows, OpenBSD, MacOS, and Solaris.
 
  The biggest problem with Unison is that the protocol changes so
  frequently that you may have difficulty finding precompiled versions
  for your different operating systems which run compatible protocols.
 
  It may be easier to compile from source, but then you'll need to have
  ocaml compilers on the relevant machines...
 
  --
  Christopher Vance
 
 
  --
  http://fragfest.com.au
 
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Synchronizing from Windows to Linux

2009-05-25 Thread david

I've just this minute finished setting up something very similar at work.

I installed cygwin and now run backup as an rsync/cron job. It might be 
overkill, but I've found that there are so many other reasons to have a bash 
shell on Windows, and cron/rsync/ssh works a treat.




Morgan Storey wrote:

Windows has the archive bit built in. You could simply xcopy/robocopy any
files with the archive bit to a staging directory then ftp up that
eg:
*xcopy path:\to\Files\ path:\to\staging /m /e /v /c /y*
Then use your favourite scriptable ftp client to upload it, there are a few
out there, I think you can even use windows built in one, but I don't tend
to play with that.

On Tue, May 26, 2009 at 11:59 AM, Andre Kolodochka kol...@gmail.com wrote:


ftp is the last resort, rsync is obviously a better one. Also, not
aware of good tools that would check the differences in directory
trees and update only the files that are different over ftp.

Andre.




2009/5/26 Dean Hamstead d...@fragfest.com.au:

why not use ftp then?


Dean

Andre Kolodochka wrote:

Is there something not necessarily based on rsync? ftp, for example?

Andre.





2009/5/26 Christopher Vance cjsva...@gmail.com:

On Tue, May 26, 2009 at 9:55 AM, Alan L Tyree a...@austlii.edu.au
wrote:

I use unison: 
http://www.cis.upenn.edu/~bcpierce/unison/http://www.cis.upenn.edu/%7Ebcpierce/unison/

It claims to run on Windows, but I have no experience with that.

It does. I've used it on Ubuntu, Windows, OpenBSD, MacOS, and Solaris.

The biggest problem with Unison is that the protocol changes so
frequently that you may have difficulty finding precompiled versions
for your different operating systems which run compatible protocols.

It may be easier to compile from source, but then you'll need to have
ocaml compilers on the relevant machines...

--
Christopher Vance


--
http://fragfest.com.au


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html