QuroumSoft Knowledge Base

Alike pre/post Job scripts

Date Added December 23, 2009 | Print


Alike is able to trigger custom scripts both before and after a Job is run. 
Additionally, Alike will perform variable substitution for the parameters to your script, if desired.  The following variables may be added as arguments to your custom scripts:

%i   - This will be replaced with the Alike JobID
%t  -  The Job type being executed (0 = backup, 1=restore)
%n -  The name of the Job being executed
%s -  The status code from the job (only available in Post Job scripts).

So, for example, a Post Job Script  configured like this in the UI:
c:\scripts\postAlike.cmd %i %n

Would be converted to this when Alike runs the script:
c:\scripts\postAlike.cmd 27 "Nightly Guest Backup"


Also, the scripts will be run under the context of the account configured to run the BackupScheduler service.

Was this article helpful?

Yes No

Category: Alike Administration

Last updated on December 24, 2009 with 923 views

 



Create An Account »
Forgot Password? »

Visit our twitter page for XenServer Backup, VM Replication and other news!


Request Free 30 day Trial! »

Resources

Alike Adming guide for XenServer Backup and DR

Virtual Backup for XenServer Knowledge Base and troubleshooting

XenServer Backup and DR Partners and MSPs

alike™ Tech Sheet »
alike™ DR Tech Sheet »
Submit a Support Ticket »

Become a QuorumSoft Partner »
News »