Alike pre/post Job scripts
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.





