hi guys plz ignore this mail! i have fixed my problems and everything works
fine!
special thx 2 guus
greets mark
8<------------------------cut-------------------------------------
hi guus,
thx 4 ur help! ur howto was pretty good! now i have a connection to the
client! i have decided the first option because the linux n00b thing! but i
don't understand ur last howto point (check the backuppc documentation on
how to make a <client>.pl)! i jumped over this point and had tryed to backup
the client (by the way: sorry 4 my bad english), but it dosn't functioning.
the cgi-webinterface reply the following error message:
errormessage: auth required, but service (servicename) is open/insecure
i know what it mean

! now i would ask u, which topic in the
documentation describes how to make a client.pl?
greetz mark
cut
8<--------------------------------------------------------------------------
----------
Hi,
hi guys,
how can i backup a linux client over rsyncd (windowsclient works fine).
the
clientos is debian with 2.6.4 kernel. rsync is installed on the client.
now
i need to know what i have to do to backup this client. i think i must
run
the rsyncd (deamon). but how can i do this (i am a linux n00b). i try to
backup the client but the webinterface reply the following errormessage:
no
ping response
i read somethink about, that i must to open a ssh or ssh2 Instructions.
could that be?
if that true can somebody explain me how i do this?
Ok, before you try to setup rsyncd or rsync over ssh, log in on your
backupserver and try to ping your client manually. Does that work?
If you are sure you're pinging the right address, is there a firewall
somewhere blocking icmp traffic? If only ping gets blocked, you could
change $Conf{PingPath} in /etc/backuppc/config.pl to '/bin/echo' so it
doesn't try to ping anymore.
If you've got that sorted out, proceed with one of the 2 options below.
You have 2 options (try option 2 first, it's the best for linux to linux):
1. run the rsync daemon (rsyncd)
- become root on the machine you want to run rsyncd on
- edit /etc/default/rsync. modify RSYNC_ENABLE from false to true
- copy the example rsyncd.conf from /usr/share/doc/rsync/examples to
/etc/rsyncd.conf
- edit the rsyncd.conf so it works for your setup. You can find good
documentation on this in Craigs helpfiles included in the cygwin-rsyncd
distribution of backuppc. Check the filessection of
backuppc.sourceforge.net for that.
- /etc/init.d/rsync start
- login on the server, become root
- check the backuppc documentation on how to make a <client>.pl file for
your client and /etc/init.d/backuppc reload (as root) to activate it.
2. run rsync over ssh
This is a lot more complex, but a lot more secure
See also the Documentation link in the webinterface of backuppc
- log in on your backupserver
- become root
- use ssh-keygen to generate a public key: ssh-keygen -t rsa -N '' - scp
/root/.ssh/id_rsa.pub to the machine you want to backup
- login on that machine, become root
- cd /root/.ssh
- edit <the file you just copied> so it starts like this:
from="<ip of your backupserver>" ssh-rsa
- echo <the file you just copied> >> /root/.ssh/authorized_keys
- chmod 600 /root/.ssh/authorized_keys
- edit /etc/ssh/sshd_config
modify 'PermitRootLogin no' to 'PermitRootLogin without-password'
- /etc/init.d/ssh restart
- log in on the backupserver, become root, su backuppc
- ssh root < at > <machine you want to backup> whoami
- This will ask a "do you trust this machine" question, say yes.
Then it should say "root". It should _not_ ask for a password!
- Do it again to make sure it says "root" without the question.
- check the documentation for how to make a <client>.pl file for your
clientmachine.
- as root, do /etc/init.d/backuppc reload to activate it.
thx 4 ur help
greetz Mark
I hope this helps!
Regards
Guus
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/