Amanda-Users

[Amanda-users] Pre/Post script in Amanda 2.5.1 - posible?

2009-04-08 07:41:34
Subject: [Amanda-users] Pre/Post script in Amanda 2.5.1 - posible?
From: Topper <amanda-forum AT backupcentral DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 08 Apr 2009 07:30:40 -0400
Don't found anything usefull bout this "script-base" so is this correct anyhow ?
define dumptype comp-user-tar-stop-start-mysql &#123;
&nbsp; &nbsp; user-tar
&nbsp; &nbsp; compress client fast
&nbsp; &nbsp; script &#123;
&nbsp; &nbsp; #&nbsp; &nbsp;"script-base"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp;# inherit config of the script-base script-tool
&nbsp; &nbsp; comment "Stops MySQL"
&nbsp; &nbsp; plugin&nbsp; "rcmysql-stop"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; # filename of the script, in the dumper dir
&nbsp; &nbsp; execute-where client&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; # server or client
&nbsp; &nbsp; execute-on&nbsp; &nbsp; pre-dle-backup
&nbsp; &nbsp; &#125;
&nbsp; &nbsp; script &#123;
&nbsp; &nbsp; #&nbsp; &nbsp;"script-base"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp;# inherit config of the script-base script-tool
&nbsp; &nbsp; comment "Starts MySQL"
&nbsp; &nbsp; plugin&nbsp; "rcmysql-start"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;# filename of the script, in the dumper dir
&nbsp; &nbsp; execute-where client&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; # server or client
&nbsp; &nbsp; execute-on&nbsp; &nbsp; post-dle-backup
&nbsp; &nbsp; property "mailto" "root"&nbsp; # can set arbitrary properties
&nbsp; &nbsp; &#125;
&#125;
Don't matter mysql or else just want to test it with less sensitive service for 
me

+----------------------------------------------------------------------
|This was sent by topper AT abv DOT bg via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------