View previous topic :: View next topic |
Author |
Message |
haimat Apprentice
Joined: 05 Sep 2002 Posts: 239 Location: Vienna / Austria
|
Posted: Sun Sep 29, 2002 9:17 pm Post subject: rsync server [was: rsync w/o giving a password] |
|
|
Hi there,
I want to backup some files via rsync (over ssh) from one machine to another one. And because I want to do that in a cron job, I want to use the --password-file=... option.
But it seems that rsync does not use this option and still asks for a password (I get the same "error" if I try it with the RSYNC_PASSWORD variable).
Does anyone has an idea why this could be? Maybe cause of ssh?
Greetings, Matthias
Last edited by haimat on Sun Sep 29, 2002 11:20 pm; edited 1 time in total |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
|
Back to top |
|
|
haimat Apprentice
Joined: 05 Sep 2002 Posts: 239 Location: Vienna / Austria
|
Posted: Sun Sep 29, 2002 11:23 pm Post subject: |
|
|
Hello and thx for your answer. But I now want to try it with an rsync-server. I started the daemon with "rsync --daemon" as root with a minimal config under /etc/rsync/rsyncd.conf (only a module name, a path, and a comment).
But when I then try to rsync to this server from my client, I only get an error like this:
Code: | rsync: error writing 4092 unbuffered bytes - exiting: Broken pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(463)
|
In the logfile on the server I only get a
Code: | rsyncd[11935]: rsync to bkpitchy from ...
|
What could this be? Greetings, Matthias |
|
Back to top |
|
|
haimat Apprentice
Joined: 05 Sep 2002 Posts: 239 Location: Vienna / Austria
|
Posted: Mon Sep 30, 2002 3:26 pm Post subject: |
|
|
I searched a bit in the internet and the newsgroups. It seems that several people have a similar problem like me, but I found no solution.
Does really nobody knows a solution? Since Gentoos heart is portage which uses rsync there have to be many rsync gurus here...
Greetings, Matthias |
|
Back to top |
|
|
|