Generally using Samba on windows make backup via rsync much easier. With samba you can mount the remote file system into a local path and then simply rsync like it was a local directory. If the hosts are on the same local LAN, this is the way I would go. Yes, you simply tell Windows to share the directory. You will need to give it write permissions from a user that will be performing the operation. This the user that will be performing the mount. What the error logs from rsync very carefully. Windows doesn't support permissions like Linux and this can cause warnings.
If the hosts are across a public network, or one where you are concerned about prying eyes on your data, you can tunnel an rsync connection over SSH. The recommened way I have seen to do this is to use cwrsync on the Windows side, which is an adaptation of Cygwin. If you only need the windows machines SSH clients, you may be able to do this with putty. In this instance, I would look for some of the many how-to documents on rsync with ssh. Personally, I tried getting this to work between a Linux and Windows system and gave up and went the Samba approach.
You might also be able to use SSH to create a VPN tunnel and mount the samba volume over that. I have never tried it, but it should work. There is lots of documentation on VPN with SSH, which is where I would start.
Last edited by Noway2; 02-17-2011 at 05:28 AM.
Reason: added part about permissions
|