On Thursday 23 November 2006 18:30, Nick Pierpoint wrote:
>Hello everyone.
>
>I'm looking for a way to automatically shutdown my computers on my small
>home network following a backup.
>
>i.e.
>
>1. Amanda completes backup run
>2. Backed-up clients shutdown
>3. Amanda server shutdown
>
>Thanks for any pointers.
The easiest way is to wrap amanda in a script, so that when amanda is
done, then the script runs a shutdown -h now as its final command.
I *think* this script will have to run as root in order to have access to
that command, which means that your amanda invocation will have to be in
the form of 'su amanda -c "amdump $configname"'
OTOH, have you considered the cost of the electricity to leave it running
vs the greatly shortened life of the hard drives with all those
powerdowns? My guess is that you are multiplying the chances of needing
to do a bare metal recovery by at least 10x by doing nightly shutdowns.
I have drives here that haven't been intentionally shut down for the last
8 years, but most are newer simply because I needed a bigger drive.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
|