LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2004, 10:02 AM   #1
tapanga
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
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
 
Old 05-17-2004, 05:45 PM   #2
brentos
Member
 
Registered: Nov 2003
Distribution: Fedora Core3, RHEL3,4
Posts: 92

Rep: Reputation: 15
Just put root@192.168.1.2

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Using rsync to mirror data between servers david_ross LinuxAnswers Discussion 8 03-29-2012 01:37 AM
rsync as backup? ziggie216 Linux - Software 3 03-13-2005 02:22 PM
Problem with data backup using rsync and samba coolamit78 Linux - Networking 0 10-31-2004 09:01 AM
www mirror: is dnotify / rsync my best bet? GuitsBoy Linux - Software 2 01-27-2004 07:34 PM
rsync backup... tarballed Linux - Networking 10 06-27-2003 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration