Rsync to mirror data for backup - having difficulties
Hello
I have recently installed Mandrake Linux 9.1 on a new box so that I am able to make backups from an existing server.
I have followed all the how to regarding
"Using rsync to mirror data between servers" and I have managed to copy files from the main server to my freshly installed backup server. Although I did modify some of the instructions from the manual.
instead of
rsync -e ssh -avz --delete-after user@liveserver:/home /home
i used
rsync -e ssh -avz --delete-after 192.168.1.2:/home /home
I was also able to generate "Public Key authentication with ssh" but also by using the IP address instead of name resolution.
I guess I have not set up something important so that i am able to use name resolution as well as missing port trust from the backup server.
Here is what i'm getting:
ssh -vv root@filesever
openssh3.5pl, ssh protocols 1.5/2.0 openssl
debug1: reading configuration data /etc/ssh/ssh_config
debug1: applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted
debug1: ssh_connect : needpriv 0
ssh: fileserver : temporary failure in name resolution
Please tell me what I have forgotten to set up to make this work.
By goal is to figure out how to use cron to schedule hourly backups, but i need to be able to ssh with root@fileserver and not ssh 192.168.1.2
Thank you for you patience and help
|