Re: Back up a Windows box w/o Samba?
Silvan wrote:
Here's the deal. Dad has two boxes. His computer, a WinME box, and Mom's new
computer, which is running Debian Sarge. She's learning how to use a
computer for the very first time, and learning Linux from day one. Kinda
cool. :)
He wants to back up about 10 MB of stuff to her computer periodically.
The trouble is Samba. I started setting that up, and it didn't take long
before I got sick to my stomach. I know it can be done because I've done it
before, but it just sucks. Everything about networking with Windows is
retarded.
Basically anything I could run on Cygwin and then wrap up in such a fashion
that Dad can click on and icon and have the process happen by magic. Better
still if I can get Cygwin to mail me (locally, or via SMTP) to let me know
how it's going.
OK: user-initiated transfer of files from (A) a WinME machine to (B) a
Debian Sarge machine.
Assuming they are both on the same local network, you don't have to
worry about saving bandwidth. And 10MB is not much. So unless you know
of a standard free rsync for Windows, just use the PuTTY package. Don't
bother with cygwin.
1. Install ssh daemon on (B).
2 Install PuTTY on (A).
3. Choose (3a) or (3b).
3a. Put .bat script on (A) to zip files, prompt for password, and
transfer files with command-line scp from PuTTY.
3b. Generate SSH keys. Put .bat script on (A) to zip files, and transfer
files with command-line scp from PuTTY.
4. Make shortcut on (A) to .bat script.
Bam!
dircha
Reply to: