LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Rsync to mirror data for backup - having difficulties (https://www.linuxquestions.org/questions/linux-newbie-8/rsync-to-mirror-data-for-backup-having-difficulties-158427/)

tapanga 03-16-2004 10:02 AM

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

brentos 05-17-2004 05:45 PM

Just put root@192.168.1.2

It comes to the same thing, not all servers have domain names.


All times are GMT -5. The time now is 07:45 AM.