Thanks for the suggestion.
A wrapper (or part of the cron job) only handles part of the problem.
If the machine has a timeout, say 1 hour, then either solution will
allow the estimate to be performed, but the backup itself may fail if
it is more than 1 hour between the estimate and the backup.
Matt Hyclak <hyclak AT math.ohiou DOT edu> writes:
> On Thu, Nov 10, 2005 at 06:00:59PM -0800, Kevin Dalley enlightened us:
>> Some machines which I back up are occasionally put to sleep. I have a
>> few options:
>>
>> I could try hard to keep the machines from going to sleep, but any
>> user can put some of the machines to sleep.
>>
>> I could ignore the problem, and skip backing up machines which are
>> asleep.
>>
>> I could use wakeonlan to wake up all of the machines which are subject
>> to narcolepsy. My cron job could easily run wakeonlan for all of the
>> machines before amdump starts. This will usually make the estimates
>> run correctly. The dump itself may fail if the machines automatically
>> sleep. Both dump and estimate are subject to failure if people put the
>> machine to sleep, but this is probably less of a worry.
>>
>> Does amanda have a method of automatically running wakeonlan, or the
>> equivalent? What do other people do?
>
> Most people would either make it part of their cron job, or use a wrapper:
>
> http://www.amanda.org/docs/howto-wrapper.html
>
> Matt
>
> --
> Matt Hyclak
> Department of Mathematics
> Department of Social Work
> Ohio University
> (740) 593-1263
>
--
Kevin Dalley
kevin AT kelphead DOT org
|