[wplug] Amanda Backup
Brian Medley
bpm-list-wplug at 4321.tv
Sun Mar 30 14:34:27 EST 2003
On Sun, Mar 30, 2003 at 07:58:39AM -0500, James LaSalle wrote:
> I want to backup Windows directories on a Linux box. At first it
> appeared there was an rsync for Windows but this is not the case. Most
This is not true. I am running Windows 98 inside of Win4Lin (an excellent
product, btw) and have rsync running over ssh in it. I believe these
utilities will also work on NT/2000 (and maybe XP), but I have not tested
on these platforms.
First download and install this:
http://lexa.mckenna.edu/sshwindows/download/releases/3.5/openssh35-20030324.zip
Now download and place rsync.exe into the directory you installed openssh
in:
http://www.freesoft.org/software/rsync/rsync.exe
Open up a command prompt and:
c:> cd c:\progra~1\openssh\bin
c:> mkdir ..\etc
c:> mkgroup -l >> ..\etc\group
c:> mkpasswd -l -u username >> ..\etc\passwd
c:> notepad ..\etc\passwd
Change the /home/<user> to .
c:> ssh-keygen -b 1024 -t rsa
Now copy .ssh\id_rsa.pub to ~/.ssh/authorized_keys2 on your linux box
Now try to login to your computer. The first time you login you should
be asked to store the host key, you have todo this. You will have to
get the login process to automatically log you in w/o displaying
anything to the screen. You can use the first command below to log
you into your linux box and the second command to verify that no
output is displayed. You may have to modify permissions on ~/.ssh
and ~/.ssh/authorized_keys2 on your linux box.
c:> ssh <user>@<linux computer>
c:> ssh <user>@<linux computer> /bin/true
Next run rsyc
c:> rsync -e ".\ssh" -avr <local path> <user>@<linux box>:<remote path>
--
~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/ (___) \|/ _,.-=~'`^`
Brian Medley @~./'O o`\.~@
"Knowledge is Power" brian.medley at verizon.net /__( \___/ )__\ *PPPFFBT!*
-- Francis Bacon `\__`U_/'
_,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|' ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`
More information about the wplug
mailing list