[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rsnapshot in script



On Fri, Jun 25, 2004 at 11:41:55PM +0100, Roger Beever wrote:
> I have been using rsnapshot for a while and would like to put it in a
> script to help automate things a bit more but I'm not up in scripting at
> all.
> The script would call rsnapshot hourly (name of the routine not
> literally every hour).
> But the real stopper is the how to respond in the script to the password
> request.

Since rsnapshot can tunnel over ssh, I'm assuming this is what you're
using.  Set up ssh keys since you don't have to answer a password - this
is much safer than hardcoding a password in a script.

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts ewilts org
Member #1, Red Hat Community Ambassador Program



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]