SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
cron and rdiff-backup
Author Message
Post cron and rdiff-backup 
I have rdiff-backup installed working backing up a from one machine to another. However I must do it manually. I want to cron this so it happens automatically. I think I have the scheduling part w/ cron figured out. How do I script rdiff so that it will login to the remote machine with out pausing to ask for a password.

paul

Post cron and rdiff-backup 
On Mon, Apr 12, 2004 at 03:40:57PM -0600, Paul Steamboat wrote:
I have rdiff-backup installed working backing up a from one machine to another. However I must do it manually. I want to cron this so it happens automatically. I think I have the scheduling part w/ cron figured out. How do I script rdiff so that it will login to the remote machine with out pausing to ask for a password.

Read up on ssh keys, which will let you log in from one system to
another without logging in with a password. The readers digest version
goes something like this:
- run 'ssh-genkeys -t dsa', set up keys without passwords
- add your .ssh/id_dsa.pub contents to the .ssh/authorized_keys file on
the remote server
- you can now run 'ssh user < at > remotehost' and login without a password
- rdiff-backup won't prompt you anymore


alan

--
Alan <alan < at > ufies.org> - http://arcterex.net
--------------------------------------------------------------------
"There are only 3 real sports: bull-fighting, car racing and mountain
climbing. All the others are mere games." -- Hemingway

Post cron and rdiff-backup 
Use the ssh keys to provide the password less login.

Paul Steamboat wrote:
I have rdiff-backup installed working backing up a from one machine to
another. However I must do it manually. I want to cron this so it
happens automatically. I think I have the scheduling part w/ cron
figured out. How do I script rdiff so that it will login to the remote
machine with out pausing to ask for a password.

paul





------------------------------------------------------------------------

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://mail.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post cron and rdiff-backup 
On Mon, 12 Apr 2004, Paul Steamboat wrote:

I have rdiff-backup installed working backing up a from one machine to
another. However I must do it manually. I want to cron this so it
happens automatically. I think I have the scheduling part w/ cron
figured out. How do I script rdiff so that it will login to the remote
machine with out pausing to ask for a password.

http://arctic.org/~dean/rdiff-backup/unattended.html

-dean

Post cron and rdiff-backup 
I have all the great advice and the helpful websites and I am working on it.
I need to get some billable work done and will be back at it again this
afternoon.
One question, in the artic.org unattended.html they use "mirror" and
"primary" as the computer names, I am assuming that I need to substitute the
actual computer names or should I use the IPs?

thank again
paul


----- Original Message -----
From: "dean gaudet" <dean-list-rdiff-backup < at > arctic.org>
To: "Paul Steamboat" <wally < at > triphi.com>
Cc: "rdiff-backup-users" <rdiff-backup-users < at > nongnu.org>
Sent: Monday, April 12, 2004 4:46 PM
Subject: Re: [rdiff-backup-users] cron and rdiff-backup


On Mon, 12 Apr 2004, Paul Steamboat wrote:

I have rdiff-backup installed working backing up a from one machine to
another. However I must do it manually. I want to cron this so it
happens automatically. I think I have the scheduling part w/ cron
figured out. How do I script rdiff so that it will login to the remote
machine with out pausing to ask for a password.

http://arctic.org/~dean/rdiff-backup/unattended.html

-dean


Post cron and rdiff-backup 
substitute actual names.

you can name things whatever you want in your .ssh/config "Host foo"
line... it doesn't have to exist -- it just becomes a macro for use in ssh
commands... that's why i place a "Host primary-backup" line in there,
primary-backup doesn't exist as a dns name, but primary does (and hence
the "hostname primary" line in the config example).

-dean

On Tue, 13 Apr 2004, Paul Ackerman wrote:

I have all the great advice and the helpful websites and I am working on it.
I need to get some billable work done and will be back at it again this
afternoon.
One question, in the artic.org unattended.html they use "mirror" and
"primary" as the computer names, I am assuming that I need to substitute the
actual computer names or should I use the IPs?

thank again
paul


----- Original Message -----
From: "dean gaudet" <dean-list-rdiff-backup < at > arctic.org>
To: "Paul Steamboat" <wally < at > triphi.com>
Cc: "rdiff-backup-users" <rdiff-backup-users < at > nongnu.org>
Sent: Monday, April 12, 2004 4:46 PM
Subject: Re: [rdiff-backup-users] cron and rdiff-backup


On Mon, 12 Apr 2004, Paul Steamboat wrote:

I have rdiff-backup installed working backing up a from one machine to
another. However I must do it manually. I want to cron this so it
happens automatically. I think I have the scheduling part w/ cron
figured out. How do I script rdiff so that it will login to the remote
machine with out pausing to ask for a password.

http://arctic.org/~dean/rdiff-backup/unattended.html

-dean





_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://mail.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB