12 Apr
2001
12 Apr
'01
17:54
Ashley wrote:
I finally got bugzilla working at my job. I had to learn about mysql and apache to get anywhere, so it took me days. I'm working now on backup for the bugs database. I would like set up a cron job to use rsync over ssh to backup a dump of the bugs database to a backup host. What I don't understand is how to deal with passphases in a shell script. Or is there a better way to go about this? Any ideas?
There is an excellent book from o'reilly called "SSH, The Secure Shell: The Definitive Guide" http://www.oreilly.com/catalog/sshtdg/ In chapter 11. Case Studies you'll find : Unattended SSH: Batch or cron Jobs I think this is what you need... Unfortunately the book is not available online ;{ greets jan meyer