Shawn Haggett [EMAIL PROTECTED] writes:
Roger Mason wrote:
I have passwordless ssh between mymachine and backup_machine and the
rsync command in the crontab runs perfectly from the command line.
Does someone know what else needs to be done to get this (seemingly
simple!) task to work?
On Mon, 2007-11-05 at 07:34 -0330, Roger Mason wrote:
Shawn Haggett [EMAIL PROTECTED] writes:
Roger Mason wrote:
I have passwordless ssh between mymachine and backup_machine and the
rsync command in the crontab runs perfectly from the command line.
Does someone know what else needs
W.Kenworthy [EMAIL PROTECTED] writes:
Roger Mason wrote:
I have passwordless ssh between mymachine and backup_machine and the
rsync command in the crontab runs perfectly from the command line.
Does someone know what else needs to be done to get this (seemingly
simple!) task to work?
Hi Richard,
Richard Ruth [EMAIL PROTECTED] writes:
Try adding -e ssh to your rsync command.
Search for -e in the rsync man page for an example.
===
This is the crontab entry (in rmason's crontab):
0,15,30,45 * * * * rmason /usr/bin/rsync -av /home/rmason
Am Samstag, 3. November 2007 schrieb Roger Mason:
Hello,
I'm trying to use rsync to back up my home directory on mymachine to
another machine (backup_machine) using a cron job.
Which cron?
This is the crontab entry (in rmason's crontab):
0,15,30,45 * * * * rmason /usr/bin/rsync -av
On Sunday 04 November 2007, Roger Mason wrote:
Thanks for the reply. Unfortunately that did not work, the same error
ocurs.
This may not be applicable, but I run rdiff-backup from cron on many machine
with no problems at all. It uses librsync, so may be of interest to you.
I have done a similar thing at work, except what I do is first create an
ssh tunnel, then rsync to the locally listening port. Works perfectly.
In my setup the remote server is running an SSH server which is not
accessible directly. Maybe this will help you.
#!/bin/bash
SSL_COMMAND=ssh -p
Hi Dirk,
Dirk Heinrichs [EMAIL PROTECTED] writes:
Am Samstag, 3. November 2007 schrieb Roger Mason:
Hello,
I'm trying to use rsync to back up my home directory on mymachine to
another machine (backup_machine) using a cron job.
Which cron?
vixie-cron
This is the crontab entry (in
Hi Steve,
Steve Dommett [EMAIL PROTECTED] writes:
On Sunday 04 November 2007, Roger Mason wrote:
Thanks for the reply. Unfortunately that did not work, the same error
ocurs.
This may not be applicable, but I run rdiff-backup from cron on many machine
with no problems at all. It uses
Hi Ralph,
Ralph Slooten [EMAIL PROTECTED] writes:
I have done a similar thing at work, except what I do is first create
an ssh tunnel, then rsync to the locally listening port. Works
perfectly. In my setup the remote server is running an SSH server
which is not accessible directly. Maybe
On Sunday 04 November 2007, Roger Mason wrote:
Did you have to do anything special to make it work from cron?
No, but then the crontab entry is simply:
47 4 * * * /root/backup.sh
The backup.sh is essentially:
rdiff-backup \
--print-statistics \
--exclude /mnt \
--exclude /dev \
Please, please, please do not top-post. :(
Be lucky,
Neil
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
[EMAIL PROTECTED] mailing list
Roger Mason wrote:
I have passwordless ssh between mymachine and backup_machine and the
rsync command in the crontab runs perfectly from the command line.
Does someone know what else needs to be done to get this (seemingly
simple!) task to work?
How have you setup the passwordless ssh? If
On Sunday 04 November 2007, Shawn Haggett wrote:
Roger Mason wrote:
How have you setup the passwordless ssh? If your using keys with the ssh
keyagent, then when the command is run in cron it wouldn't know where to
find your ssh-agent...
Shawn
I use a use a key with no password without
Hello,
I'm trying to use rsync to back up my home directory on mymachine to another
machine (backup_machine) using a cron job.
This is the crontab entry (in rmason's crontab):
0,15,30,45 * * * * rmason /usr/bin/rsync -av /home/rmason
backup_machine:mymachine_rmason
The logs on
Try adding -e ssh to your rsync command.
Search for -e in the rsync man page for an example.
===
This is the crontab entry (in rmason's crontab):
0,15,30,45 * * * * rmason /usr/bin/rsync -av /home/rmason
backup_machine:mymachine_rmason
I have passwordless ssh between
16 matches
Mail list logo