Archive:Shutdown after backup (POST Process)

From SEPsesam
Revision as of 07:36, 11 July 2008 by Hs (talk | contribs)

Green IT is new trend in the IT. It's often not necessary to run a computer all the time. After the backup a computer which is no longer needed, for example a desktop PC, can be shutdown. Therefore here you find the instruction how to shutdown a (Windows) PC after the backup. Green IT with SEP:-)

In the first step - add a POST Process to the backup task.

POST Tasks2.jpg

Now edit the responding sbc_post file. Choose in the SEP sesam GUI --> Configuration -> Interfaces -> 'Post' Interface

Choose the Computer from the list, e.g. Fallballa

Interfaces.jpg


Please add the following lines to the sbc_post file:

For Windows:

rem === Please insert your specific actions here =====================================
 
echo "shutdown -s -t 120"
shutdown -s -t 120

rem echo STATUS:ERROR {message}
echo STATUS:OK
exit


The first line "shutdown ...." is message which is written to the POST Log file during the backup.

For Linux add the command

shutdown -h -time 3 (SuSE 11.0 z.B.)