Archive:Shutdown after backup (POST Process): Difference between revisions

From SEPsesam
No edit summary
No edit summary
Line 1: Line 1:
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.
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:-)
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.
In the first step - add a POST Process to the backup task.

Revision as of 08:38, 11 July 2008

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.)